  var _document = dojo.doc(); if(_document["selection"]){ var range = _document.selection.createRange(); range.moveToBookmark(bookmark); range.select(); }else{ var selection; try {selection = dojo.global().getSelection();} catch (e) {} if(selection && selection['removeAllRanges']){ selection.removeAllRanges() ; selection.addRange(bookmark) ; }else{ dojo.debug("No idea how to restore selection for this browser!"); } } }, 
  var _document = dojo.doc(); if(_document["selection"]){ var range = _document.selection.createRange(); range.moveToBookmark(bookmark); range.select(); }else{ var selection; try {selection = dojo.global().getSelection();} catch (e) {} if(selection && selection['removeAllRanges']){ selection.removeAllRanges() ; selection.addRange(bookmark) ; }else{ dojo.debug("No idea how to restore selection for this browser!"); } } }, 
	moveToBookmark: function(/*Object*/bookmark){		// summary: Moves current selection to a bookmark		// bookmark: this should be a returned object from dojo.html.selection.getBookmark()		var _document = dojo.doc();		if(_document["selection"]){ // IE			var range = _document.selection.createRange();			 range.moveToBookmark(bookmark);			 range.select();		}else{ //Moz/W3C			var selection;			try {selection = dojo.global().getSelection();}			catch (e) {}			if(selection && selection['removeAllRanges']){				selection.removeAllRanges() ;				selection.addRange(bookmark) ;			}else{				dojo.debug("No idea how to restore selection for this browser!");			}		}	},
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js