// JavaScript Document

// 验证表单

function search_from(){
	if(thisForm.subCatelog.value=='' && thisForm.jobLocation_c.value=='' && thisForm.keywords.value==''){
		alert("请选择搜索条件！");
		return false;
		}
	}
	


function seave_search(){
	
	if(thisForm.search_name.value==""){
		
		alert("请填写搜索器名称！");
		return false;
		
		}
	}
	
	
function use_search(){
	
	if(search_yq.search_name.value=="isnull"){
		
		alert("请选择搜索器！");
		return false;
		
		}
	}	
	
	
	
function check_jbzl(){
	
	if (thisForm.name.value==""){
		thisForm.name.style.background="#FDF2C1"
		thisForm.name.focus();
		alert("真实姓名必须填写！");
		
		return false;
		
		}


	if (thisForm.zhengjian.value==""){
		thisForm.zhengjian.style.background="#FDF2C1"
		thisForm.zhengjian.focus();
		alert("证件号码必须填写！");
		
		return false;
		
		}


	if (thisForm.resume.value==""){
		thisForm.resume.style.background="#FDF2C1"
		thisForm.resume.focus();
		alert("自我评价必须填写！");
		
		return false;
		
		}


	}	
	
	
	
	
	
function check_qzyx(){
	
	if(thisForm.real_name.value==""){
		
		alert("请先完善个人基本资料！");
		window.top.location.href="jbzl.asp"
		return false;
		
		}
		
	if(thisForm.educational.value==""){
		
		alert("请先完善教育技能！");
		window.top.location.href="jyjn.asp"
		return false;
		
		}		
	
	if (thisForm.jobSeeking1.value==""){
		thisForm.jobSeeking1.style.background="#FDF2C1"
		thisForm.jobSeeking1.focus();
		alert("请填写第一求职岗位！");
		
		return false;
		
		}
		

	if (thisForm.jobFunction1.value==""){
		thisForm.jobcatelog.style.background="#FDF2C1"
		thisForm.jobcatelog.focus();
		alert("请选择一项希望从事行业！");
		
		return false;
		
		}

	}	
	
	
function check_user(){
	
	
	if(form1.password.value!=form1.password2.value){
		
		form1.password2.style.background="#FDF2C1";
		form1.password2.focus();
		alert("两次密码输入不一致！")
		
		return false;
		}
	
	}
