document.write("      <FORM onsubmit='return checkData()' name='myform' action='../search/' method='post'>");
document.write("      Search:<input name='key' type='text' class='search' id='key'>");
document.write("      <INPUT name='image' type=image src='images/go.gif' align='absmiddle' style='margin:1px 0 1px 10px;'>");
document.write("      </form>");

function checkData(){
    if(myform.key.value==""){
		alert("Please Input your keywords");
		myform.key.focus();
		return false;
	}
}
