function currpage() {
	// check all links in the page
    var a = document.getElementsByTagName("A");
    for (var i=0; i < a.length; i++)
		// highlight any links to current page in navigation bars to orient the user
		if (a[i].href == window.location.href.split("#")[0]) {
			a[i].style.cursor = "default";
            a[i].style.color = "#E46E79";
			a[i].style.backgroundColor = "transparent";
			a[i].style.textDecoration = "none";
	        a[i].title = "(You are at this page" 
	   		+ (a[i].title ? ": " + a[i].title : 
			   (a[i].innerText ? ": " + a[i].innerText : "")) + ")";
			if (a[i].id == "navhome") a[i].style.backgroundImage = "url(nav/home-glow.gif)";
			if (a[i].id == "navbrowse") a[i].style.backgroundImage = "url(nav/browse-glow.gif)";
			if (a[i].id == "navsearch") a[i].style.backgroundImage = "url(nav/search-glow.gif)";
			if (a[i].id == "navabout") a[i].style.backgroundImage = "url(nav/about-glow.gif)";
			if (a[i].id == "navcollection") a[i].style.backgroundImage = "url(nav/collection-glow.gif)";
			if (a[i].id == "navproject") a[i].style.backgroundImage = "url(nav/project-glow.gif)";
			if (a[i].id == "navtechnical") a[i].style.backgroundImage = "url(nav/technical-glow.gif)";
			if (a[i].id == "navcredits") a[i].style.backgroundImage = "url(nav/credits-glow.gif)";
			if (a[i].id == "navresources") a[i].style.backgroundImage = "url(nav/resources-glow.gif)";
			if (a[i].id == "navcontact") a[i].style.backgroundImage = "url(nav/contact-glow.gif)";
//			a[i].parentNode.style.listStyleImage = "url(webimages/pink-tinted-16.gif)";
		}
	return true;
}
window.onload = currpage;
