The availWidth property gets the available pixel width of the user's screen.
This width 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 width of this user's screen is <b>"); document.write(screen.availWidth + '</b> pixels'); --> </script> </html>