getConstraints: function() { if (this.constrainingContainer.nodeName.toLowerCase() == 'body') { var viewport = dojo.html.getViewport(); var width = viewport.width; var height = viewport.height; var x = 0; var y = 0; } else { var content = dojo.html.getContentBox(this.constrainingContainer); width = content.width; height = content.height; x = this.containingBlockPosition.x + dojo.html.getPixelValue(this.constrainingContainer, "padding-left", true) + dojo.html.getBorderExtent(this.constrainingContainer, "left"); y = this.containingBlockPosition.y + dojo.html.getPixelValue(this.constrainingContainer, "padding-top", true) + dojo.html.getBorderExtent(this.constrainingContainer, "top"); }  var mb = dojo.html.getMarginBox(this.domNode); return { minX: x, minY: y, maxX: x + width - mb.width, maxY: y + height - mb.height } }, 
},getConstraints:function(){ if(this.constrainingContainer.nodeName.toLowerCase()=="body"){ var _861=dojo.html.getViewport(); var _862=_861.width; var _863=_861.height; var x=0; var y=0; }else{ var _866=dojo.html.getContentBox(this.constrainingContainer); _862=_866.width; _863=_866.height; x=this.containingBlockPosition.x+dojo.html.getPixelValue(this.constrainingContainer,"padding-left",true)+dojo.html.getBorderExtent(this.constrainingContainer,"left"); y=this.containingBlockPosition.y+dojo.html.getPixelValue(this.constrainingContainer,"padding-top",true)+dojo.html.getBorderExtent(this.constrainingContainer,"top"); } var mb=dojo.html.getMarginBox(this.domNode); return {minX:x,minY:y,maxX:x+_862-mb.width,maxY:y+_863-mb.height}; },updateDragOffset:function(){ 
  getConstraints: function() {    if (this.constrainingContainer.nodeName.toLowerCase() == 'body') {      var viewport = dojo.html.getViewport();      var width = viewport.width;      var height = viewport.height;      var x = 0;      var y = 0;    } else {      var content = dojo.html.getContentBox(this.constrainingContainer);      width = content.width;      height = content.height;      x =        this.containingBlockPosition.x +        dojo.html.getPixelValue(this.constrainingContainer, "padding-left", true) +        dojo.html.getBorderExtent(this.constrainingContainer, "left");      y =        this.containingBlockPosition.y +        dojo.html.getPixelValue(this.constrainingContainer, "padding-top", true) +        dojo.html.getBorderExtent(this.constrainingContainer, "top");    }        var mb = dojo.html.getMarginBox(this.domNode);    return {      minX: x,      minY: y,      maxX: x + width - mb.width,      maxY: y + height - mb.height    }  },
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