// 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( $ ){
	var intval = 5000;//how often to autoscroll (in milliseconds)
	
	$('#news').serialScroll({
		//...
		items:'div',
		duration:2000,
		force:true,
		axis:'y',
		easing:'linear',
		lazy:true,// NOTE: it's set to true, meaning you can add/remove/reorder items and the changes are taken into account.
		interval:7000, // yeah! I now added auto-scrolling
		step:1, // scroll 2 news each time
		stop:false
		//...
	});
	
	
	// You can temove the .stop() to let it finish the active animation
	/*$('#news').hover(function(){
		$(this).stop().trigger('stop');
	},function(){
		$(this).stop().trigger('start');
	});*/

});
