 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/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js