		//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;
		};
		jQuery(function( $ ){
			/**
			 * The call below, is just to show that you are not restricted to prev/next buttons
			 * In this case, the plugin will react to a custom event on the container
			 * You can trigger the event from the outside.
			 */		
				$('#factHolder').serialScroll({
				items:'div',
				prev:'#screen2 a.prev',
				next:'.textBlock a.next',
				axis:'x',
				offset:0, //when scrolling to photo, stop 230 before reaching it (from the left)
				start:1, //as we are centering it, start at the 2nd
				duration:0,
				force:true,
				stop:true,
				lock:false,
				cycle:true, //don't pull back once you reach the end
				easing:'easeOutQuart', //use this easing equation for a funny effect
				jump: true //click on the images to scroll to them
			});
			var $vidScroll = $('#videoHolder');//we'll re use it a lot, so better save it to a var.
			$vidScroll.serialScroll({
				items:'div',
				duration:700,
				force:true,
				axis:'x',
				lazy:true,//NOTE: it's set to true, meaning you can add/remove/reorder items and the changes are taken into account.
				interval:5000, //yeah! I now added auto-scrolling
				step:1 //scroll 2 news each time
			});	
		});
		
		