Close the window in firefox
<p>I want to close window. my script is working fine in ie and firefox 2.x but not working in firefox 3.x and above . i am using the following script.</p>

<pre><code>function closeWindow() {
    window.open('', '_self', ''); //bug fix
    window.close();    
}
</code></pre>

<p>Please find some solution. 
thanks to all.</p>
