// JavaScript Document
function disWindows(objTr, objTd, num)
{
	var tempTr;
    this.tempTr = document.getElementsByName(objTr);
	
	var tempTd;
    this.tempTd = document.getElementsByName(objTd);
	
	if(num == 0){
		this.tempTr[0].style.display = "block";  

		this.tempTr[1].style.display = "none";
		
		this.tempTd[0].className = "font_14px_fffff";
		this.tempTd[0].background = "images/index_button_1.jpg";
		this.tempTd[0].style.width = 128;
		
		this.tempTd[1].className = "font_12_66666";
		this.tempTd[1].background = "images/index_button_2.jpg";
		this.tempTd[1].style.width = 100;
		
	}else{
		this.tempTr[0].style.display = "none";
		
		this.tempTr[1].style.display = "block";
		
		this.tempTd[1].className = "font_14px_fffff";
		this.tempTd[1].background = "images/index_button_1.jpg";
		this.tempTd[1].style.width = 128;
		
		this.tempTd[0].className = "font_12_66666";
		this.tempTd[0].background = "images/index_button_2.jpg";	
		this.tempTd[0].style.width = 100;
		
	}
	
	
}


/*
* 首页 新闻栏目的切页
**/
function disNewsWindows(objTitle, objList, num)
{
	var tempTitle;
    this.tempTitle = document.getElementsByName(objTitle);	
	
	var tempList;
    this.tempList = document.getElementsByName(objList);	
	
	if(num==0){
		this.tempList[0].style.display = "block";  	
		this.tempTitle[0].className = "font_006699_14px";
		this.tempTitle[0].background = "images/bg_news_index.jpg";
		//------
		
		this.tempList[1].style.display = "none";  	
		this.tempList[2].style.display = "none";
		
		this.tempTitle[1].className = "fontFFFFFF_14";
		this.tempTitle[1].background = "";
		this.tempTitle[2].className = "fontFFFFFF_14";
		this.tempTitle[2].background = "";
	}else if(num==1){
		this.tempList[1].style.display = "block";  	
		this.tempTitle[1].className = "font_006699_14px";
		this.tempTitle[1].background = "images/bg_news_index.jpg";
		//------
		
		this.tempList[0].style.display = "none";  	
		this.tempList[2].style.display = "none";
		
		this.tempTitle[0].className = "fontFFFFFF_14";
		this.tempTitle[0].background = "";
		this.tempTitle[2].className = "fontFFFFFF_14";
		this.tempTitle[2].background = "";		
		
    }else if(num==2){
		this.tempList[2].style.display = "block";  	
		this.tempTitle[2].className = "font_006699_14px";
		this.tempTitle[2].background = "images/bg_news_index.jpg";
		//------
		
		this.tempList[1].style.display = "none";  	
		this.tempList[0].style.display = "none";
		
		this.tempTitle[1].className = "fontFFFFFF_14";
		this.tempTitle[1].background = "";
		this.tempTitle[0].className = "fontFFFFFF_14";
		this.tempTitle[0].background = "";		
		
    }
	
	
	
}









