var node = dojo.byId(this.treeNode.labelNode); var mousey = e.pageY || e.clientY + dojo.body().scrollTop; var nodey = dojo.html.getAbsolutePosition(node).y; var height = dojo.html.getBorderBox(node).height; 
var node = dojo.byId(this.treeNode.labelNode); var mousey = e.pageY || e.clientY + dojo.body().scrollTop; var nodey = dojo.html.getAbsolutePosition(node).y; var height = dojo.html.getBorderBox(node).height; 
  getPosition: function(e, DNDMode) {    var node = dojo.byId(this.treeNode.labelNode);    var mousey = e.pageY || e.clientY + dojo.body().scrollTop;    var nodey = dojo.html.getAbsolutePosition(node).y;    var height = dojo.html.getBorderBox(node).height;    var relY = mousey - nodey;    var p = relY / height;    var position = ""; // "" <=> forbidden    if (DNDMode & dojo.widget.Tree.prototype.DNDModes.ONTO      && DNDMode & dojo.widget.Tree.prototype.DNDModes.BETWEEN) {      if (p<=0.3) {        position = "before";      } else if (p<=0.7) {        position = "onto";      } else {        position = "after";      }    } else if (DNDMode & dojo.widget.Tree.prototype.DNDModes.BETWEEN) {      if (p<=0.5) {        position = "before";      } else {        position = "after";      }    }    else if (DNDMode & dojo.widget.Tree.prototype.DNDModes.ONTO) {      position = "onto";    }    return position;  },
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