$.easing.easeOutQuart = function (x, t, b, c, d) {
			return -c * ((t=t/d-1)*t*t*t - 1) + b;
		};

		jQuery(function( $ ){
	
						var intval = 5000;//how often to autoscroll (in milliseconds)
			
			$('#slideshow').serialScroll({
				items:'.case',
				prev:'#scroll a.back',
				next:'#scroll a.next',
				axis:'x',
				offset:0, 
				start:0, 
				duration:1200,
				force:true,
				stop:true,
				lock:false,
				cycle:true, 
				interval:intval,
				easing:'easeInOutQuart', 
				step:1,
				jump: false 
			});
			
$('#slideshow').hover(function(){
		$(this).trigger('stop');
	},function(){
		$(this).trigger('start');
	});

		});