function changetab1(num) {
     var con_xinwen = document.getElementById("con_xinwen");
     var con_zhuangxiu = document.getElementById("con_zhuangxiu");     
	  var con_hangye = document.getElementById("con_hangye");   
     var tit_xinwen = document.getElementById("tit_xinwen");
     var tit_zhuangxiu = document.getElementById("tit_zhuangxiu");
	 var tit_hangye = document.getElementById("tit_hangye");
     
     if (num == 1) {
         con_xinwen.style.display = "";
         con_zhuangxiu.style.display = "none";      
		 con_hangye.style.display = "none";       
         tit_xinwen.className = "tab02";
         tit_zhuangxiu.className = "tab01";     
		 tit_hangye.className = "tab01";   
     }
     if (num == 2) {
         con_xinwen.style.display = "none";
         con_zhuangxiu.style.display = "";      
		 con_hangye.style.display = "none";       
         tit_xinwen.className = "tab01";
         tit_zhuangxiu.className = "tab02";     
		 tit_hangye.className = "tab01";    
     }
	 if (num == 3) {
         con_xinwen.style.display = "none";
         con_zhuangxiu.style.display = "none";      
		 con_hangye.style.display = "";       
         tit_xinwen.className = "tab01";
         tit_zhuangxiu.className = "tab01";     
		 tit_hangye.className = "tab02";    
     }
 } 
 
 function changetab2(num) {
     var con_t1 = document.getElementById("con_t1");
     var con_t2 = document.getElementById("con_t2");     
	 var con_t3 = document.getElementById("con_t3");   
	 var con_t4 = document.getElementById("con_t4");  
	 var con_t5 = document.getElementById("con_t5");  
     var tit_t1 = document.getElementById("tit_t1");
     var tit_t2 = document.getElementById("tit_t2");
	 var tit_t3 = document.getElementById("tit_t3");
	 var tit_t4 = document.getElementById("tit_t4");
	 var tit_t5 = document.getElementById("tit_t5");
     
     if (num == 1) {
         con_t1.style.display = "";
         con_t2.style.display = "none";      
		 con_t3.style.display = "none";  
		 con_t4.style.display = "none";      
		 con_t5.style.display = "none";     
         tit_t1.className = "taocantab02";
         tit_t2.className = "taocantab01";     
		 tit_t3.className = "taocantab01";   
		 tit_t4.className = "taocantab01"; 
		 tit_t5.className = "taocantab01"; 
     }
     if (num == 2) {
         con_t1.style.display = "none";
         con_t2.style.display = "";      
		 con_t3.style.display = "none";  
		 con_t4.style.display = "none";      
		 con_t5.style.display = "none";     
         tit_t1.className = "taocantab01";
         tit_t2.className = "taocantab02";     
		 tit_t3.className = "taocantab01";   
		 tit_t4.className = "taocantab01"; 
		 tit_t5.className = "taocantab01"; 
     }
	 if (num == 3) {
         con_t1.style.display = "none";
         con_t2.style.display = "none";      
		 con_t3.style.display = "";  
		 con_t4.style.display = "none";      
		 con_t5.style.display = "none";     
         tit_t1.className = "taocantab01";
         tit_t2.className = "taocantab01";     
		 tit_t3.className = "taocantab02";   
		 tit_t4.className = "taocantab01"; 
		 tit_t5.className = "taocantab01"; 
     }
	 if (num == 4) {
         con_t1.style.display = "none";
         con_t2.style.display = "none";      
		 con_t3.style.display = "none";  
		 con_t4.style.display = "";      
		 con_t5.style.display = "none";     
         tit_t1.className = "taocantab01";
         tit_t2.className = "taocantab01";     
		 tit_t3.className = "taocantab01";   
		 tit_t4.className = "taocantab02"; 
		 tit_t5.className = "taocantab01"; 
     }
	 if (num == 5) {
         con_t1.style.display = "none";
         con_t2.style.display = "none";      
		 con_t3.style.display = "none";  
		 con_t4.style.display = "none";      
		 con_t5.style.display = "";     
         tit_t1.className = "taocantab01";
         tit_t2.className = "taocantab01";     
		 tit_t3.className = "taocantab01";   
		 tit_t4.className = "taocantab01"; 
		 tit_t5.className = "taocantab02"; 
     }
 } 
 
 function changetab3(num) {
     var con_xinwen = document.getElementById("con_xinwendetailpage");
     var con_zhuangxiu = document.getElementById("con_zhuangxiudetailpage");     
	  var con_hangye = document.getElementById("con_hangyedetailpage");   
     var tit_xinwen = document.getElementById("tit_xinwendetailpage");
     var tit_zhuangxiu = document.getElementById("tit_zhuangxiudetailpage");
	 var tit_hangye = document.getElementById("tit_hangyedetailpage");
     
     if (num == 1) {
         con_xinwen.style.display = "";
         con_zhuangxiu.style.display = "none";      
		 con_hangye.style.display = "none";       
         tit_xinwen.className = "tab02";
         tit_zhuangxiu.className = "tab01";     
		 tit_hangye.className = "tab01";   
     }
     if (num == 2) {
         con_xinwen.style.display = "none";
         con_zhuangxiu.style.display = "";      
		 con_hangye.style.display = "none";       
         tit_xinwen.className = "tab01";
         tit_zhuangxiu.className = "tab02";     
		 tit_hangye.className = "tab01";    
     }
	 if (num == 3) {
         con_xinwen.style.display = "none";
         con_zhuangxiu.style.display = "none";      
		 con_hangye.style.display = "";       
         tit_xinwen.className = "tab01";
         tit_zhuangxiu.className = "tab01";     
		 tit_hangye.className = "tab02";    
     }
 }
