document.write("<script language=\"javascript\">");
document.write("function checkform() {");
document.write("    if (document.comment.username.value==\"\") {");
document.write("    	alert(\"请输入您的姓名！\");");
document.write("    	document.comment.username.focus();");
document.write("    	return false; }");
document.write("    if (document.comment.password.value==\"\") {");
document.write("    	alert(\"请输入您的密码！\");");
document.write("    	document.comment.password.focus();");
document.write("    	return false; }");
document.write("    if (document.comment.content.value==\"\") {");
document.write("    	alert(\"请输入您的评论！\");");
document.write("    	document.comment.content.focus();");
document.write("    	return false; }");
document.write("    return true; }");
document.write("</script>");
document.write("<table width=\"90%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=center>");
document.write("<form name=\"comment\" action=\"../comment.php\" method=\"POST\" onsubmit=\"return checkform();\">");
document.write("<tr><td width=\"12%\"><font style=\"font-size=9pt\">用 户：</font></td><td width=\"88%\"><input name=\"username\" type=\"text\" size=\"20\" maxlength=\"50\"></td></tr>");
document.write("<tr><td><font style=\"font-size=9pt\">密 码：</font></td><td  width=\"88%\"><input name=\"password\" type=\"password\" size=\"20\" maxlength=\"50\"></td></tr>");
document.write("<tr><td valign=\"middle\"><font style=\"font-size=9pt\">评 论：</font></td><td valign=\"top\"><textarea name=\"content\" cols=\"40\" rows=\"8\"></textarea></td></tr>");
document.write("<tr><td height=\"15\">&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;<input type=\"hidden\" name=\"aid\" value=\"42547\"><input type=\"hidden\" name=\"url\" value=\"\"><input type=\"hidden\" name=\"action\" value=\"add\">&nbsp;&nbsp;<input type=\"submit\" name=\"Submit\" value=\"发表评论\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=\"reset\" name=\"Reset\" value=\"重新填写\"></td></tr>");
document.write("</form></table>");
