 var bookmark; var _document = dojo.doc(); if(_document["selection"]){ var range = _document.selection.createRange(); bookmark = range.getBookmark(); }else{ var selection; try {selection = dojo.global().getSelection();} catch (e) {} if(selection){ var range = selection.getRangeAt(0); bookmark = range.cloneRange(); }else{ dojo.debug("No idea how to store the current selection for this browser!"); } } return bookmark; }, 
 var bookmark; var _document = dojo.doc(); if(_document["selection"]){ var range = _document.selection.createRange(); bookmark = range.getBookmark(); }else{ var selection; try {selection = dojo.global().getSelection();} catch (e) {} if(selection){ var range = selection.getRangeAt(0); bookmark = range.cloneRange(); }else{ dojo.debug("No idea how to store the current selection for this browser!"); } } return bookmark; }, 
	getBookmark: function(){		// summary: Retrieves a bookmark that can be used with moveToBookmark to return to the same range		var bookmark;		var _document = dojo.doc();		if(_document["selection"]){ // IE			var range = _document.selection.createRange();			bookmark = range.getBookmark();		}else{			var selection;			try {selection = dojo.global().getSelection();}			catch (e) {}			if(selection){				var range = selection.getRangeAt(0);				bookmark = range.cloneRange();			}else{				dojo.debug("No idea how to store the current selection for this browser!");			}		}		return bookmark;	},
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