title: Javascript setTimeout() and window functions
body: <p>The following JavaScript code runs in chrome, and results in the "background" window being resized to the my specifications:</p>
  
  <pre><code>var background;
  function play () {
      var w  = screen.width;
      var h  = screen.height;
      if( !background || background.closed ) background = window.open("background.html", "It's a pop-up!", "top="+ 100 +",left="+ 770 +",width="+ w/3 +",height="+ h/3 +",location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no");
      background.resizeTo(w,724);
  }
  </code></pre>
  
  <p>When I try to delay the resize function, however, the code breaks. Why does calling <code>setTimeout("background.resizeTo(w,724)",10000)</code> have no visible result?</p>