jQuery.fn.cousins = function(elem) {
return $(this).parent().siblings().children(elem);
}
jQuery.fn.uncles = function(elem) {
return $(this).parent().siblings(elem);
}
jQuery.fn.grandparent = function(elem) {
return $(this).parent().parent(elem);
}



$(function(){
	//Slideshow
	/*$(".rcSlideshow > ul").cycle({	
		timeout:4800,
		speed:2000
	});*/
	$('#productCarousel').jcarousel({
		auto: 5,
		scroll: 1,
		visible: 3,
		wrap: 'circular',
		buttonNextHTML: null,
		buttonPrevHTML: null
	});
	$('.fadeThis > .hover').empty();
	
	$(".menu a").mouseenter(function() {
	  $(this).next("em").not("li.current em").stop(true,true).animate({opacity: "show" }, "medium");
	}).mouseleave(function() {
	  $(this).next("em").not("li.current em").stop(true,true).animate({opacity: "hide"}, "fast");
	});
});

$(document).ready(function() {
			
			$("a.fancy-box").fancybox({
				'titleShow'		: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
			});
		});

