Using Javascript to resize browser window in IE8. Explanation mostly
<p>I have seen many examples on using javascript to resize a browser window, but for me they all fail to perform that function in IE.  I include my code to see if anything is wrong with it that I just don't see.  The code works great in FF but that is not used at my location.</p>

<p>I am no javaScript expert, but I am no slouch either.  If I were new to javaScript I would be hating it.  I'm sure it has something to do with IE but I cannot explain it.</p>

<p>Any help would be great.</p>

<p>CODE:</p>

<pre><code>  //window.sizeToContent();
  window.resizeTo(700, 700);
</code></pre>

<p>I read in the docs that sizeToContent will not work in IE but resize should.  It is an incredibly simple statement.</p>
