function Folder_Path(path)
{
	var pos=path.lastIndexOf("/"); 
	var path=path.substring(0,pos);
	return path;
}//end of Folder_Path

function Folder_Location()
{	
	if (navigator.appName != "Netscape") 
	{	
		var link=document.location.href;	
		var coll = document.all.tags("a");		
		if (coll!=null)
		{	
			for (i=0; i<coll.length; i++)
			{
					//document.write(teams[j]);
					if((Folder_Path(link).toUpperCase().indexOf("W-BASKETBALL") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("M-BASKETBALL") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("W-GOLF") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("M-GOLF") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("W-ROWING") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("W-SOCCER") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("M-SOCCER") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("SOFTBALL") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("BASEBALL") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("W-TENNIS") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("M-TENNIS") == -1) &&
						(Folder_Path(link).toUpperCase().indexOf("W-VOLLEYBALL") == -1))																
					{
						if(Folder_Path(link).toUpperCase()==Folder_Path(coll[i].href).toUpperCase() ) 
						{
							coll[i].style.color="#FFFFFF";		
							coll[i].style.backgroundColor="#B50000";						
							coll[i].style.paddingTop='4px';
							//coll[i].style.borderTop='1px solid #CC0000';
							//coll[i].style.borderRight='thick none';
							//coll[i].style.borderBottom='3px solid #666666';
							//coll[i].style.borderLeft='thick none';			
						}//end of if 
					}
			} //end of for
		}//end of if
		
		for (var i=0; i<document.links.length; i++) 
		{
			if (Folder_Path(document.links[i].href) == Folder_Path(link) ) 
			{
				document.links[i].href = 'javascript:;';
				document.links[i].onclick = '';
			}
		}//end of for
	}	
}//end of Folder_Location function