jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

jQuery(function( $ ){

	$('#wrap').serialScroll({
		target:'#sections',
		items:'.content',
		axis:'xy',
		navigation:'.nav li#scroll',
		duration:700,
		force:false,

		
		
		onBefore:function( e, elem, $pane, $items, pos ){
			e.preventDefault();
			if( this.blur )
				this.blur();
		},
		onAfter:function( elem ){
		}
	});



		$('#bios').serialScroll({
		target:'#biosContent',
		items:'li',
		axis:'y',
		navigation:'#menu li a',
		duration:700,
		force:false,

		
		
		onBefore:function( e, elem, $pane, $items, pos ){
			e.preventDefault();
			if( this.blur )
				this.blur();
		},
		onAfter:function( elem ){
		}
	});
		
});





//	$('#wrap').serialScroll({
//		target:'#sections',
//		items:'.content', // Selector to the items ( relative to the matched elements, '#sections' in this case )
//		axis:'xy',// The default is 'y' scroll on both ways
//		navigation:'.nav li a',
//		duration:700,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
//		force:false, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
//		constant:true, // constant speed




