Maus positio

Wie kann ich unter Netscape die Maus-koordinaten abfragen ?

Hallo,

z.B. so, wenn bIsNs4/6 sowie bIsIE4/5 je nachdem mit welchem Browser der User surft - auf true oder false steht:

function moveHandler(evnt)
{
if (bIsNS4||bIsNS6) {
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
if (bIsIE4||bIsIE5) {
Xpos = window.event.x + window.document.body.scrollLeft;
Ypos = window.event.y + window.document.body.scrollTop;
}

window.status = „(“+Xpos+","+Ypos+")";
}

if (bIsNS4)
window.document.captureEvents(Event.MOUSEMOVE);

window.document.onmousemove = moveHandler;

BYE