how to use inline javascript code to auto center pop up window
<p>I have a in line javascript used in AJAX, would like to auto center when open, but make the change in the inline scriprt only. Is that possible? Here's my code:</p>

<pre><code>&lt;a href='javascript:void(0)' title='owner' onclick=\"window.open('owner.html','owner','height=320, width=300,location=no,scrollbars=yes')\ &gt;some text&lt;/a&gt;
</code></pre>
