title: enlarge image in new window - centered?
body: <p>enlarging an image in a new window when a user clicks on it. Here's the Javascript I used:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;SCRIPT language="JavaScript"&gt;
  &lt;!--
  
  function PopUp(pPage) {
  window.open(pPage,'popWin','resizable=yes,scrollbars=yes,width=580,height=460,toolbar=no');
  }
  
  //--&gt;
  &lt;/SCRIPT&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;A href="javascriptopUp('picture.jpg');"&gt;&lt;img src="thumbnail.jpg" alt="" border=0&gt;&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This has worked great for me but I need to have the large image in the new window centered. I've tried adding "align=center" to various parts of both the  part of the code as well as the  part of the code. Nothing has worked. </p>