function highlightCurrentLink() {
    $("#menu li a").each( function(i,elem) {
    	if (elem.href == window.location.href.split("#")[0]){
    	    $(this).parent().addClass("active");
    	}
    });
}

