javascript was working and now all javascripts being ignored?
<p>hi i have a page which i have a window auto close function in.
This was working fine, but now all of a sudden it's stopped working, whats more weird is i have cut and pasted javascript that i know works and completely cleared the contents of the page to see if any javascript will run in the page at all.</p>

<p>No matter what i do though the page just ignores javascript completely? Why is this?</p>

<p>The page is opened in a query pop up window, however this shouldn't affect anything, what i am trying to accomplish is the user opens the page and then the page auto closes after 3 seconds delay, this then closes the query window and refreshest he parent page.</p>

<p>but like i said its not doing anything, please can someone show me why. thanks</p>

<pre><code>&lt;?php ob_start(); ?&gt;
&lt;div class="login-frame-outer"&gt;
&lt;html&gt;
&lt;head&gt;


&lt;/head&gt;
&lt;body&gt;

&lt;?php
    $page_title = "Login";
    include('includes/headerframe.php');

?&gt;
&lt;div class="loginframe2"&gt;
&lt;h1&gt;&lt;strong&gt;Login You In Securely&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;login you in securely. Please wait.&lt;br/&gt;&lt;br/&gt;
&lt;div class="login-logo"&gt;
  &lt;img src="assets/css/photobox/loading.gif" width="24" height="24"&gt;&lt;div class="login-text-logo"&gt;Login You In. Please Wait&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;script language="JavaScript"&gt;
&lt;!--
window.close();
if (window.opener &amp;&amp; !window.opener.closed) {
window.opener.location.reload();
}
//--&gt;
&lt;/script&gt;

&lt;/body&gt;
&lt;/html&gt;
&lt;/div&gt;
</code></pre>
