function navMenu() {}

function loadMenu() {
	
   var thisPath = document.location.pathname.split('/');
   var thisPage = thisPath[thisPath.length-1];
   var anchors = document.getElementsByTagName('a');

if (thisPage.length) {
for (var i=0; i<anchors.length; i++){
		var anchor = anchors[i];
		var nameAttribute = anchor.getAttribute('name');
		if (thisPath[thisPath.length-2] == nameAttribute) {
			anchor.className = 'selected';	
		}
	  
	  var anchorFullHref = anchor.href.split('/');
	  var anchorHref = anchorFullHref[anchorFullHref.length-1];
	  if(anchorHref == thisPage){
	  	anchor.className = 'selected';
	  }
 }
}
}


