	function AF(){
		window.external.AddFavorite("http://www.mintelcn.com","敏特英语学习官方网站");
	}

	function GetServer(){
		webValue = "" ;
		turnWeb = "" ;
		if(document.loginForm.username.value.length==0){
			alert("请您输入用户名！");
			return false;
		}
		if(document.loginForm.password.value.length==0){
			alert("请您输入密码！");
			return false;
		}
		var _userName=document.loginForm.username.value;
		switch(document.loginForm.webname.value){
				case "mint2007":
					if(_userName.substring(0,6)=="010xcr"){
						turnWeb = "http://211.157.109.72/Mintel/study/login.jsp?action=logon"  ;
						webValue = "mint2007" ;
						break;
					}else
					if(_userName.substring(0,6)=="010xxx"){
						turnWeb = "http://211.157.109.71/Mintel/study/index.jsp?action=logon"  ;
						webValue = "mint2007CHL" ;
						break;
					}else
					if(_userName.substring(0,7)=="0533xcr"){
						turnWeb = "http://218.56.105.75/Mintel/study/index.jsp?action=logon"  ;
						webValue = "zibo" ;
						break;
					}else
					if(_userName.substring(0,7)=="0591xcr"){
						turnWeb = "http://222.77.185.237/Mintel/study/index.jsp?action=logon"  ;
						webValue = "fuzhou" ;
						break;
					}else
					if(_userName.substring(0,7)=="0871xcr"){
						turnWeb = "http://www.ynminte.com/Mintel/study/login.jsp?action=logon"  ;
						webValue = "kunming" ;
						break;
					}else
					if(_userName.substring(0,6)=="010xgk"){
						turnWeb = "http://211.155.27.75/Mintel/study/index.jsp?action=logon"  ;
						webValue = "kunming" ;
						break;
					}else{
						alert("请确认您已经输入正确的用户名！")
						return false;
					}
				case "gaokao":
					turnWeb = "http://211.157.105.101/Mintel/study/index.jsp?action=logon"  ;
					webValue = "bainian" ;
					break;
				case "bainian":
					turnWeb = "http://211.157.105.113/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "bainian" ;
					break;
				case "beijing":
					turnWeb = "http://211.157.105.114/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "beijing" ;
					break;
				case "fuzhou":
					turnWeb = "http://222.77.185.237/Mintel/study/index.jsp?action=logon"  ;
					webValue = "fuzhou" ;
					break;
				case "shanghai":
					turnWeb = "http://211.157.105.114/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "shanghai" ;
					break;
				case "shenyang":
					turnWeb = "http://211.157.105.114/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "shenyang" ;
					break;
				case "shanxi":
					turnWeb = "http://202.99.219.215/Mintel/study/index.jsp?action=logon"  ;
					webValue = "shanxi" ;
					break;
				case "zibo":
					if(_userName.substring(0,7)=="0533xcr"){
						turnWeb = "http://218.56.105.75/Mintel/study/index.jsp?action=logon"  ;
						webValue = "zibo" ;
						break;
					}else{
						turnWeb = "http://218.56.105.71/Mintel/chinese/index.jsp?action=logon"  ;
						webValue = "zibo" ;
						break;
					}
				case "kunming":
					turnWeb = "http://www.mindelcn.com/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "kunming" ;
					break;
				case "guangzhou":
					turnWeb = "http://211.157.105.101/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "guangzhou" ;
					break;
				case "shenzhen":
					turnWeb = "http://210.21.214.195/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "shenzhen" ;
					break;
				case "wuhan":
					turnWeb = "http://mintel.e21.edu.cn/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "wuhan" ;
					break;
				case "nanjing":
					turnWeb = "http://218.94.31.8/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "nanjing" ;
					break;
				case "zhejiang":
					turnWeb = "http://211.157.105.114/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "zhejiang" ;
					break;
				case "chengdou":
					turnWeb = "http://61.188.39.97/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "chengdou" ;
					break;
				case "xian":
					turnWeb = "http://218.30.21.162/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "xian" ;
					break;
				case "weifang":
					turnWeb = "http://61.4.76.6/Mintel/chinese/index.jsp?action=logon"  ;
					webValue = "weifang" ;
					break;
				case "mianfei":
					alert("试用站服务器正在进行维护，给您的学习带来的不便敬请谅解，谢谢。");
					return false;
				case "chengrenshiyong":
					alert("试用站服务器正在进行维护，给您的学习带来的不便敬请谅解，谢谢。");
					return false;
				case "gaokaoshiyong":
					turnWeb = "http://211.155.27.75/Mintel/study/index.jsp?action=logon"  ;
					webValue = "gaokaoshiyong" ;
					break;
				case "shaoershiyong":
					turnWeb = "http://211.157.109.71/Mintel/study/index.jsp?action=logon"  ;
					webValue = "shaoershiyong" ;
					break;
				case "aoyunshiyong":
					turnWeb = "http://211.157.109.72/Mintel/study/login.jsp?action=logon"  ;
					webValue = "aoyunshiyong" ;
					break;
		}
		if(document.loginForm.username.value.length!=0 && document.loginForm.password.value.length!=0){
			document.loginForm.action = turnWeb ;
			return true;
		}
	}