﻿// JavaScript Document
function check()
{
if(document.myform.title.value==""){
    alert('请输入留言主题!');
	document.myform.title.focus();
	return false;
	}
if(document.myform.name.value==""){
    alert('请输入留言人!');
	document.myform.name.focus();
	return false;
	}
if(document.myform.tel.value==""){
    alert('请输入联系电话!');
	document.myform.tel.focus();
	return false;
	}
if(document.myform.email.value==""){
    alert('请输入E-Mail!!');
	document.myform.email.focus();
	return false;
	}
if(document.myform.content.value==""){
    alert('请输入留言内容!');
	document.myform.content.focus();
	return false;
	}		
return true;
	}	

function checkfaq()
{
if(document.myform.question.value==""){
    alert('请输入疑问内容!');
	document.myform.question.focus();
	return false;
	}
return true;
	}

function checkjob()
{
if(document.myform.name.value==""){
    alert('请输入姓名!');
	document.myform.name.focus();
	return false;
	}
if(document.myform.idcard.value==""){
    alert('请输入身份证号!');
	document.myform.idcard.focus();
	return false;
	}
if(document.myform.tel.value==""){
    alert('请输入联系电话!');
	document.myform.tel.focus();
	return false;
	}
if(document.myform.education.value==""){
    alert('请输入学历!!');
	document.myform.education.focus();
	return false;
	}
if(document.myform.profession.value==""){
    alert('请输入专业!');
	document.myform.profession.focus();
	return false;
	}	
if(document.myform.school.value==""){
    alert('请输入毕业院校!');
	document.myform.school.focus();
	return false;
	}
if(document.myform.graduatetime.value==""){
    alert('请输入毕业时间!');
	document.myform.graduatetime.focus();
	return false;
	}
if(document.myform.position.value==""){
    alert('请输入职位名称!');
	document.myform.position.focus();
	return false;
	}
if(document.myform.expertise.value==""){
    alert('请输入个人专长!!');
	document.myform.expertise.focus();
	return false;
	}
if(document.myform.experience.value==""){
    alert('请输入工作经验!');
	document.myform.experience.focus();
	return false;
	}		
	
return true;
	}