//easing equation, borrowed from jQuery easing plugin
		//http://gsgd.co.uk/sandbox/jquery/easing/
		$.easing.easeOutQuart = function (x, t, b, c, d) {
			return -c * ((t=t/d-1)*t*t*t - 1) + b;
		};
	
		$(document).ready(function( $ ){
 
			$('#footerIndex').serialScroll({
				target:'#slideshow',
				items:'li', //selector to the items ( relative to the matched elements, '#sections' in this case )
				prev:'.prevButton a',//selector to the 'prev' button (absolute!, meaning it's relative to the document)
				next:'.nextButton a',//selector to the 'next' button (absolute too)
				axis:'x',//the default is 'y'
				queue:false,//we scroll on both axes, scroll both at the same time.
				event:'click',//on which event to react (click is the default, you probably won't need to specify it)
				stop:true,//each click will stop any previous animations of the target. (false by default)
				lock:true, //ignore events if already animating (true by default)
				duration:300,//length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
				force:true, //force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
				jump:false, //if true, items become clickable (or w/e 'event' is, and when activated, the pane scrolls to them)
				constant:true,
				onBefore:function( e, elem, $pane, $items, pos ){
					 //those arguments with a $ are jqueryfied, elem isn't.
					e.preventDefault();
					if( this.blur )
						this.blur();
				},
				onAfter:function( elem ){
					//'this' is the element being scrolled ($pane) not jqueryfied
				}
			});	
		});
		
