Screen JavaScript Tutorial

The availHeight property gets the available pixel height of the user's screen.
This height is minus any toolbar or any other "permanent" objects that may be on the user's screen.