
jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};
jQuery(function( $ ){
$('#slider').serialScroll({
		items:'li',
		prev:'.prev',
		next:'.next',
		axis:'xy',
		offset:-140, //when scrolling to photo, stop 230 before reaching it (from the left)
		duration:700,
		start: 9,
		force:true,
		stop:true,
		lock:false,
		cycle:false, //don't pull back once you reach the end
		easing:'easeOutQuart', //use this easing equation for a funny effect
		jump: false //click on the images to scroll to them
	});
	$.localScroll.defaults.axis = 'x';
	$.localScroll({
		target: '#slider', // could be a selector or a jQuery object too.
		queue:false,
		easing:'easeOutQuart',
		duration:800,
		offset:-140,
		hash:false

	});

	
});
