jQuery.noConflict();
jQuery(document).ready(function(){	
	jQuery(".search").bind("mouseover mouseout",function(){
    jQuery(this).find("div.search_top").toggle();
  	});
	jQuery(".navList").bind("mouseover",function(){
    jQuery(this).find("div").addClass("sel");
  	});
	jQuery(".navList").bind("mouseout",function(){
    jQuery(this).find("div.sel").removeClass("sel");
  	});
});//search and hangye
jQuery(function(jQuery){
	var index = 0;
	jQuery('<div id="flow"></div>').appendTo("#focus_turn");
	jQuery("#focus_txt li").hover(function(){
		if(FocusTime){
			clearInterval(FocusTime);
		}
		index  =  jQuery("#focus_txt li").index(this);
		FocusTime = setTimeout(function(){
		ShowjQueryFlash(index);
		jQuery('#focus_pic').stop();
		} , 400);
	}, function(){
		clearInterval(FocusTime);
		FocusTime = setInterval(function(){
		ShowjQueryFlash(index);
		index++;
		if(index==3){index=0;}
		} , 3000);
	});
	 jQuery('#focus_pic').hover(function(){
			  if(FocusTime){
				 clearInterval(FocusTime);
			  }
	 },function(){
				FocusTime = setInterval(function(){
				ShowjQueryFlash(index);
				index++;
				if(index==3){index=0;}
			  } , 3000);
	 });
	var FocusTime = setInterval(function(){
		ShowjQueryFlash(index);
		index++;
		if(index==3){index=0;}
	} , 3000);
});
function ShowjQueryFlash(i) {
jQuery("#focus_pic div").eq(i).animate({opacity: 1},1000).css({"z-index": "1"}).siblings().animate({opacity: 0},1000).css({"z-index": "0"});
jQuery("#flow").animate({ left: i*143+1+"px"}, 300 ); //滑块滑动
jQuery("#focus_txt li").eq(i).addClass("current").siblings().removeClass("current");
}//幻灯

jQuery(function(){
jQuery(".global_module_tab div").mouseover(function(){
	var num=jQuery(this).parent('div').children('div').length-1;
	for(var i=0;i<num;i++)
	{
		jQuery(this).parent('div').eq(i).children('div').removeClass('current');
	}
	jQuery(this).addClass("current");
});
});//tab


