function changeMenu(obj,Switch,no)
{
	var browser=navigator.appName 
	var b_version=navigator.appVersion 
	var version=b_version.split(";"); 
	var trim_Version=version[1].replace(/[ ]/g,"");
	if(browser=="Microsoft Internet Explorer" && trim_Version=="MSIE6.0"){
        if(Switch==1) 
        { 
		obj.style.backgroundColor = "#FFF";
		obj.style.borderLeftColor = "#e4e4e4";
		obj.style.borderLeftStyle = "solid";
		obj.style.borderLeftWidth = "1px";
		obj.style.borderRightColor = "#e4e4e4";
		obj.style.borderRightStyle = "solid";
		obj.style.borderRightWidth = "1px";
		obj.style.borderTopColor = "#e4e4e4";
		obj.style.borderTopStyle = "solid";
		obj.style.borderTopWidth = "1px";
		if(no!=1)obj.style.width = "65px";
		getElementsByClassName('barMenu-panel',"div")[no].style.display = "block";
        } 
        else 
        { 
		obj.style.backgroundColor = "#f2f2f2";
		obj.style.borderLeftColor = "#f2f2f2";
		obj.style.borderLeftStyle = "solid";
		obj.style.borderLeftWidth = "1px";
		obj.style.borderRightColor = "#f2f2f2";
		obj.style.borderRightStyle = "solid";
		obj.style.borderRightWidth = "1px";
		obj.style.borderTopColor = "#f2f2f2";
		obj.style.borderTopStyle = "solid";
		obj.style.borderTopWidth = "0px";
		if(no!=1)obj.style.width = "77px";
		getElementsByClassName('barMenu-panel',"div")[no].style.display = "none";
        } 
	}
}

function changeInfoIndustry(obj,no){
	document.getElementById('Info_Industry_panel_1').style.display = "none";
	document.getElementById('Info_Industry_panel_2').style.display = "none";
	document.getElementById('Info_Industry_panel_3').style.display = "none";
	document.getElementById('Info_Industry_panel_4').style.display = "none";
	document.getElementById('Info_Industry_panel_5').style.display = "none";
	document.getElementById('Info_Industry_panel_6').style.display = "none";
	document.getElementById('Info_Industry_1').className = "";
	document.getElementById('Info_Industry_2').className = "";
	document.getElementById('Info_Industry_3').className = "";
	document.getElementById('Info_Industry_4').className = "";
	document.getElementById('Info_Industry_5').className = "";
	document.getElementById('Info_Industry_6').className = "";
	document.getElementById('Info_Industry_panel_'+no).style.display = "block";	
	obj.className="ddhover";
}

function changeLink(obj,no){
	document.getElementById('link_panel_1').style.display = "none";
	document.getElementById('link_panel_2').style.display = "none";
	document.getElementById('link_panel_3').style.display = "none";
	document.getElementById('link_title_1').className = "";
	document.getElementById('link_title_2').className = "";
	document.getElementById('link_title_3').className = "";
	document.getElementById('link_panel_'+no).style.display = "block";	
	obj.className="ddhover";
}

function getElementsByClassName(className,tagName){
	var ele=[],all=document.getElementsByTagName(tagName||"*");
	for(var i=0;i<all.length;i++){
		if(all[i].className==className){
			ele[ele.length]=all[i];
		}
	}
	return ele;
}

function PageMove(objID,Switch,Speed){
	var objLeft=0;
	obj=document.getElementById(objID);
	if(objLeft==null){
		objLeft=0;
	}else{
		objLeft=obj.style.left.replace("px","");
	}
	if(Switch==1){
		objLeft=objLeft-Speed;
	}else{
		objLeft=objLeft-1+1+Speed;
	}
	if(objLeft<-1608){
		objLeft=0;
	}else if(objLeft>0){
		objLeft=-1608;
	}
	obj.style.left=objLeft+"px";
}

function rowOver(target){   
	target.style.background='#FCFCE3'; 
	target.style.border='1px #71ABE6 solid';
}   
function rowOut(target){   
	target.style.background='#ffffff';  
	target.style.border='1px #ffffff solid';
}   
function resumeRowOver(){   
	rowOver(this);   
}   

//<![CDATA[
$(function(){
	(function(){
		var curr = 0;
		$("#jsNav .trigger").each(function(i){
			$(this).click(function(){
				curr = i;
				$("#js img").eq(i).fadeIn("slow").siblings("img").hide();
				$(this).siblings(".trigger").removeClass("imgSelected").end().addClass("imgSelected");
				return false;
			});
		});
		
		var pg = function(flag){
			//flag:true表示前翻， false表示后翻
			if (flag) {
				if (curr == 0) {
					todo = 2;
				} else {
					todo = (curr - 1) % 3;
				}
			} else {
				todo = (curr + 1) % 3;
			}
			$("#jsNav .trigger").eq(todo).click();
		};
		
		//前翻
		$("#prev").click(function(){
			pg(true);
			return false;
		});
		
		//后翻
		$("#next").click(function(){
			pg(false);
			return false;
		});
		
		//自动翻
		var timer = setInterval(function(){
			todo = (curr + 1) % 3;
			$("#jsNav .trigger").eq(todo).click();
		},4000);
		
		//鼠标悬停在触发器上时停止自动翻
		$("#jsNav a").hover(function(){
				clearInterval(timer);
			},
			function(){
				timer = setInterval(function(){
					todo = (curr + 1) % 3;
					$("#jsNav .trigger").eq(todo).click();
				},1500);			
			}
		);
	})();
});
//]]>

