document.writeln("	<div class=\"top a_white white a_noline\">");
document.writeln("    	<div class=\"top_left\"><a href=\"http:\/\/www.roamsky.net\/\">首页<\/a> - <a href=\"\/user\/log.htm\">登录<\/a> - <a href=\"\/user\/reg.htm\">注册<\/a> - <a href=\"\/criticism\/\">六艺点评<\/a> - <a href=\"\/original\/\">原创空间<\/a> - 帮助 - 地图 - <a href=\"javascript:window.external.addFavorite(\'http:\/\/www.roamsky.net\/\',\'漫天游-动漫游一族的家\')\">收藏<\/a><\/div>");
document.writeln("		<div class=\"top_right\">");
document.writeln("		<form method=\"get\" name=\"topForm\" id=\"topForm\" onSubmit=\"return topFormSubmit();\">");
document.writeln("		<table width=\"\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("		  <tr>");
document.writeln("			<td><input name=\"word\" type=\"text\" size=\"20\" maxlength=\"40\" value=\"请输入关键字\"");
document.writeln("            style=\"width:134px; height:14px; border:1px solid #b3cad3; padding:1px; background-color: #ddf4fd;\"");
document.writeln("            onFocus=\"if(this.value==\'请输入关键字\')this.value=\'\';\" onBlur=\"if(this.value==\'\')this.value=\'请输入关键字\';\" \/><\/td>");
document.writeln("			<td><select name=\"forum\" size=\"1\">");
document.writeln("			<option value=\"\">网络<\/option>");
document.writeln("			<option value=\"1\">本站<\/option>");
document.writeln("			<\/select><\/td>");
document.writeln("			<td><input type=\"image\" src=\"\/subject\/images\/top_submit.gif\" \/><\/td>");
document.writeln("		  <\/tr>");
document.writeln("		<\/table>");
document.writeln("        <input type=\"hidden\" name=\"q\" id=\"sbi\" \/>");
document.writeln("        <input type=\"hidden\" name=\"client\" value=\"pub-6466036758949270\"><\/input>");
document.writeln("        <input type=\"hidden\" name=\"forid\" value=\"1\"><\/input>");
document.writeln("        <input type=\"hidden\" name=\"ie\" value=\"GB2312\"><\/input>");
document.writeln("        <input type=\"hidden\" name=\"oe\" value=\"GB2312\"><\/input>");
document.writeln("        <input type=\"hidden\" name=\"safe\" value=\"active\"><\/input>");
document.writeln("        <input type=\"hidden\" name=\"cof\" value=\"GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1\"><\/input>");
document.writeln("        <input type=\"hidden\" name=\"hl\" value=\"zh-CN\"><\/input>");
document.writeln("        <input type=\"hidden\" name=\"as_sitesearch\" value=\"\"><\/input>");
document.writeln("		<\/form><\/div>");
document.writeln("	<\/div>");
function topFormSubmit() {
	var tf = document.getElementById("topForm");
	var word=(tf.word.value);
	if(word=="" || tf.word.value==null || word=="请输入关键字") {
		alert("请输入搜索关键字！");
		return false;
	}
	else if(tf.forum.value=="") {
		tf.action="http://www.google.com/custom";
		tf.target="_blank";
		tf.q.value=word;
	}
	else {
		tf.action="http://www.google.com/custom";
		tf.target="_blank";
		tf.q.value=word;
		tf.as_sitesearch.value="www.roamsky.net";
	}
}
