function hydl1(){
	if (!document.hy_dl1.zh.value.match(/^[A-Za-z]\w{0,19}$/)) {
		alert("帐号不正确！");
		document.hy_dl1.zh.focus();
		return false;
	}
	if (!document.hy_dl1.mm.value.match(/^\w{3,20}$/)) {
		alert("密码不正确！");
		document.hy_dl1.mm.focus();
		return false;
	}
	if (!document.hy_dl1.yzm.value.match(/^\w{4}$/)) {
		alert("验证码不正确！");
		document.hy_dl1.yzm.focus();
		return false;
	}
	return true;
}


function hyzc(){
	if (!document.hy_zc.zh.value.match(/^[A-Za-z]\w{0,19}$/)) {
		alert("帐号格式不正确！");
		document.hy_zc.zh.focus();
		return false;
	}
	if (!document.hy_zc.mm.value.match(/^\w{3,20}$/)) {
		alert("密码格式不正确！");
		document.hy_zc.mm.focus();
		return false;
	}

	if (!(document.hy_zc.mm.value==document.hy_zc.mm1.value)) {
		alert("两次输入的密码不一至！");
		document.hy_zc.mm1.focus();
		return false;
	}
	if (document.hy_zc.xm.value.length == 0) {
		alert("姓名不能为空！");
		document.hy_zc.xm.focus();
		return false;
	}


	if (document.hy_zc.dh.value.length == 0) {
		alert("电话不能为空!");
		document.hy_zc.dh.focus();
		return false;
	}

		return true;
}
