FF:pageX,pageY
IE:window.event.clientX + document.body.scrollLeft - document.body.clientLeft,
window.event.clientY + document.body.scrollTop - document.body.clientTop
overflow:visible;
IE:window.event.clientX + document.body.scrollLeft - document.body.clientLeft,
window.event.clientY + document.body.scrollTop - document.body.clientTop
overflow:visible;
<script>
function getWidthHeight(id)
{
var imageNode = document.getElementById(id);
var imgWidth = imageNode.getAttribute("width");
var imgHeight = imageNode.getAttribute("height");
alert("image Width="+parseInt(imgWidth)+"image Height="+parseInt(imgHeight));
}
</script>