// Dynamically change nav bar selection based on present page
if (location.href.substring(location.href.lastIndexOf('\/')+1,location.href.length+1) == 'index.php')
	document.getElementById("home").style.backgroundColor = "#999966"; 
else if (location.href.substring(location.href.lastIndexOf('\/')+1,location.href.length+1) == 'company.php')
	document.getElementById("company").style.backgroundColor = "#999966"; 
else if (location.href.substring(location.href.lastIndexOf('\/')+1,location.href.length+1) == 'philosophy.php')
	document.getElementById("philosophy").style.backgroundColor = "#999966"; 
else if (location.href.substring(location.href.lastIndexOf('\/')+1,location.href.length+1) == 'expertise.php')
	document.getElementById("expertise").style.backgroundColor = "#999966"; 
else if (location.href.substring(location.href.lastIndexOf('\/')+1,location.href.length+1) == 'advisors.php')
	document.getElementById("advisors").style.backgroundColor = "#999966";
else if (location.href.substring(location.href.lastIndexOf('\/')+1,location.href.length+1) == 'contact.php')
	document.getElementById("contact").style.backgroundColor = "#999966";
else if (location.href.substring(location.href.lastIndexOf('\/')+1,location.href.length+1) == 'login.php')
	document.getElementById("login").style.backgroundColor = "#999966";
else if (location.href.substring(location.href.lastIndexOf('\/')+1,location.href.length+1) == 'login_confirm.php')
	document.getElementById("login").style.backgroundColor = "#999966";