Javascript ScrollTop Function help
<p>i got the function below which popups up a window but fails to scroll the main page to the appropiate div height.</p>

<pre><code>function open_window(getDiv) 
{
var objDiv = document.getElementById(getDiv);
document.scrollTop = objDiv.scrollHeight;
new_window = open("http://www.mysite.com/","MySite","width=610,height=510,left=600,top=400");
new_window.focus();
}
</code></pre>
