How do I get the size of the browser window using Prototype.js version 1.6.0.3?
According to the Prototype API documentation:
var viewport = document.viewport.getDimensions(); // Gets the viewport as an object literal
var width = viewport.width; // Usable window width
var height = viewport.height; // Usable window height