Event.pointerY returns the vertical position of the mouse within the current browser window.
var yPos = Event.pointerY(event);
function showPosition(e) {
alert("Your mouse is at " + Event.pointerY(e) + "px");
}
Event.observe(document, "mousedown", showPosition, false);