document.writeln("<SCRIPT language=javascript>");
document.writeln("<!--");
document.writeln("function Check_Form_Validator(theform)");
document.writeln("{");
document.writeln("if (theform.orderNum.value==\"\")");
document.writeln("{");
document.writeln("alert(\'请输入订单号！\');");
document.writeln("theform.orderNum.focus();");
document.writeln("return false;");
document.writeln("}");
document.writeln("if (theform.orderNum.value.length < 6)");
document.writeln("{");
document.writeln("alert(\'订单号请至少输入6个字符!\');");
document.writeln("theform.orderNum.focus();");
document.writeln("return (false);");
document.writeln("}");
document.writeln("");
document.writeln("var filter=\/^[0-9]{6}$\/");
document.writeln("if (filter.test(theform.orderNum.value)==0){");
document.writeln("alert(\'请输入合法的订单号（只能为6位数字）!\');");
document.writeln("theform.orderNum.focus();");
document.writeln("return false;");
document.writeln("}");
document.writeln("");
document.writeln("if (theform.email.value==\"\") {");
document.writeln("alert(\'请输入你EMAIL!\');");
document.writeln("theform.email.focus();");
document.writeln("return false;");
document.writeln("}");
document.writeln("}");
document.writeln("function Check_Form_Validator2(theform)");
document.writeln("{");
document.writeln("if (theform.username.value==\"\")");
document.writeln("{");
document.writeln("alert(\'请输入用户名！\');");
document.writeln("theform.username.focus();");
document.writeln("return false;");
document.writeln("}");
document.writeln("if (theform.username.value.length < 2)");
document.writeln("{");
document.writeln("alert(\'你的用户名请至少输入2个字符!\');");
document.writeln("theform.username.focus();");
document.writeln("return (false);");
document.writeln("}");
document.writeln("if (theform.username.value.length > 20){");
document.writeln("");
document.writeln("alert(\'你的用户名请不要大于20个字符!\');");
document.writeln("theform.username.focus();");
document.writeln("return (false);");
document.writeln("}");
document.writeln("");
document.writeln("if (theform.password.value==\"\") {");
document.writeln("alert(\'请输入密码!\');");
document.writeln("theform.password.focus();");
document.writeln("return false;");
document.writeln("}");
document.writeln("}");
document.writeln("");
document.writeln("\/\/-->");
document.writeln("<\/script>")