jQuery(function(){
	jQuery('.tabTitle li').mouseover(function(){
		jQuery(this).addClass("tabin").siblings().removeClass();
		jQuery(".tabContent > div").eq(jQuery(".tabTitle li").index(this)).show().siblings().hide();
	});
	jQuery("#mycarousel").jcarousel();
	jQuery('#home_num a').hover(function(){
		var tabIndex=jQuery('#home_num a').index(this);
		tabShow(tabIndex);
	})
	function tabShow(tabIndex){
		jQuery('#home_num a').eq(tabIndex).addClass('select').siblings('a').removeClass('select');									 
		jQuery('.home_tab').eq(tabIndex).fadeIn(300).siblings('div').fadeOut(100);	
	}
	jQuery('li#all_show #nav').hover(function(){
		jQuery("li#all_show").children("a").css({ 'background' : 'url(/skin/frontend/default/default/images/bg_allcate.gif) no-repeat 0 -30px','color' : '#ff7e00'});
	},
	function () {
		jQuery("li#all_show").children("a").css({ 'background' : '','color' : '#086c97'});
		  });

	jQuery('#know_tab span').click(function(){
	jQuery(this).addClass("active").siblings().removeClass();
	jQuery("#konw_container>div").eq(jQuery('#know_tab span').index(this)).show().siblings().hide();
	});
	jQuery('#color_A li').hover(function(){
		jQuery('#cbla').empty().append(jQuery(this).html())	;						
	})
	jQuery('#color_B li').hover(function(){
		jQuery('#cblb').empty().append(jQuery(this).html())	;						
	})
	jQuery('#color_C li').hover(function(){
		jQuery('#cblc').empty().append(jQuery(this).html())	;						
	})
	jQuery('#color_D li').hover(function(){
		jQuery('#cbld').empty().append(jQuery(this).html())	;						
	})
	jQuery('#color_E li').hover(function(){
		jQuery('#cble').empty().append(jQuery(this).html())	;						
	})
});

