event.pageX and event.pageY undefined in IE7
<p>This is the onclick listener inside an a tag</p>

<pre><code>onclick="showMap('change-img-box',event); return false;"
</code></pre>

<p>This is the jquery</p>

<pre><code>function showMap(id,e){
var hpos = e.pageX, ypos = e.pageY; alert(hpos+'----'+ypos);
if($("#"+id).is(":visible")){
    $("#"+id).hide();
}else{
    $("#"+id).css({"top": ypos+10, "left": hpos+10}).hide().fadeIn(300);
}
}
</code></pre>

<p>Not sure why, but IE 7 says that both hpos and ypos are undefined. How can I fix this. Thanks in advance.</p>
