Changed from the x and y event properties to pageX and pageY. This will give Firefox compatibility.