jQuery(function( $ ){
	$('#scroller').serialScroll({
		target:'#scrollItems',
		items:'img', // Selector to the items ( relative to the matched elements, '#sections' in this case )
		prev:'img.prevslide',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'img.nextslide',// Selector to the 'next' button (absolute too)
		axis:'x',// The default is 'y' scroll on both ways
		duration:400,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		interval:4000, // It's the number of milliseconds to automatically go to the next
		force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
		cycle:true, // Cycle endlessly ( constant velocity, true is the default )
		step:1, // How many items to scroll each time ( 1 is the default, no need to specify )
		constant:false // constant speed
	});
	
	$('#scroller2').serialScroll({
		target:'#scrollItems2',
		items:'div', // Selector to the items ( relative to the matched elements, '#sections' in this case )
		prev:'img.prevslide',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'img.nextslide',// Selector to the 'next' button (absolute too)
		axis:'y',// The default is 'y' scroll on both ways
		duration:700,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		interval:12000, // It's the number of milliseconds to automatically go to the next
		force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
		cycle:true, // Cycle endlessly ( constant velocity, true is the default )
		step:1, // How many items to scroll each time ( 1 is the default, no need to specify )
		constant:false // constant speed
	});
});
