why the page  refresh a time?
<pre><code>&lt;form method="get"  action="/" onsubmit="SubmitForm()"&gt;
&lt;input type="text" title="" value="" name="q" class="search-input" id="gsearch" /&gt;
&lt;input type="submit" value="" name="sa" id="search-button"/&gt;
&lt;/form&gt;
&lt;script type="text/javascript"&gt;
function SubmitForm(){
window.open("http://test.com/gsearch.php?cx=015214977:8tebxhu0mrk&amp;cof=FORID:11&amp;ie=GB2312&amp;as_q="+document.getElementById('gsearch').value);
return false;
}

&lt;/script&gt;
</code></pre>

<p>when i submit the button, the original page refresh a time. how to prevent it? thank you.</p>
