  if(dojo.doc()["selection"]){ if(dojo.html.selection.getType() == dojo.html.selectionType.CONTROL){ return null; } return dojo.doc().selection.createRange().htmlText; }else{ var selection = dojo.global().getSelection(); if(selection && selection.rangeCount){ var frag = selection.getRangeAt(0).cloneContents(); var div = document.createElement("div"); div.appendChild(frag); return div.innerHTML; } return null; } }, 
  if(dojo.doc()["selection"]){ if(dojo.html.selection.getType() == dojo.html.selectionType.CONTROL){ return null; } return dojo.doc().selection.createRange().htmlText; }else{ var selection = dojo.global().getSelection(); if(selection && selection.rangeCount){ var frag = selection.getRangeAt(0).cloneContents(); var div = document.createElement("div"); div.appendChild(frag); return div.innerHTML; } return null; } }, 
  getSelectedHtml: function(){    // summary:    //    Return the html of the current selection or null if unavailable    if(dojo.doc()["selection"]){ //IE      if(dojo.html.selection.getType() == dojo.html.selectionType.CONTROL){        return null;      }      return dojo.doc().selection.createRange().htmlText;    }else{      var selection = dojo.global().getSelection();      if(selection && selection.rangeCount){        var frag = selection.getRangeAt(0).cloneContents();        var div = document.createElement("div");        div.appendChild(frag);        return div.innerHTML;      }      return null;    }  },
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