Very small javascript is not running on php page
<p>I have javascript working in similar pages, but for some reason this one page does not load the JS at all.  It's not that the code isn't working (it's just a few lines), but on my code debugger (using chromes "inspect element" feature) the javacsript isn't even registered as a script.  I suppose there is some issue in where I am placing it.</p>

<p>I have a header included at the top, then put the script immediately, as follows:</p>

<pre><code>&lt;? 
/* Include Files *********************/
require_once("common/header.php");
/*************************************/
?&gt;

&lt;script language="JavaScript" type="text/javascript"&gt;
    ClearSearch(){
        document.getElementById('search_q').value = '';
    }
&lt;/script&gt;
</code></pre>

<p>Lower in the page, I have a button that calls this function onclick:</p>

<pre><code>&lt;input type="submit" name="submit_search" value="Show All" onclick="javascript:ClearSearch();"&gt;
</code></pre>

<p>When I click the button, not only is the text box not cleared, but the javascript doesn't seem to run at all.  It's as if the script isn't being detected.  Any ideas?</p>
