Drag and Drop Element Coordinates

If its information on raw javascript code you're after

www.quirksmode.org

Will also tell you wether your solution is crossbrowser