how to get the browser window size without the scroll bars
<p>How to get the browser window size without the width and height of the scroll bars?</p>

<p>When I use this method, I'm playing with the width and height of the scroll bars to come up with 34. </p>

<pre><code>     var $windowW = ($(window).width() - 34);
     var $windowH = ($(window).height() - 34);
     alert($windowW + "  " + $windowH); // THe results are width 1440 and 745 height
     $("body").css("width", $windowW);
     $("body").css("height", $windowH);
     $("body").css("border","1px solid green");
</code></pre>
