Javascript for removing menu and scroll bars
<p>I have this script on my html page:</p>

<pre><code>&lt;script language='javascript'&gt;parent.resizeTo(550,510);&lt;/script&gt;
</code></pre>

<p>I'd like to add to it so it positions the window in the middle of the screen. Also, I want to remove the address and tool bars (I've managed to hide the scrollbars by using <code>body{overflow:hidden;}</code>).</p>

<p>I know how to do this using JS upon opening a new window from the browser but this needs to work from clicking a link on a PDF.</p>

<p>Does anyone have any suggestions? Thank you!</p>
