function cheack_join(){
	var form = document.joinform;

	if (form.names.value.replace(/ /g,"") == ""){
		alert("旅游景点名称不能为空");
		form.names.focus();
		return false;
		}
	if (form.names.value.replace(/ /g,"").length > 60){
		alert("旅游景点名称最长不可以超过60个字符");
		form.names.focus();
		return false;
		}
	
	if (form.quyu.value.replace(/ /g,"") == ""){
		alert("旅游景点位于连云港的地区");
		form.quyu.focus();
		return false;
		}
	if (isNaN(form.quyu.value.replace(/ /g,""))){
		alert("旅游景点区域必须填写成数字");
		form.quyu.focus();
		return false;
		}
	
	if (form.homes.value.replace(/ /g,"") == ""){
		alert("景点的地址不能为空,请填写旅游景点所处的位置,请详细到多少号.");
		form.homes.focus();
		return false;
		}
	if (form.homes.value.replace(/ /g,"").length > 65){
		alert("景点的地址太长了,最长不可以超过65个字符");
		form.homes.focus();
		return false;
		}
	
	if (form.jiaochong.value.replace(/ /g,"") == ""){
		alert("请填写景点的交通情况,比如说乘 那些公交车到达景点.");
		form.jiaochong.focus();
		return false;
		}
	if (form.jiaochong.value.replace(/ /g,"").length > 100){
		alert("景点交通情况填写的太多,只需要简单的填写 那些公交车到达景点\n\n比如填写: 1路,2路,3路,4路公交到达景点广场\n\n最长不可以超过100个字符");
		form.jiaochong.focus();
		return false;
		}
	
	if (form.phone.value.replace(/ /g,"") == ""){
		alert("请填写旅游景点的咨询电话,以便用户更好的得到服务");
		form.phone.focus();
		return false;
		}
	if (form.phone.value.replace(/ /g,"").length > 50){
		alert("旅游景点的咨询电话没有那么长,最长不可以超过50个字符");
		form.phone.focus();
		return false;
		}
	
	if (form.tickets.value.replace(/ /g,"") == ""){
		alert("请填写当前景点的门票价格,比如成人多少钱一人,儿童多少钱一人.");
		form.tickets.focus();
		return false;
		}
	if (form.tickets.value.replace(/ /g,"").length > 80){
		alert("门票价格只需要简短说明,比如成人多少钱一人,儿童多少钱一人,最长不可以超过80个字符");
		form.tickets.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个字符\n\n如果您还有其它要说明,可以发送到邮箱: lyglyw@qq.com ,我们的工作人员会为您更新相关的信息");
		form.games.focus();
		return false;
		}
	if (form.games.value.replace(/ /g,"").length < 10){
		alert("景点介绍太短了吧，景点介绍不应该只有这些吧？？？？");
		form.games.focus();
		return false;
		}	
	
	if (form.open_time.value.replace(/ /g,"") == ""){
		alert("请填写景点的开放时间,早上几点开门,晚上几点关门");
		form.open_time.focus();
		return false;
		}
	if (form.open_time.value.replace(/ /g,"").length > 60){
		alert("只需要简短说明 早上几点开门,晚上几点关门\n\n如果您还有其它要说明,可以写在上方的景点介绍中\n\n也可以发送到邮箱: lyglyw@qq.com ,我们的工作人员会为您更新相关的信息");
		form.open_time.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;
}
