// JavaScript Document
<SCRIPT LANGUAGE="JavaScript">
<!--
function highlightLink()
{
//alert(document.getElementById("check").id);
	//Get filename from the URL
	thisPage = document.URL.substring(document.URL.lastIndexOf("/")+1 ,document.URL.length);
	//alert(thisPage);
	//Loop through all the links
	//var check="check";
	for (i=0; i<document.links.length; i++ )
	{
		//Get only the filename from the href of navigation link
		pageLink = document.links[i].href.substring(document.links[i].href.lastIndexOf("/")+1 ,document.links[i].href.length);

		//alert=( document.getElementById("check"));
		
if(document.links[i].id == "check"){
		
		if (thisPage == pageLink)
		{	
			//BG is the name of a class that I have defined, that sets background color to grey
			document.links[i].className = "BIG";
		
		}			
     }
		
			
		//alert(pageLink);
		//if the current filename & the link-ed file name are the same, change the background color of that link
		
		
	}
}
//-->
</SCRIPT>
