title: open a window (aspx page) with one click + javascript
body: <p>I need to open a new window with a <strong>single click</strong>
  of an asp.net button. My problem is that it always takes two clicks.. if i write the open window
  code in the page load, then the window gets open on 1 click..
  any ideas how to get around this...</p>
  
  <p>Button Click Code :</p>
  
  <pre><code>btnClaim.Attributes.Add("Onclick","javascript:return OpenPopup()")
  </code></pre>
  
  <p>Javascript function : </p>
  
  <pre> <code> function OpenPopup()
  {
  window.open("newWindow.aspx?", "_blank", "height=500, width=575, left=150,
  top=150, " +
  "location=no, menubar=no, resizable=no, " +
  "scrollbars=no, titlebar=no, toolbar=no", true);
  } </code> </pre>