function inputChange(element,newClass)
{
	element.className=newClass;
}

document.writeln("				<div id=\"searchBox\">");
document.writeln("					<form method=\"post\" action=\"\/e\/search\/index.php\" name=\"mainSearch\">");
document.writeln("					<input type=hidden name=tempid value=\"1\" \/>");
document.writeln("					<input type=\"hidden\" name=\"tbname\" value=\"download\" \/>");
document.writeln("					<input  type=\"hidden\"  name=\"show\"  value=\"title,filetype\" \/>");
document.writeln("					<label class=\"padBox\"><input name=\"keyboard\" id=\"keyboard\" type=\"text\" value=\"请输入游戏关键词\" class=\"inputSearchOff\" onfocus=\"if(this.value==\'请输入游戏关键词\') this.value=\'\';if(!this._haschanged){this.value=\'\'};this._haschanged=true;inputChange( this, \'inputSearchOn\' )\" onblur=\"inputChange( this, \'inputSearchOff\' );if(this.value==\'\') this.value=\'请输入游戏关键词\';\"  \/>");
document.writeln("					<\/label><\/form>");
document.writeln("					<a href=\"\" onclick=\"window.document.forms.mainSearch.submit();return false;\"><b> &nbsp;搜 索<\/b><\/a>");
document.writeln("				<\/div>");
document.writeln("");
