moveToBookmark: function(/*Object*/bookmark){   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(_83c){ var _83d=dojo.doc(); if(_83d["selection"]){ var _83e=_83d.selection.createRange(); _83e.moveToBookmark(_83c); _83e.select(); }else{ var _83f; try{ _83f=dojo.global().getSelection(); } catch(e){ } if(_83f&&_83f["removeAllRanges"]){ _83f.removeAllRanges(); _83f.addRange(_83c); }else{ dojo.debug("No idea how to restore selection for this browser!"); } } },collapse:function(_840){ 
  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/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js