// 首页脚本 Document

function ChangeDiv(sh){
	
	document.getElementById(sh).className = "top_new_menuli_ul_li"
	
	   	for(var i = 1; i < 12 ; i++){
	  	  
		  if(i == sh){
			  continue;
		  }
	document.getElementById(i).className = "top_new_menuli_ul_lin";	
		}
	
	var temp = sh * 10
	
	var num = new Array(0,20,30,40,50,60,80,110);
	
	var on = -1;
	
	for(var i = 0 ; i < num.length ; i++)
	{
		if(temp == num[i]){
			on = i;
			break;
		}
		
		}
		
	if(on != -1){
	
	document.getElementById(temp).className = "top_new_menu_kz"+temp
	
	   	for(var i = 0; i < num.length ; i++){
	  	  
		  if(num[i] == temp){
			  continue;
		  }
	document.getElementById(num[i]).className = "top_new_menu_kzn";	
		}
	}else
	{
	document.getElementById(0).className = "top_new_menu_kz";	
	}
}

function ChangeNewsDIV(on){
	
	document.getElementById(on).className = "nav_mid_li"
	
	   	for(var i = 1001; i < 1004 ; i++){
	  	  
		  if(i == on){
			  continue;
		  }
	document.getElementById(i).className = "nav_mid_lin";	
		}
	
	on = on * 10;

	var num = new Array(10010,10020,10030);
	
	for(var i = 0 ; i < num.length ; i++){
		if(on == num[i]){
			document.getElementById(num[i]).className = "nav_mid_content";
			continue;
		}
			document.getElementById(num[i]).className = "nav_mid_contentn";		
	}
}

function GetCount(on,last){
     
	   if(confirm(on)){
		  alert(last); 
	   }
}

function Show(on){
 alert(on);	
}
