<script>
<!--
document.onclick=click;
function click(){
var xpos=window.event.offsetX;
var ypos=window.event.offsetY;
var x=window.event.clientX;
var y=window.event.clientY;
var s="绝对横坐标:"+xpos+"绝对纵坐标:"+ypos;
var m="相对横坐标:"+x+"相对纵坐标:"+y;
alert(s);
alert(m)
}
-->
</script>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>