window.open() not working in firefox to open new popup window using javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/726761/javascript-open-in-a-new-window-not-tab">JavaScript open in a new window, not tab</a>  </p>
</blockquote>



<p>Code</p>

<pre><code>&lt;asp:Button ID="btnPopupWindow" runat="server" 
        Text="Popup Window" 
        OnClientClick="PopupWindow();" /&gt;
</code></pre>

<p>JavaScript</p>

<pre><code>function PopupWindow() {
    testwindow = window.open("http://google.com", "Google", "menubar=0,addressbar=0, width=500, height=500");
    testwindow.focus();
}
</code></pre>

<p>Using above code i can open new popup window in IE, but this code is not working in the firefox.<br>
What is the problem with my code?</p>
