document.write("<style>");
var SearchType
if(SearchType==1){
	document.write(".Gsearch_dh{background:url(/images/sc04.gif) no-repeat; height:37px;text-align:left; margin-bottom:6px; width:980px; padding-top:1px; }");	
}else{
	document.write(".Gsearch_dh{background:url(/images/sc02.gif) no-repeat; height:37px;text-align:left; margin-bottom:6px; width:775px; padding-top:1px; }");
}
document.write(".Gsearch_clear{clear:both;}");
document.write("*+ html .Gsearch_clear{display:inline}");
document.write("* html .Gsearch_clear{display:inline}");
document.write(".Gsearch_left{float:left;font-size:12px; font-family:Arial, Helvetica, sans-serif;}");
document.write("#q{font-size: 12px;border:0px;background-position: center center;height:18px;padding-left:4px;padding-top:4px;margin-top:4px;padding-bottom:0px;width:267px;}");
document.write("#Gchange_tj{width:14px;height:14px; background:#FFF;padding-top:3px;padding-bottom:5px;padding-right:9px;cursor:pointer;background:url(/images/css01.gif) repeat-y -283px;margin-top:6px;margin-right:10px;}");
document.write("*+ html #Gchange_tj{padding-bottom:5px;margin-top:7px;}");
document.write("* html #Gchange_tj{padding-bottom:4px;padding-right:8px;margin-top:7px;}");
document.write("#change_bk{width:294px;border:1px solid #666666; border-top:0px;background-color:#FFF;position:absolute;z-index:1;margin-left:106px;display:none;margin-top:0px;}");
document.write("#close{ text-align:right;text-decoration:underline;line-height:21px; font-size:12px;padding:0 3px;}");
document.write("#close a:visited , .close a:link {color:#0000FF;}");
document.write(".search_back{line-height:21px;font-size:12px;padding:0 3px; width:288px;}");
document.write("*+ html .search_back{ width:287px;}");
document.write("* html .search_back{width:287px;}</style>");


document.write("<div class=\"Gsearch_dh\" style=\"margin-bottom:10px;\">");
document.write("<form name=SearchForm id=SearchForm method=\"get\" action=\"\/search.do\">");
document.write("	<div class=\"Gsearch_left\" style=\"width:107px;\">&nbsp;</div>");
document.write("	<div class=\"Gsearch_left\" style=\"width:271px; padding-top:2px;\"><input name=\"q\" id=\"q\" type=\"text\" border=\"0\"></div>	");	
document.write("	<div class=\"Gsearch_left\" id=\"Gchange_tj\"\" ></div>");	
document.write("	<div class=\"Gsearch_left\" style=\"width:60px; padding-top:5px;\"><img src=\"/images/sc01.gif\" width=\"47\" height=\"24\" border=\"0\" style=\" vertical-align:bottom; cursor:pointer\" onclick=\"search_onclick()\" /></a></div>");
document.write("	<div class=\"Gsearch_left\" style=\"width:273px;padding-top:10px; padding-left:10px;\"><font color=\"#CCCCCC\"><strong>热门</strong>：</font>&nbsp;<span id=\"Hot_Key\"><\/span></div>");
document.write("	<div class=\"Gsearch_clear\"></div>");
document.write("	<div id=\"change_bk\"></div>");
document.write("</form>");
document.write("</div>");
document.writeln("<script language=\"javascript\" src=\"\/JS\/Hot_Key.JS\"><\/script>");


function GetObj(objName){
	if(document.getElementById){
		return eval('document.getElementById("' + objName + '")');
	}else if(document.layers){
		return eval("document.layers['" + objName +"']");
	}else{
		return eval('document.all.' + objName);
	}
}


function search_onclick(){
	var G_key=GetObj("q").value;
	if (G_key!=""){SearchForm.submit();}else{alert("请输入您要搜索的内容。");GetObj("q").focus();}
}

