title: Issue with window.close and chrome
body: <p>I'm trying to close a child window with JavaScript, and in Firefox everything works fine but in Chrome the window doesn't close.</p>
  <p>Here is what I'm using</p>
  <pre><code>$(document).ready(function() {
      if (window.opener &amp;&amp; !window.opener.closed)
          window.opener.location = &quot;http://www.website.com&quot;
      window.close();
  });
  </code></pre>
  <p>I tried a suggestion on <a href="http://www.google.com/support/forum/p/Chrome/thread?tid=23c03746e3aa03f9&amp;hl=en" rel="nofollow noreferrer">google</a>, but to no avail.</p>
  <p>Anyone having a similar issue or know of a work-around?</p>