How To Close Popup Window Automatically When Its Not In Use?
<p>I want a popup window to close automatically as soon as the user minimizes the window. My code is as follows:</p>

<pre><code>&lt;a href="#" onclick="Popup=window.open('fb.html','Popup','toolbar=no,location=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=620,height=400,left=230,top=23'); return false;"&gt;
</code></pre>

<p></p>

<p>any ideas?</p>
