rem:  var style = this.element.style; this.originalY = this.element.offsetTop  - this.currentTop()  - this.originalTop; this.originalX = this.element.offsetLeft - this.currentLeft() - this.originalLeft; this.offsetY =  event.clientY - this.originalY - this.originalTop; this.offsetX =  event.clientX - this.originalX - this.originalLeft;  
add: var pointer = [Event.pointerX(event), Event.pointerY(event)]; var offsets = Position.cumulativeOffset(this.element); this.offsetX =  (pointer[0] - offsets[0]); this.offsetY =  (pointer[1] - offsets[1]); 
context:   startDrag: function(event) {    if(Event.isLeftClick(event)) {      this.active = true;            var style = this.element.style;      this.originalY = this.element.offsetTop  - this.currentTop()  - this.originalTop;      this.originalX = this.element.offsetLeft - this.currentLeft() - this.originalLeft;      this.offsetY =  event.clientY - this.originalY - this.originalTop;      this.offsetX =  event.clientX - this.originalX - this.originalLeft;            Event.stop(event);    }  },
meta: 863	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/863/3f913f897829fb026ef98df2d57f8da94ee5339d/dragdrop.js/buggy/public/javascripts/dragdrop.js