$(document).ready(function(){
	//道真要闻 领导活动 乡镇传真 部门动态
	$(".menuDZYW li").each(function(index){
		$(this).mouseover(function(){	
			timoutid = setTimeout(function(){
				$(".menuDZYW .tabSelectDZYW").removeClass("tabSelectDZYW");
				$(".menuDZYW li").eq(index).addClass("tabSelectDZYW");
				$(".dzywH_Show").removeClass("dzywH_Show");
				$(".dzywH_Hide").eq(index).addClass("dzywH_Show");
			    $(".ywhdczdtShow").removeClass("ywhdczdtShow");
				$(".ywhdczdtHide").eq(index).addClass("ywhdczdtShow");
			},100);			
		}).mouseout(function(){
			clearTimeout(timoutid);	
		});
	});
	
	//政府信息公开 最新公开
	$(".menuXXGK li").each(function(index){
		$(this).mouseover(function(){	
			timoutid = setTimeout(function(){
				$(".menuXXGK .tabSelectXXGK").removeClass("tabSelectXXGK");
				$(".menuXXGK li").eq(index).addClass("tabSelectXXGK")
			    $(".xxgkzxgkShow").removeClass("xxgkzxgkShow");
				$(".xxgkzxgkHide").eq(index).addClass("xxgkzxgkShow")
			},100);			
		}).mouseout(function(){
			clearTimeout(timoutid);	
		});
	});
	
	//居民办事　企业办事　在线服务
	$(".menuBSFW li").each(function(index){
		$(this).mouseover(function(){	
			timoutid = setTimeout(function(){
				$(".menuBSFW .tabSelectBSFW").removeClass("tabSelectBSFW");
				$(".menuBSFW li").eq(index).addClass("tabSelectBSFW")
			    $(".bsfwShow").removeClass("bsfwShow");
				$(".bsfwHide").eq(index).addClass("bsfwShow")
			},100);			
		}).mouseout(function(){
			clearTimeout(timoutid);	
		});
	});
	
	//生活咨询　绿色通道　场景式服务
	$(".menuZXTDFW li").each(function(index){
		$(this).mouseover(function(){	
			timoutid = setTimeout(function(){
				$(".menuZXTDFW .tabSelectZXTDFW").removeClass("tabSelectZXTDFW");
				$(".menuZXTDFW li").eq(index).addClass("tabSelectZXTDFW")
			    $(".zxtdfwShow").removeClass("zxtdfwShow");
				$(".zxtdfwHide").eq(index).addClass("zxtdfwShow")
			},100);			
		}).mouseout(function(){
			clearTimeout(timoutid);	
		});
	});
	
	//政府部门 乡镇网站 党群系统 教育在线 金融医疗 企业之窗
	$(".menuZFBM li").each(function(index){
		$(this).mouseover(function(){	
			timoutid = setTimeout(function(){
				$(".menuZFBM .tabSelectZFBM").removeClass("tabSelectZFBM");
				$(".menuZFBM li").eq(index).addClass("tabSelectZFBM")
			    $(".zxdjjqShow").removeClass("zxdjjqShow");
				$(".zxdjjqHide").eq(index).addClass("zxdjjqShow")
			},100);			
		}).mouseout(function(){
			clearTimeout(timoutid);	
		});
	});
	
	//县长信箱 在线咨询
	$(".menuXXZX li").each(function(index){
		$(this).mouseover(function(){	
			timoutid = setTimeout(function(){
				$(".menuXXZX .tabSelectXXZX").removeClass("tabSelectXXZX");
				$(".menuXXZX li").eq(index).addClass("tabSelectXXZX")
			    $(".xxzxShow").removeClass("xxzxShow");
				$(".xxzxHide").eq(index).addClass("xxzxShow")
			},100);			
		}).mouseout(function(){
			clearTimeout(timoutid);	
		});
	});
	
	//民意征集 网上信访 网上调查
	$(".menuMYXFDC li").each(function(index){
		$(this).mouseover(function(){	
			timoutid = setTimeout(function(){
				$(".menuMYXFDC .tabSelectMYXFDC").removeClass("tabSelectMYXFDC");
				$(".menuMYXFDC li").eq(index).addClass("tabSelectMYXFDC")
			    $(".myxfdcShow").removeClass("myxfdcShow");
				$(".myxfdcHide").eq(index).addClass("myxfdcShow")
			},100);			
		}).mouseout(function(){
			clearTimeout(timoutid);	
		});
	});
	
	//信息浏览日排行 信息更新月排行
	$(".menuPH li").each(function(index){
		$(this).mouseover(function(){	
			timoutid = setTimeout(function(){
				$(".menuPH .tabSelectPH").removeClass("tabSelectPH");
				$(".menuPH li").eq(index).addClass("tabSelectPH")
			    $(".phShow").removeClass("phShow");
				$(".phHide").eq(index).addClass("phShow")
			},100);			
		}).mouseout(function(){
			clearTimeout(timoutid);	
		});
	});
});	
