title: function not working properly in chrome
body: <p>Hi I have a function that's working correcty in Firefox, but failing in chrome. It's supposed to open a test window, and <strong>IF</strong> successful, close the test and redirect the parent. I'm still getting into java. I understand there are differences in how browsers interpret JS, just not sure why in this instance, chrome is redirecting the parent window even if the child "testWindow" is not created (e.g.). I'd apprecitate your comments</p>
  
  <p>thanks 
  Gillian</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function openwindow(){
      testWindow =    window.open("popup.php","interaction");
      if(testWindow){ 
          setTimeout(function() { testWindow.close(); },1000);
          setTimeout(function() { window.parent.location = "http://www.google.com"; },1000);
      }
  }
  &lt;/script&gt;
  </code></pre>