// JavaScript Document if(window.name != ""){ location.reload(); //window.name = "Bencalie"; window.name = ""; } else{ window.name = ""; } function resetBtn(fm){    fm.reset();   return false;   } function check() { if (document.form1.name.value.length<1) { alert("姓名不能为空!") document.form1.name.select(); return false; } if (document.form1.tel.value.length<1) { alert("电话不能为空!") document.form1.tel.select(); return false; } if (document.form1.passcode.value=="") { alert ("请输入您的验证码!"); document.form1.passcode.focus(); return(false); } window.name = "Bencalie"; document.form1.submit(); } function checks() { if (document.form1.tel.value.length<1) { alert("手机不能为空!") document.form1.tel.select(); return false; } if (document.form1.name.value.length<1) { alert("姓名不能为空!") document.form1.name.select(); return false; } if (document.form1.passcode.value=="") { alert ("请输入您的验证码!"); document.form1.passcode.focus(); return(false); } window.name = "Bencalie"; document.form1.submit(); }