Just a quick not to say the above is NOT compatible with IE5. Instead use:
Thanks!
Code:
document.onmouseover = function(e){
e = e || window.event;
targ = e.target || e.srcElement;
currcoords = targ.id;
alert(currcoords);
}
Comment