// Easing equation, borrowed from jQuery easing plugin
// http://gsgd.co.uk/sandbox/jquery/easing/
jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

jQuery(function( $ ){
	
	$('.gal-main').serialScroll({
		target:'.gal',
		items:'a',
		prev:'a.prev',
		next:'a.next',
		start:0, //as we are centering it, start at the 2nd
		duration:200,
		force:true,
		stop:true,
		lock:false,
		cycle:false,
		exclude:3,
		easing:'easeOutQuart',
		jump:false
	});
	
});
