rem: mouseOffset = {x:(mousePosition.x - eltPos.x), y:(mousePosition.y - eltPos.y)}; 
add: mouseOffset = {x:(mousePosition.x - eltPos.x + parseInt(movingElt.style.marginLeft)), y:(mousePosition.y - eltPos.y + parseInt(movingElt.style.marginTop))}; 
context:   function moveElt(e)   {	log('moving');    var mousePosition = getMousePosition(e);    if (mouseOffset == null) {        // we are just starting to drag, so figure out the offset        eltPos = getEltPosition(movingElt);        mouseOffset = {x:(mousePosition.x - eltPos.x), y:(mousePosition.y - eltPos.y)};    } else {        movingElt.style.left = (mousePosition.x - mouseOffset.x) + "px";        movingElt.style.top = (mousePosition.y - mouseOffset.y) + "px";    }  }//end moveElt()
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/00044db8d5beef936d02447dfe7798e84c1e84dd/drag_n_drop.js/buggy/packages/calendar/page_templates/page_calendar/js/drag_n_drop.js