$(document).ready(function(){
var baseUrl = window.document.location.protocol + "//" + window.document.location.host + "/";
var shortenedUrl = window.document.location.href.replace(baseUrl, "");
baseUrl = baseUrl + shortenedUrl.substring(0, shortenedUrl.indexOf("/"));
$(".navContent a").click(function(){
$(".navContent a").css({background:'none'});
$(this).css({'background-image':'url('+baseUrl+'/static/images/nav-cur.png)'});
});
var baseUrl = window.document.location.protocol + "//" + window.document.location.host + "/";
var shortenedUrl = window.document.location.href.replace(baseUrl, "");
baseUrl = baseUrl + shortenedUrl.substring(0, shortenedUrl.indexOf("/"));
$(".navContent a").click(function(){
$(".navContent a").css({background:'none'});
$(this).css({'background-image':'url('+baseUrl+'/static/images/nav-cur.png)'});
});