	function checkform(){
		if (document.frmLogin.account.value==""){
			alert("请输入用户帐号！");
			document.frmLogin.account.focus();
			return false;
		}
		if (document.frmLogin.identify.value==""){
			alert("识别码不能为空！");
			document.frmLogin.identify.focus();
			return false;
		}
		if (document.frmLogin.pass.value==""){
			alert("密码不能为空！");
			document.frmLogin.pass.focus();
			return false;
		}

		var identifystr=document.frmLogin.identify.value;
		//if (identifystr.substr(0,3)=="510"){
			//alert("尊敬的用户，家校通系统目前暂时关闭，若您有疑问，请拨打电话：0510-2821215,2829033咨询。谢谢！");
			//document.frmLogin.identify.focus();
			//return false;
		//}
		if (document.frmLogin.account.value.substr(0,2)=="80"){
			if (document.frmLogin.pass.value=="66666"){
				alert("您现在用的是初始密码，请通过语音系统修改密码后，再进入本系统！");
				return false;
			}
		}
		else{
			if (document.frmLogin.pass.value=="1111"){
				alert("您现在用的是初始密码，请通过语音系统修改密码后，再进入本系统！");
				return false;
			}
		}
		//window.frmLogin.action='http://www.s2p.cn/admin/login_process.asp';
		if (document.frmLogin.identify.value.substr(0,3)=="027"){
			window.frmLogin.action='http://202.103.30.28:8000/admin/login_process.asp';
		}
		else{
			if (identifystr=="E")
			{
				window.frmLogin.action='http://www.s2p.cn/admin/Expert_process.asp';
			}
			else{ 
				window.frmLogin.action='http://www.s2p.cn/application/login_exe.aspx';
			}		
		}

		return true;
		//window.frmLogin.target='_blank';
		//document.frmLogin.submit();
		//document.frmLogin.pass.value="";
		//document.frmLogin.identify.value="";
		//window.history.go(0)
		//document.location.href='/index.asp';
	}
	function ExitSesion(){
		document.location.href='/conn/login_Exit.asp';
	}
function CheckManagerLogin(){
		if (document.frmManagerLogin.ManagerAccount.value==""){
			alert("请输入用户帐号！");
			document.frmManagerLogin.ManagerAccount.focus();
			return false;
		}
		if (document.frmManagerLogin.ManagerPass.value==""){
			alert("密码不能为空！");
			document.frmManagerLogin.ManagerPass.focus();
			return false;
		}
		window.frmManagerLogin.action='/Application/ManagerLoginExe.asp';
		return true;
	}
