Window won't close in google chrome
<p>I try to implement the following code, this page will display when survey is completely submited and direct to this thankyou page, but I want this window close once it is being redirected.</p>

<pre><code>&lt;head&gt;
 &lt;script&gt;
    function load()
    {
      window.close();
    }           
 &lt;/script&gt;   

   &lt;!--[if IE]&gt;
    &lt;script src="http://html5shim.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
    &lt;![endif]--&gt;
  &lt;/head&gt;
  &lt;body onload="load()"&gt;
&lt;p id="thankyou"&gt;Thank you!&lt;/p&gt;
   &lt;/body&gt;
</code></pre>

<p>when I use google chrome to open it, it won't close, can anyone help me with it, I want it close automatically once the page is load, thanks in advance!</p>
