
// Sets the active link
var x = curPage.split('.');
$('.btn' + x[0]).addClass('navBtnActive');

// fade color links
$('#navBar a:not(.navBtnActive), #footerBar a:not(.navBtnActve)').hover(function(){$(this).animate({color: 'white'}, { queue:false, duration:200 })}, function(){$(this).animate({color: 'black'})})