function mouseXY(e)
{
if (navigator.appName!="Netscape")
{
mousex = window.event.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
mousey = window.event.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
}
if (navigator.appName=="Netscape")
{
mousex = e.pageX;
mousey = e.pageY;
}
//return true;
var arr = {'mx': mousex, 'my': mousey};
return (arr);
}
alert(mouseXY(e).['mx']); Не получается ((((