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

jQuery(function( $ ){
	$('#slideshow').serialScroll({
		items:'li',
		start:0,
		prev:'a.prev',
		next:'a.next',
		duration:0,
		force:true,
		lock:false,
		constant:true,
		easing:'easeInElastic',
		interval:10000,
		cycle:true //cycles the gallery back to the beginning
	});
	$('#desc').serialScroll({
		items:'li',
		start:0,
		prev:'a.prev',
		next:'a.next',
		duration:0,
		force:true,
		lock:false,
		constant:true,
		easing:'easeInElastic',
		interval:10000,
		cycle:true //cycles the gallery back to the beginning
	});
});

