function chk(theForm)
{

  if (theForm.jname.value == "")
  {
    alert("请输入你的姓名");
    theForm.jname.focus();
    return (false);
  }

  if (theForm.jname.value.length > 20)
  {
    alert("在 姓名 中，请最多输入 20 个字符。");
    theForm.jname.focus();
    return (false);
  }

  if (theForm.jcsny_y.value == "")
  {
    alert("请将 出生年月 输入完整");
    theForm.jcsny_y.focus();
    return (false);
  }
  
  if (theForm.jcsny_m.value == "")
  {
    alert("请将 出生年月 输入完整");
    theForm.jcsny_m.focus();
    return (false);
  }
  
  if (theForm.jcsny_d.value == "")
  {
    alert("请将 出生年月 输入完整");
    theForm.jcsny_d.focus();
    return (false);
  }
  
  
  if (theForm.jmz.value == "")
  {
    alert("请输入 民族");
    theForm.jmz.focus();
    return (false);
  }
  
   
  if (theForm.jsfzh.value == "")
  {
    alert("请输入 身份证号");
    theForm.jsfzh.focus();
    return (false);
  }

  if (theForm.jsfzh.value.length < 15)
  {
    alert("身份证号，至少输入 15 个字符");
    theForm.jsfzh.focus();
    return (false);
  }
  
  if (theForm.jsxyz.value == "")
  {
    alert("请输入 所学语种");
    theForm.jsxyz.focus();
    return (false);
  }
  
  if (theForm.jxyzc.value == "")
  {
    alert("请输入 现有职称");
    theForm.jxyzc.focus();
    return (false);
  }
  
  if (theForm.jhkszd.value == "")
  {
    alert("请输入 户口所在地");
    theForm.jhkszd.focus();
    return (false);
  }
  
  if (theForm.jmqgzd.value == "")
  {
    alert("请输入 目前工作地");
    theForm.jmqgzd.focus();
    return (false);
  }
  
  
  if (theForm.jzgxl.value == "")
  {
    alert("请输入 最高学历");
    theForm.jzgxl.focus();
    return (false);
  }
  
  
  if (theForm.jsj.value == "")
  {
    alert("请输入 手机");
    theForm.jsj.focus();
    return (false);
  }
  
  if (theForm.jqtdh.value == "")
  {
    alert("请输入 其他电话");
    theForm.jqtdh.focus();
    return (false);
  }
  
  if (theForm.jjtdh.value == "")
  {
    alert("请输入 家庭电话");
    theForm.jjtdh.focus();
    return (false);
  }
	
  if (theForm.jemail.value == "")
  {
    alert("请输入Email!");
    theForm.jemail.focus();
    return (false);
  }
  else{
	    var str=theForm.jemail.value
		var filter=/^.+@.+\..{2,3}$/
		if (filter.test(str))
		{}
		else{
		alert("请输入合法的Email地址!");
		theForm.jemail.focus();
		return (false);
		}
  }
  
 
  if (theForm.jypgzdd.value == "")
  {
    alert("请输入 应聘工作地址");
    theForm.jypgzdd.focus();
    return (false);
  }
  
  if (theForm.jzwjs.value == "")
  {
    alert("请输入 自我介绍");
    theForm.jzwjs.focus();
    return (false);
  }

  return (true);
}
