	//   ============ 以下栏目切换效果JS  ==============
	var settleTime = 0;
	
	var gp = [];gp["expert"]=["2","article.do"];gp["question"] = ["2","question.do"];gp["csqj"] = ["2","article.do"];gp["qclrs"] = ["2" ,"article.do"];
		gp["yhhzl"] = ["2","article.do"];gp["rlqt"] = ["2","article.do"];gp["newstechmeeting"] = ["3","article.do"];
                gp["zpqz"] = ["2","article.do"];gp["gyqg"] = ["2","article.do"];gp["newstechmeeting"] = ["3","article.do"];
		gp["questionexpert"] = ["2","article.do"];gp["articlelist"] = ["2","article.do"];gp["mettinglist"] = ["3","article.do"];
		
	function $(o){
		return (typeof o == "object") ? o : document.getElementById(o);
	 }
	//鼠标移上后执行
	function tagOver(s){
		window.clearTimeout(settleTime);
		settleTime = 0;
		settleTime = window.setTimeout(function(){showNewsSort(s)},200); 
	}
	//鼠标离开后清空定时操作
	function tagOut(s){
		window.clearTimeout(settleTime);
		settleTime = 0;
	}
	
	
	//鼠标移上后执行效果
	function showNewsSort(s){
		var obj = document.getElementById(s);
		var tmp = s.split("_"); 
		var p_sid = tmp[0];
		var num = tmp[2];
		var sobject = p_sid + "_info_" + num;
		var maxIndex = gp[p_sid][0];
		var i = 1;
		
		
		//循环p_sid中每个ID为sobject的DIV，
		while(i <= maxIndex){
			if(i == num){
				obj.className = "lanmu_left";
				document.getElementById(sobject).className = "dis";
			}else{
				document.getElementById(p_sid + "_title_"+i).className = "lanmu_right";
				document.getElementById(p_sid + "_info_"+i).className = "undis";
			}
			i++;
		}
	}
	//   ============ 以下栏目切换效果JS  结束==============	
	function wtquestion_i(){
		var userId = document.getElementById("userId");
		if(userId == null || userId == "undefined"){
			alert("要提问，请先登录");    
		}else{
			if(userId.value == "" || userId.value == null){
				alert("要提问，请先登录");    
			}
		}
		document.location.href = "/question/add.html";
	}
