$(document).ready(function(){

	/* gets the last part of the url (ex: "/about.html") */
	var path = location.pathname.substring(1);
	if (path) {
		/* if link goes to the current address then a class is added */
		$('#dhNavBar li a[@href*="'+path+'"]').addClass("active");
	}

});