jQuery(function( $ )
{
		loadScroll();

});

function loadScroll()
{				$('#features').scrollTo({ top:0,left:0 }, 010 );
				$('#recent-links li a.show:first').addClass('active');

				var postHeight = $('#posts').height();
				var intIndex = 0;
				$( "#recent-links li a.show" ).each(function( i )
				{
						$(this).attr({
							href: '#'
						});
						var scrollPos = intIndex + ( postHeight * i ) 
						$(this).click(function()
						{
								$('#recent-links li a.show').removeClass('active');
								$(this).addClass('active');
								$('#posts').scrollTo({ top:scrollPos,left:0 }, 500, { easing:'easeInOutQuart' } )
								return false;
						});
				});
}
