// Font Replacement
//Cufon.replace('.category-title h1,.footer h4, .product-view .product-shop .product-name h1,.page-title h1, .page-title h2,.wired-home .subscribe strong', {
//	hover: true
//});

jQuery(function($){
	//top menu
$('#nav li.level0').bind("mouseenter",function(){
$(this).children("div.nav_bottom").css('visibility','visible');//ie6
$(this).children("a").css({ 'background' : 'url(/skin/frontend/default/hellowired/images/bg/bg_menuhover_l.gif) left -46px'}).children("span").css({ 'background' : 'url(/skin/frontend/default/hellowired/images/bg/bg_menuhover.gif) right -46px'});
});
$('#nav li.level0').bind("mouseleave",function(){
  $(this).children("div.nav_bottom").css('visibility','hidden'); 
  $(this).children("a").css({ 'background' : 'url(/skin/frontend/default/hellowired/images/bg/bg_menuhover_l.gif) left top'}).children("span").css({ 'background' : 'url(/skin/frontend/default/hellowired/images/bg/bg_menuhover.gif) right top'});
});

//left menu
////$("#leftnav li ul.level0").hide();
//$("#leftnav li.parent>a").click(function(event){
//	$(this).next("ul").slideToggle("slow")
//	.siblings("ul:visible").slideUp("slow");
//	$(this).toggleClass("active");
//	$(this).siblings("a").removeClass("active");
//	return false;
//	 event.stopPropagation(); 
//});
//$("#leftnav ul li.level1 a").click(function(){
//	window.location=this.href;
//	//alert(this.href);
//});

$("#slider").easySlider({
				auto: true, 
				continuous: true,
				numeric: true

			});
$('#know_tab span').click(function(){
	$(this).addClass("active").siblings().removeClass();
	$("#konw_container>div").eq($('#know_tab span').index(this)).show().siblings().hide();
});
});



