function functxt()
{
	if(form1.query.value == "")
	{
		alert("Please enter some search text");
		return false;
	}
	document.form1.submit();
    return true;
}
document.write ('<form method="get" name="form1" action="search.php">')
document.write ('<img src="images/spacer.gif" width="150" height="1"><br clear=all>')
document.write ('<table border="0" cellspacing="0" cellpadding="2" height="100%">')
document.write ('<tr> ')
document.write ('<td align="center" colspan="2"><img src="images/search.gif"><img alt="" src="images/spacer.gif" width="30" height="1"></td>')
document.write ('</tr>')
document.write ('<tr> ')
document.write ('<td align="right"><input type="hidden" name="stype" value="OR"><input type="text" name="query" size="10" class="signup6"></td>')
document.write ('<td align="left"><input type="image" src="images/gobutton.gif" border="0" onclick="functxt();"></td>')
document.write ('</tr>')
document.write ('<tr> ')
document.write ('<td align="right"><a href="search1.php">advance search</a></td>')
document.write ('<td width="49"><a href="search1.php"><img src="images/button_w.gif" border="0"></a></td>')
document.write ('</tr>')
document.write ('</table>')