jQuery(function( $ ){
			//Most of these defaults, belong to jQuery.ScrollTo, check it's demo for an example of each option.
			//@see http://www.freewebs.com/flesler/jQuery.ScrollTo/			
			var $lastLink = null;//save the last link
			var $content = $('#content');//the container, that is actually scrolled each time.
			$('#navigation').localScroll({
				target:$content, //could be '#content' too, sending it jqueryfied is a bit faster.
				axis:'xy',
				queue:true,
				duration:1000,
				onBefore:function( e, el, $target ){
					$target.queue('fx',[]).stop();//to avoid queueing animations
					if( $lastLink )
						$lastLink.removeClass('scrolling');
					$lastLink = $(this).addClass('scrolling');
					$lastLink[0].blur();//remove the awful outline
				},
				onAfter:function(){
					$lastLink.removeClass('scrolling');
				},
				persistent:true//not really necessary in this case.
			});
			$content.find('li a')//just for the demo, bind the next/prev links
				.filter('.next').bind('click', 'next', move )
				.end()
				.filter('.prev').bind('click', 'prev', move );
				
			function move( e ){
				var $target = $(this).parent()[e.data]();//get the next/prev section
				$content.scrollTo( $target, {//scroll to that section
					duration:800,
					axis:'x'//only horizontally, don't waste CPU cycles.
				});
				return false;
			};
		});