


//学生表单检查————————————————————————————————————————
//注册0xia2005年5月25号
function reg_0_form_check(){
	if (document.reg_0_form.reg_username.value==""){
		window.alert("请填写用户名！");
		document.reg_0_form.reg_username.focus();
		return false;
	}
	if (document.reg_0_form.reg_userpassword.value==""){
		window.alert("请填写密码！");
		document.reg_0_form.reg_userpassword.focus();
		return false;
	}
	if (document.reg_0_form.reg_userpassword2.value==""){
		window.alert("请确认密码！");
		document.reg_0_form.reg_userpassword2.focus();
		return false;
	}
	if (document.reg_0_form.reg_userpassword2.value!=document.reg_0_form.reg_userpassword.value){
		window.alert("两次输入的密码不一致！");
		document.reg_0_form.reg_userpassword.focus();
		return false;
	}

}
function reg_m_form_check(){
	if (document.reg_m_form.m_oldkey.value==""){
		window.alert("请填写用户名！");
		document.reg_m_form.m_oldkey.focus();
		return false;
	}
	if (document.reg_m_form.m_userpassword.value==""){
		window.alert("请填写密码！");
		document.reg_m_form.m_userpassword.focus();
		return false;
	}
	if (document.reg_m_form.m_userpassword2.value==""){
		window.alert("请确认密码！");
		document.reg_m_form.m_userpassword2.focus();
		return false;
	}
	if (document.reg_m_form.m_userpassword2.value!=document.reg_m_form.m_userpassword.value){
		window.alert("两次输入的密码不一致！");
		document.reg_m_form.m_userpassword.focus();
		return false;
	}

}

//企业修改或注册基本信息
function xyzc_form_check(){
	if (document.xyzc_form.xyzc_username.value==""){
		window.alert("请填真实姓名！");
		document.xyzc_form.xyzc_username.focus();
		return false;
	}
	if (document.xyzc_form.xyzc_useryear.value==""){
		window.alert("请填写出生年！");
		document.xyzc_form.xyzc_useryear.focus();
		return false;
	}
	if (document.xyzc_form.xyzc_usermonth.value==""){
		window.alert("请填写出生月！");
		document.xyzc_form.xyzc_usermonth.focus();
		return false;
	}
	if (document.xyzc_form.xyzc_userday.value==""){
		window.alert("请填写出生日！");
		document.xyzc_form.xyzc_userday.focus();
		return false;
	}
	if (document.xyzc_form.xyzc_email.value==""){
		window.alert("请填写电子信箱！");
		document.xyzc_form.xyzc_email.focus();
		return false;
	}
	
	if (document.xyzc_form.xyzc_byear.value==""){
		window.alert("请填写在校开始年！");
		document.xyzc_form.xyzc_byear.focus();
		return false;
	}
	if (document.xyzc_form.xyzc_eyear.value==""){
		window.alert("请填写在校截至年！");
		document.xyzc_form.xyzc_eyear.focus();
		return false;
	}

}

//首页登陆


