/* 	nav.js - Gives a specified nav item the class name "current".
------------------------------------------------------------------------
	Usage
------------------------------------------------------------------------
   	
   	Each nav item must have the prefix "nav_" followed by a unique name:

		<li id="nav_home">
			<a href="#">home</a>
		</li>
   	
   	Add the onload function to the body element and reference the unique part of the nav id.
   	
		<body onload="highlight('home')">
   	
------------------------------------------------------------------------*/



function highlight(navid) {
	if(document.getElementById){
	// Highlight the nav item for this page
	document.getElementById( 'nav_' + navid ).className = 'current';
	return;
	}
}
