getSelectedElement: function() {    if ( dojo.html.selection.getType() == dojo.html.selectionType.CONTROL ){ if(dojo.doc()["selection"]){ var range = dojo.doc().selection.createRange();  if ( range && range.item ){ return dojo.doc().selection.createRange().item(0); } }else{ var selection = dojo.global().getSelection(); return selection.anchorNode.childNodes[ selection.anchorOffset ]; } } }, 
},getSelectedElement:function(){ if(dojo.html.selection.getType()==dojo.html.selectionType.CONTROL){ if(dojo.doc()["selection"]){ var _81f=dojo.doc().selection.createRange(); if(_81f&&_81f.item){ return dojo.doc().selection.createRange().item(0); } }else{ var _820=dojo.global().getSelection(); return _820.anchorNode.childNodes[_820.anchorOffset]; } } },getParentElement:function(){ 
  getSelectedElement: function() {    // summary:     //    Retrieves the selected element (if any), just in the case that a single    //    element (object like and image or a table) is selected.    if ( dojo.html.selection.getType() == dojo.html.selectionType.CONTROL ){      if(dojo.doc()["selection"]){ //IE        var range = dojo.doc().selection.createRange();            if ( range && range.item ){          return dojo.doc().selection.createRange().item(0);        }      }else{        var selection = dojo.global().getSelection();        return selection.anchorNode.childNodes[ selection.anchorOffset ];      }    }  },
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