function checkdata1(){
	var User=document.login.j_username.value;
	var Passwd=document.login.j_password.value;
	if(User.length==0){
	 alert("请输入企业代号");
	 return false;
	}
	if(Passwd.length==0){
	 alert("请输入密码");
	 return false;
	}
	if(Passwd!=""){
		document.login.action="/jsp/infopublic/info_pub1/index.jsp";
		document.login.submit();
		//return true;
	}
	else {
		window.location="";
		return false;
	}
}

function goExposition(){
this.location='/jsp/exposition/index/index.jsp';
return true;
}

function gomail(){
this.location='http://mail.cctd.com.cn';
return true;
}

function goNav(){
this.location='/webhelpzx.htm';
return true;
}

function goSearch(){
this.location='/xxjszx.htm';
return true;
}

function delword(){
document.form_j.keyword.value="";
}

function checkdata2(){
	var User	= document.login1.j_username.value;
	var Passwd	= document.login1.j_password.value;
        var ProNo	= document.login1.htgl.value;
	if(User.length==0){
	 alert("请输入用户名");
	 return false;
	}
	if(Passwd.length==0){
	 alert("请输入密码");
	 return false;
	}
	if(ProNo == 8){	
		if(Passwd!=""){
			document.login1.action="/jsp/infopublic/info_pub1/index_coo.jsp";
			document.login1.submit();
			return true;
		}
		else {
			window.location="";
			return false;
		}
	} 
	return false;
}