$(function() {
  
  // ADDS CLASS TO LAST NAV LINK
  $('#main-nav a:last').addClass('last');
  
  
  // TAB FUNCTION
  $(".tab-content").hide(); 
  $(".featured-tab a:first").addClass("active").show(); 
  $(".tab-content:first").show(); 
   
  $(".featured-tab a").click(function() {
   
    $(".featured-tab a").removeClass("active"); 
    $(this).addClass("active"); 
    $(".tab-content").hide();
  
    var activeTab = $(this).attr("href"); 
     $(activeTab).show(); 
     return false;
   });
   
   
});


/*
$(function(){

	var $jumpto = $('nav.jump-to');
	var href = $('nav.jump-to a').attr('href');
	
	$(href).click(function(){
	
		$active = $(this).attr('href');
		
		console.log($active);
	
	});


});
*/


