 var _window = dojo.global(); var _document = dojo.doc(); if(_document["selection"]){ return _document.selection.createRange().text == ""; }else if(_window["getSelection"]){ var selection = _window.getSelection(); if(dojo.lang.isString(selection)){ return selection == ""; }else{ return selection.isCollapsed || selection.toString() == ""; } } }, 
 var _window = dojo.global(); var _document = dojo.doc(); if(_document["selection"]){ return _document.selection.createRange().text == ""; }else if(_window["getSelection"]){ var selection = _window.getSelection(); if(dojo.lang.isString(selection)){ return selection == ""; }else{ return selection.isCollapsed || selection.toString() == ""; } } }, 
  isCollapsed: function() {    // summary: return whether the current selection is empty    var _window = dojo.global();    var _document = dojo.doc();    if(_document["selection"]){ // IE      return _document.selection.createRange().text == "";    }else if(_window["getSelection"]){      var selection = _window.getSelection();      if(dojo.lang.isString(selection)){ // Safari        return selection == "";      }else{ // Mozilla/W3        return selection.isCollapsed || selection.toString() == "";      }    }  },
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