Is there a way to figure out what is the current dimensions for the web browser window being used?
You could use JavaScript to get the size, and post that in a hidden form to the server.
i believe it is window.innerHeight and window.innerWidth