title: Javascript popup not working
body: <p>Whats wrong with the below page?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
  function openWin(url, w, h)
  {
  var left = (screen.width/2)-(w/2);
  var top = (screen.height/2)-(h/2);
  w=window.open(url, '_blank', 'width='+w+', height='+h+', scrollbars=no, menubar=no, resizable=no, location=no, toolbar=no, top='+top+', left='+left+', 'false');
  w.focus();
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;input type="button" value="Open window" onclick="openWin(about:blank, 200, 200)" /&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Whenever I click the button nothing happens.</p>
  
  <p>Using chrome</p>