	function checkform(){
		if(!checkBrowser())
		{
			if(confirm('你的IE版本过低，请下载IE6安装！否则有的功能将不能正常使用！')){
				document.location.replace("http://www.s2p.cn/DownLoad/IE6.zip");
				return false;
			}
		}
		if (document.getElementById("account").value==""){
			alert("请输入用户帐号！");
			document.getElementById("account").focus();
			return false;
		}

		if (document.getElementById("pass").value==""){
			alert("密码不能为空！");
			document.getElementById("pass").focus();
			return false;
		}
		if (document.getElementById("identify").value==""){
			if(document.getElementById("account").value.substring(0,2)=="95" && document.getElementById("account").value.length==8)
			{
				document.getElementById("frmLogin").action='Application/Login_Exe.aspx';
				return true;
			}
			else
			{
				alert("识别码不能为空！");
				document.getElementById("identify").focus();
				return false;
			}
		}
		var identifystr=document.getElementById("identify").value;
		//if (identifystr.substr(0,3)=="510"){
			//alert("尊敬的用户，家校通系统目前暂时关闭，若您有疑问，请拨打电话：0510-2821215,2829033咨询。谢谢！");
			//document.frmLogin.identify.focus();
			//return false;
		//}
		if (document.getElementById("account").value.substr(0,2)=="80"){
			if (document.getElementById("pass").value=="66666"){
				alert("你的密码为初始密码，不能使用网上功能。您可致电家校通语音电话，以帐号和初始密码进入后选择4号键进行更改或者直接按0转人工修改密码。");
				return false;
			}
		}
		else{
			if (document.getElementById("pass").value=="1111"||document.getElementById("pass").value=="111111"){
				alert("你的密码为初始密码，不能使用网上功能。您可致电家校通语音电话，以帐号和初始密码进入后选择4号键进行更改或者直接按0转人工修改密码。");
				return false;
			}
		}
		if (document.getElementById("identify").value.substr(0,3)=="028"){
			//window.frmLogin.action='http://202.103.30.28:8000/admin/login_process.asp';
			document.getElementById("frmLogin").action='http://www.s2p.cn/Application/Login_Exe.aspx';
		}
		else{
			if (identifystr=="E")
			{
				document.getElementById("frmLogin").action='admin/Expert_process.asp';
			}
			else{ 
				document.getElementById("frmLogin").action='Application/Login_Exe.aspx';
			}		
		}
		return true;
	}
	//浏览器验证 
	function checkBrowser() 
	{ 
		var narr;
		if(location.href.indexOf("localhost")>-1 || location.href.indexOf("192.168.3")>-1 ){
			return true;
		}
		narr=navigator.appVersion.split(";");
		for(var i=0;i<narr.length;i++)
		{
			if(narr[i].indexOf("MSIE")>-1)
			{
				if(parseFloat(narr[i].substr(6,narr[i].length))>=6)
				{
					return true;
					break;
				}
			}
		}
		return false; 
	} 	
	function ExitSesion(){
		document.location.href='/conn/login_Exit.asp';
	}

