// 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( $ ){	
	
	try{
		$('#imgSlides').serialScroll({
			items:'li',
			prev:'#bannersContainer a.prev',
			next:'#bannersContainer a.next',
			offset:-250, //al hacer scroll, detenemos la foto 250px desde la izquierda
			start:1,
			duration:1200,
			force:true,
			stop:true,
			lock:false,
			cycle:false, //no repetir una vez que alcanzamos la última imagen 
			easing:'easeOutQuart',
			jump: false,
			exclude: 1
		});	
	}catch(error){}
	
});
