// JavaScript Document
var currentTag = 1;
var timetable=10000; //延长时间
function fivetag(id){
	//alert("fivetag");
	selectMenu(id);
	for (i =1; i<5; i++){
		document.getElementById("News_Switch_0"+i).style.display="none";
	}
	document.getElementById("News_Switch_0"+id).style.display="block";
	currentTag++;
	if (currentTag>4)
	currentTag=1;
}
function selectMenu(id){
	//alert("selectMenu");
	for(i=1; i<5; i++){
		var News_Switch_button = document.getElementById("News_Switch_button_0"+i);
		if(News_Switch_button.className=="News_Switch_button_01")
		News_Switch_button.className = "News_Switch_button_02";
	}
	var News_Switch_button = document.getElementById("News_Switch_button_0"+id);
	News_Switch_button.className = "News_Switch_button_01";
}
function init(){
	setInterval('fivetag(currentTag)',timetable);
}