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

jQuery(function( $ ){
	$('#ourstory').serialScroll({
		target:'#panels',
		items:'li',
		prev:'img.prev',
		next:'img.next',
		axis:'xy',
		duration:1400,
		force:true,
		cycle:false,
		onBefore:function( e, elem, $pane, $items, pos ){
			e.preventDefault();
			if( this.blur )
				this.blur();
		},
		onAfter:function( elem ){
		}
	});
});
