var $j = jQuery.noConflict();
$j(document).ready(function(){
	$j("#header a.logo").hover(function(){
		$j(this).stop().animate({marginLeft: "5px"}, 250);
	},function(){
		$j(this).animate({marginLeft: "0"}, 250);
	});
	
	$j("#header a.cart").hover(function(){
		$j(this).stop().animate({marginRight: "5px"}, 250);
	},function(){
		$j(this).animate({marginRight: "0"}, 250);
	});
	
	$j("#banner ul li a").featureList({
		output: "#banner div div"
	});
	
	$j("#sidebar ul ul").hide();
	$j("#sidebar li.active ul").show();
	$j("#sidebar ul li:has(ul) > a").click(function(){
		$j(this).parent("li").children("ul").slideToggle(250);
		return false;
	});
	
	$j("#footer div > a").hover(function(){
		$j(this).stop().animate({marginTop: "-7px"}, 250);
	},function(){
		$j(this).animate({marginTop: "-17px"}, 250);
	});
	
	$j("#intro div.column").hover(function(){
		$j(this).children("div").stop().animate({bottom: "0px"}, 250);
	}, function(){
		$j(this).children("div").animate({bottom: "-43px"}, 250);
	});
	
	$j(".jqzoom").jqzoom({  
		zoomType: 'innerzoom'  
	});
	
	var div = $j('#brands'), ul = $j('#brands ul'), divWidth = div.width(), lastLi = ul.find('li:last-child');
	div.mousemove(function(e){
		var ulWidth = lastLi[0].offsetLeft - 180, left = (e.pageX - div.offset().left) * (ulWidth-divWidth) / divWidth;
		div.scrollLeft(left);
	});
});

// Share This (vervangen als je hier iets anders voor wilt gebruiken)
var switchTo5x=true;
if ($j('.st_twitter_hcount').length > 0)
	stLight.options({publisher:'1bd5e691-454c-4f90-8a6b-12d6923db08e'});
