function checkform() {
		if ( !isEmail(document.applyForm.emailAddress.value) ) {
			alert("您的电子邮件地址格式错误！");
			document.applyForm.emailAddress.focus();
			return false;
		}
	}

	function isEmail( s ) {
		if (s.length > 50)
		return false;
		var regu="^(([0-9a-zA-Z]+)|([0-9a-zA-Z]+[_.0-9a-zA-Z-]*[_.0-9a-zA-Z]+))@([a-zA-Z0-9-]+[.])+([a-zA-Z]{2}|net|NET|com|COM|gov|GOV|mil|MIL|org|ORG|edu|EDU|int|INT)$";  
		var re = new RegExp(regu);
		if (s.search(re) != -1) {
			return true;
		} else {
			return false;
		}
	}

	function setTabMenu(i){//内容切换
    	switch(i){
    	 case 1:
           document.getElementById("TabMenuCon1").style.display="block";
           document.getElementById("TabMenuCon2").style.display="none";     	   
		   break;
		case 2:
           document.getElementById("TabMenuCon1").style.display="none";
           document.getElementById("TabMenuCon2").style.display="block";     	   
           break;
		case 3:
           document.getElementById("TabMenuCon3").style.display="block";
           document.getElementById("TabMenuCon4").style.display="none";     	   
           break;
		case 4:
           document.getElementById("TabMenuCon3").style.display="none";
           document.getElementById("TabMenuCon4").style.display="block";     	   
           break;
		case 5:
           document.getElementById("TabMenuCon5").style.display="block";
           document.getElementById("TabMenuCon6").style.display="none";		           	   
           break;
		case 6:
           document.getElementById("TabMenuCon5").style.display="none";
           document.getElementById("TabMenuCon6").style.display="block"; 		       	   
           break;
		case 7:
           document.getElementById("TabMenuCon7").style.display="block";
           document.getElementById("TabMenuCon8").style.display="none"; 		     	   
           break;	
		case 8:
           document.getElementById("TabMenuCon7").style.display="none";
           document.getElementById("TabMenuCon8").style.display="block"; 		     	   
           break;
		case 9:
           document.getElementById("TabMenuCon9").style.display="block";
           document.getElementById("TabMenuCon10").style.display="none"; 		     	   
           break;
		case 10:
           document.getElementById("TabMenuCon9").style.display="none";
           document.getElementById("TabMenuCon10").style.display="block"; 		     	   
           break;		   	   	   
		}
	}

	function convert_css(i){//风格切换
		switch(i){
		case 1:
           document.getElementById("csshref").href="images/wfds_0918_1.css"; 
           document.getElementById("hl01").src="images/wfds_0925_01.gif";  
           document.getElementById("hl02").src="images/wfds_0925_03.gif";
		   document.getElementById("hl02_1").src="images/wfds_0925_03.gif";
		   document.getElementById("hl02_2").src="images/wfds_0925_03.gif";  
           document.getElementById("hl03").src="images/wfds_0925_04.gif";  
           document.getElementById("hl04").src="images/wfds_0925_06.gif";           
           document.getElementById("hl07").src="images/wfds_0925_13.gif";  
           document.getElementById("hl08").src="images/wfds_0925_14.gif";  
           document.getElementById("hl09").src="images/wfds_0925_15.gif";  
           document.getElementById("hl10").src="images/wfds_0925_16.gif";  
           document.getElementById("hl11").src="images/wfds_0925_17.gif";  
           document.getElementById("hl12").src="images/wfds_0925_26.gif";  
           document.getElementById("hl13").src="images/wfds_0925_27.gif"; 
		   document.getElementById("hl13_1").src="images/wfds_0925_27.gif";
           document.getElementById("hl14").src="images/wfds_0925_28.gif"; 
           document.getElementById("hl15").src="images/wfds_0925_31.gif";  
           document.getElementById("hl16").src="images/wfds_0925_35.gif";
		   document.getElementById("hl16_1").src="images/wfds_0925_35.gif";  
		   document.getElementById("hl16_2").src="images/wfds_0925_35.gif";    
           document.getElementById("hl17").src="images/wfds_0918_84.gif";  
           document.getElementById("hl18").src="images/wfds_0918_85.gif";  
           document.getElementById("hl19").src="images/wfds_0925_36.gif";            
           document.getElementById("hl21").src="images/wfds_0925_39.gif";
           document.getElementById("hl22").src="images/wfds_0925_40.gif";  
           document.getElementById("hl23").src="images/wfds_0925_41.gif";            
		   break;
		case 2:
           document.getElementById("csshref").href="images/wfds_0918_2.css";
           document.getElementById("hl01").src="images/rwfds_0925_01.gif";  
           document.getElementById("hl02").src="images/rwfds_0925_03.gif";
		   document.getElementById("hl02_1").src="images/rwfds_0925_03.gif";
		   document.getElementById("hl02_2").src="images/rwfds_0925_03.gif";  
           document.getElementById("hl03").src="images/rwfds_0925_04.gif";  
           document.getElementById("hl04").src="images/rwfds_0925_06.gif";           
           document.getElementById("hl07").src="images/rwfds_0925_13.gif";  
           document.getElementById("hl08").src="images/rwfds_0925_14.gif";  
           document.getElementById("hl09").src="images/rwfds_0925_15.gif";  
           document.getElementById("hl10").src="images/rwfds_0925_16.gif";  
           document.getElementById("hl11").src="images/rwfds_0925_17.gif";  
           document.getElementById("hl12").src="images/rwfds_0925_26.gif";  
           document.getElementById("hl13").src="images/rwfds_0925_27.gif"; 
		   document.getElementById("hl13_1").src="images/rwfds_0925_27.gif";
           document.getElementById("hl14").src="images/rwfds_0925_28.gif"; 
           document.getElementById("hl15").src="images/rwfds_0925_31.gif";  
           document.getElementById("hl16").src="images/rwfds_0925_35.gif"; 
		   document.getElementById("hl16_1").src="images/rwfds_0925_35.gif";  
		   document.getElementById("hl16_2").src="images/rwfds_0925_35.gif"; 
           document.getElementById("hl17").src="images/rwfds_0918_84.gif";  
           document.getElementById("hl18").src="images/rwfds_0918_85.gif";  
           document.getElementById("hl19").src="images/rwfds_0925_36.gif";            
           document.getElementById("hl21").src="images/rwfds_0925_39.gif";
           document.getElementById("hl22").src="images/wfds_0925_40.gif";  
           document.getElementById("hl23").src="images/wfds_0925_41.gif";           	   
		   break;
		case 3:
           document.getElementById("csshref").href="images/wfds_0918_3.css"; 
           document.getElementById("hl01").src="images/bwfds_0925_01.gif";  
           document.getElementById("hl02").src="images/bwfds_0925_03.gif";
		   document.getElementById("hl02_1").src="images/bwfds_0925_03.gif";
		   document.getElementById("hl02_2").src="images/bwfds_0925_03.gif";   
           document.getElementById("hl03").src="images/bwfds_0925_04.gif";  
           document.getElementById("hl04").src="images/bwfds_0925_06.gif";           
           document.getElementById("hl07").src="images/bwfds_0925_13.gif";  
           document.getElementById("hl08").src="images/bwfds_0925_14.gif";  
           document.getElementById("hl09").src="images/bwfds_0925_15.gif";  
           document.getElementById("hl10").src="images/bwfds_0925_16.gif";  
           document.getElementById("hl11").src="images/bwfds_0925_17.gif";  
           document.getElementById("hl12").src="images/bwfds_0925_26.gif";  
           document.getElementById("hl13").src="images/bwfds_0925_27.gif"; 
		   document.getElementById("hl13_1").src="images/bwfds_0925_27.gif";
           document.getElementById("hl14").src="images/bwfds_0925_28.gif"; 
           document.getElementById("hl15").src="images/bwfds_0925_31.gif";  
           document.getElementById("hl16").src="images/bwfds_0925_35.gif";
		   document.getElementById("hl16_1").src="images/bwfds_0925_35.gif";  
		   document.getElementById("hl16_2").src="images/bwfds_0925_35.gif";   
           document.getElementById("hl17").src="images/bwfds_0918_84.gif";  
           document.getElementById("hl18").src="images/bwfds_0918_85.gif";  
           document.getElementById("hl19").src="images/bwfds_0925_36.gif";            
           document.getElementById("hl21").src="images/bwfds_0925_39.gif";
           document.getElementById("hl22").src="images/wfds_0925_40.gif";  
           document.getElementById("hl23").src="images/wfds_0925_41.gif";           		   
		   break;
		case 4:
           document.getElementById("csshref").href="images/wfds_0918_4.css"; 
           document.getElementById("hl01").src="images/gwfds_0925_01.gif";  
           document.getElementById("hl02").src="images/gwfds_0925_03.gif"; 
		   document.getElementById("hl02_1").src="images/gwfds_0925_03.gif";
		   document.getElementById("hl02_2").src="images/gwfds_0925_03.gif";   
           document.getElementById("hl03").src="images/gwfds_0925_04.gif";  
           document.getElementById("hl04").src="images/gwfds_0925_06.gif";            
           document.getElementById("hl07").src="images/gwfds_0925_13.gif";  
           document.getElementById("hl08").src="images/gwfds_0925_14.gif";  
           document.getElementById("hl09").src="images/gwfds_0925_15.gif";  
           document.getElementById("hl10").src="images/gwfds_0925_16.gif";  
           document.getElementById("hl11").src="images/gwfds_0925_17.gif";  
           document.getElementById("hl12").src="images/gwfds_0925_26.gif";  
           document.getElementById("hl13").src="images/gwfds_0925_27.gif"; 
		   document.getElementById("hl13_1").src="images/gwfds_0925_27.gif";
           document.getElementById("hl14").src="images/gwfds_0925_28.gif"; 
           document.getElementById("hl15").src="images/gwfds_0925_31.gif";  
           document.getElementById("hl16").src="images/gwfds_0925_35.gif"; 
		   document.getElementById("hl16_1").src="images/gwfds_0925_35.gif";  
		   document.getElementById("hl16_2").src="images/gwfds_0925_35.gif";  
           document.getElementById("hl17").src="images/gwfds_0918_84.gif";  
           document.getElementById("hl18").src="images/gwfds_0918_85.gif";  
           document.getElementById("hl19").src="images/gwfds_0925_36.gif";           
           document.getElementById("hl21").src="images/gwfds_0925_39.gif";
           document.getElementById("hl22").src="images/wfds_0925_40.gif";  
           document.getElementById("hl23").src="images/wfds_0925_41.gif";           	   
		   break;
		}
	}


		function glowit(which){//在线伺服闪烁文字
		if (document.all.glowtext[which].filters[0].strength==2)
		document.all.glowtext[which].filters[0].strength=1
		else
		document.all.glowtext[which].filters[0].strength=2
		}
	function glowit2(which){
		if (document.all.glowtext.filters[0].strength==2)
		document.all.glowtext.filters[0].strength=1
		else
		document.all.glowtext.filters[0].strength=2
		}
	function startglowing(){
		if (document.all.glowtext&&glowtext.length){
		for (I=0;I<glowtext.length;I++)
		eval('setInterval("glowit('+I+')",150)')
		}
		else if (glowtext)
		setInterval("glowit2(0)",150)
		}
		//if (document.all)
		//window.onload=startglowing