Code:
mausy=(document.layers)?MouseEvent.pageY-(window.pageYOffset):event.y;
mausx=(document.layers)?MouseEvent.pageX-(window.pageXOffset):event.X;
document.all.divname.style.left = mausx;
document.all.divname.style.top = mausy;
Musste halt noch Multi-Browser Kompatibel machen...