Prototype extends the built-in
document object with several convenience
methods related to events.
document.viewportnamespace contains methods that return information about the viewport — the rectangle that represents the portion of a web page within view. In other words, it's the browser window minus all chrome.