onDragStart: function(e){ dojo.html.clearSelection();  this.scrollOffset = dojo.html.getScroll().offset; this.dragStartPosition = dojo.html.getAbsolutePosition(this.domNode, true);  this.dragOffset = {y: this.dragStartPosition.y - e.pageY, x: this.dragStartPosition.x - e.pageX};  this.dragClone = this.createDragNode();  this.containingBlockPosition = this.domNode.offsetParent ? dojo.html.getAbsolutePosition(this.domNode.offsetParent, true) : {x:0, y:0};  if (this.constrainToContainer) { this.constraints = this.getConstraints(); }   with(this.dragClone.style){ position = "absolute"; top = this.dragOffset.y + e.pageY + "px"; left = this.dragOffset.x + e.pageX + "px"; }  dojo.body().appendChild(this.dragClone);    dojo.event.connect(this.domNode, "onclick", this, "squelchOnClick");  dojo.event.topic.publish('dragStart', { source: this } ); }, 
},onDragStart:function(e){ dojo.html.clearSelection(); this.scrollOffset=dojo.html.getScroll().offset; this.dragStartPosition=dojo.html.getAbsolutePosition(this.domNode,true); this.dragOffset={y:this.dragStartPosition.y-e.pageY,x:this.dragStartPosition.x-e.pageX}; this.dragClone=this.createDragNode(); this.containingBlockPosition=this.domNode.offsetParent?dojo.html.getAbsolutePosition(this.domNode.offsetParent,true):{x:0,y:0}; if(this.constrainToContainer){ this.constraints=this.getConstraints(); } with(this.dragClone.style){ position="absolute"; top=this.dragOffset.y+e.pageY+"px"; left=this.dragOffset.x+e.pageX+"px"; } dojo.body().appendChild(this.dragClone); dojo.event.connect(this.domNode,"onclick",this,"squelchOnClick"); dojo.event.topic.publish("dragStart",{source:this}); },getConstraints:function(){ 
  onDragStart: function(e){    dojo.html.clearSelection();    this.scrollOffset = dojo.html.getScroll().offset;    this.dragStartPosition = dojo.html.getAbsolutePosition(this.domNode, true);    this.dragOffset = {y: this.dragStartPosition.y - e.pageY,      x: this.dragStartPosition.x - e.pageX};    this.dragClone = this.createDragNode();    this.containingBlockPosition = this.domNode.offsetParent ?       dojo.html.getAbsolutePosition(this.domNode.offsetParent, true) : {x:0, y:0};    if (this.constrainToContainer) {      this.constraints = this.getConstraints();    }    // set up for dragging    with(this.dragClone.style){      position = "absolute";      top = this.dragOffset.y + e.pageY + "px";      left = this.dragOffset.x + e.pageX + "px";    }    dojo.body().appendChild(this.dragClone);    // shortly the browser will fire an onClick() event,    // but since this was really a drag, just squelch it    dojo.event.connect(this.domNode, "onclick", this, "squelchOnClick");    dojo.event.topic.publish('dragStart', { source: this } );  },
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