context:   updateDrag: function(event, pointer) {    if(!this.dragging) this.startDrag(event);    Position.prepare();    Droppables.show(pointer, this.element);    Draggables.notify('onDrag', this, event);    this.draw(pointer);    if(this.options.change) this.options.change(this);        if(this.options.scroll) {      this.stopScrolling();            var p;      if (this.options.scroll == window) {        with(this._getWindowScroll(this.options.scroll)) { p = [ left, top, left+width, top+height ]; }      } else {        p = Position.page(this.options.scroll);        p[0] += this.options.scroll.scrollLeft;        p[1] += this.options.scroll.scrollTop;                p[0] += (window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0);        p[1] += (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0);                p.push(p[0]+this.options.scroll.offsetWidth);        p.push(p[1]+this.options.scroll.offsetHeight);      }      var speed = [0,0];      if(pointer[0] < (p[0]+this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[0]+this.options.scrollSensitivity);      if(pointer[1] < (p[1]+this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[1]+this.options.scrollSensitivity);      if(pointer[0] > (p[2]-this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[2]-this.options.scrollSensitivity);      if(pointer[1] > (p[3]-this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[3]-this.options.scrollSensitivity);      this.startScrolling(speed);    }        // fix AppleWebKit rendering    if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);        Event.stop(event);  },
meta: 4973	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4973/e321fea35b6ecd3ecdf4ed7662ff8917ab1af51f/dragdrop.js/buggy/src/dragdrop.js