$(function () {
	$('.slider').jcarousel({
	    scroll: 1,
	    wrap : 'both',
	    auto : 5,
	    buttonNextHTML: null,
	    buttonPrevHTML: null,
	    // Events
	    initCallback: function (carousel) {
	    	$('.prev').click(function () {
		        carousel.prev();
		        carousel.stopAuto();
		        return false;
		    });
		    $('.next').click(function () {
		        carousel.next();
		        carousel.stopAuto();
		        return false;
		    });
	    }
	});
	
	// dd
	$("#navigation > li").hover(function() {
		$(this).css({ 'z-index' : 100 });
		$(this).find("> ul").show();
		$(this).find("> a").addClass('hover');
	}, function() {
		$(this).css({ 'z-index' : 1 });
		$(this).find("> ul").hide();
		$(this).find("a:eq(0)").removeClass('hover');
	});
});
