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.
<html>
<script language="JavaScript1.2">
<!--
document.write("The available height of this user's screen is <b>");
document.write(screen.availHeight + '</b> pixels');
-->
</script>
</html>