function cheack_join(){
	var form = document.joinform;

	if (form.dy_name.value.replace(/ /g,"") == ""){
		alert("导游姓名不能为空");
		form.dy_name.focus();
		return false;
		}
	if (form.dy_name.value.replace(/ /g,"").length > 10){
		alert("导游姓名最长不可以超过10个字符");
		form.dy_name.focus();
		return false;
		}

	if (form.dy_z.value.replace(/ /g,"").length > 22){
		alert("导游证号 太长了，最长不可以超过22个字符");
		form.dy_z.focus();
		return false;
		}
	
	if (form.dy_sex.value.replace(/ /g,"") == ""){
		alert("请选择您的性别");
		form.dy_sex.focus();
		return false;
		}
	if (isNaN(form.dy_sex.value.replace(/ /g,""))){
		alert("性别格式不正确");
		form.dy_sex.focus();
		return false;
		}

	if (form.dy_ll.value.replace(/ /g,"") == ""){
		alert("年龄不能为空");
		form.dy_ll.focus();
		return false;
		}
	if (isNaN(form.dy_ll.value.replace(/ /g,""))){
		alert("年龄必须填写成数字");
		form.dy_ll.focus();
		return false;
		}
	if (form.dy_mz.value.replace(/ /g,"").length > 3){
		alert("年龄太长了，最长不可以超过3个字符");
		form.dy_mz.focus();
		return false;
		}
	
	if (form.dy_mz.value.replace(/ /g,"") == ""){
		alert("民族 不能为空");
		form.dy_mz.focus();
		return false;
		}
	if (form.dy_mz.value.replace(/ /g,"").length > 15){
		alert("民族 太长了，最长不可以超过15个字符");
		form.dy_mz.focus();
		return false;
		}
	
	if (form.dy_qq.value.replace(/ /g,"") == ""){
		alert("QQ 不能为空");
		form.dy_qq.focus();
		return false;
		}
	if (form.dy_qq.value.replace(/ /g,"").length < 4){
		alert("QQ 太短了，有这种QQ吗???");
		form.dy_qq.focus();
		return false;
		}
	if (form.dy_qq.value.replace(/ /g,"").length > 15){
		alert("QQ 太长了，最长不可以超过15个字符");
		form.dy_qq.focus();
		return false;
		}
	
	if (form.dy_email.value.replace(/ /g,"").length > 50){
		alert("Email 太长了，最长不可以超过50个字符");
		form.dy_email.focus();
		return false;
		}
	
	if (form.dy_dianhua.value.replace(/ /g,"") == ""){
		alert("联系电话不能为空");
		form.dy_dianhua.focus();
		return false;
		}
	if (form.dy_dianhua.value.replace(/ /g,"").length > 30){
		alert("联系电话太长了，最长不可以超过30个字符");
		form.dy_dianhua.focus();
		return false;
		}

	if (form.dy_dizi.value.replace(/ /g,"").length > 40){
		alert("联系地址太长了，最长不可以超过40个字符");
		form.dy_dizi.focus();
		return false;
		}
		
	if (form.dy_ptlx.value.replace(/ /g,"").length > 80){
		alert("其它联系方式太长了，最长不可以超过80个字符");
		form.dy_ptlx.focus();
		return false;
		}

	if (form.dy_wh.value.replace(/ /g,"") == ""){
		alert("请填写您的最高文化学历程度是什么,如,研究生,大学生等");
		form.dy_wh.focus();
		return false;
		}
	if (form.dy_wh.value.replace(/ /g,"").length > 30){
		alert("只需要要说明你的最高文化学历程度是什么,如,研究生,大学生等,最长不可以超过30个字符");
		form.dy_wh.focus();
		return false;
		}
	
	if (form.dy_yy.value.replace(/ /g,"") == ""){
		alert("请填写您所掌握的语言,比如说: 普通话几级,掌握英语,英语几级 等.");
		form.dy_yy.focus();
		return false;
		}
	if (form.dy_yy.value.replace(/ /g,"").length > 40){
		alert("只需要简短的描述您所掌握的语言，最长不可以超过40个字符");
		form.dy_yy.focus();
		return false;
		}

	if (form.dy_scxl.value.replace(/ /g,"") == ""){
		alert("请填写您所擅长的线路,以便让更多的人更好的找到你.");
		form.dy_scxl.focus();
		return false;
		}
	if (form.dy_scxl.value.replace(/ /g,"").length > 80){
		alert("只需要要简短的把擅长线路描述下,您现在描述的太长了，最长不可以超过80个字符");
		form.dy_scxl.focus();
		return false;
		}
	
	if (form.games.value.replace(/ /g,"") == ""){
		alert("个人介绍不能为空");
		form.games.focus();
		return false;
		}
	if (form.games.value.replace(/ /g,"").length > 800){
		alert("个人介绍太长了，最长不可以超过800个字符");
		form.games.focus();
		return false;
		}
	if (form.games.value.replace(/ /g,"").length < 10){
		alert("个人介绍太短了吧，你真的没有什么可以介绍的吗？？？？");
		form.games.focus();
		return false;
		}
	
	if (form.code.value.replace(/ /g,"") == ""){
		alert("验证码不能为空");
		form.code.focus()
		return false;
		}
	if (form.code.value.replace(/ /g,"").length != 4){
		alert("验证码不正确，验证码是 4 位数");
		form.code.focus();
		return false;
		}
		
return true;
}
