 var _window = dojo.global(); var _document = dojo.doc(); element = dojo.byId(element); if(_document.selection && dojo.body().createTextRange){ var range = dojo.body().createTextRange(); range.moveToElementText(element); range.select(); }else if(_window["getSelection"]){ var selection = _window.getSelection(); if(selection["setBaseAndExtent"]){ selection.setBaseAndExtent(element, 0, element, element.innerText.length - 1); } else if(selection["selectAllChildren"]){ selection.selectAllChildren(element); } } }, 
 var _window = dojo.global(); var _document = dojo.doc(); element = dojo.byId(element); if(_document.selection && dojo.body().createTextRange){ var range = dojo.body().createTextRange(); range.moveToElementText(element); range.select(); }else if(_window["getSelection"]){ var selection = _window.getSelection(); if(selection["setBaseAndExtent"]){ selection.setBaseAndExtent(element, 0, element, element.innerText.length - 1); } else if(selection["selectAllChildren"]){ selection.selectAllChildren(element); } } }, 
  selectElementChildren: function(/*DomNode*/element){    // summary: clear previous selection and select the content of the node (excluding the node itself)    var _window = dojo.global();    var _document = dojo.doc();    element = dojo.byId(element);    if(_document.selection && dojo.body().createTextRange){ // IE      var range = dojo.body().createTextRange();      range.moveToElementText(element);      range.select();    }else if(_window["getSelection"]){      var selection = _window.getSelection();      if(selection["setBaseAndExtent"]){ // Safari        selection.setBaseAndExtent(element, 0, element, element.innerText.length - 1);      } else if(selection["selectAllChildren"]){ // Mozilla        selection.selectAllChildren(element);      }    }  },
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