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