// simple script to modify navigation bar to show arrow above section name in nav bar

var sections = ["about", "areas", "apply", "report"];

function checkSection(section)
{
	if (document.location.href.indexOf(section) > -1)
  	{ 
  		di(section);
		return true;
	}
	return false;
}

function setNav()
{
	for (var i = 0; i < sections.length; ++i)
	{
		if (checkSection(sections[i]))
			return;
	}
	di("home");
}
function di(name)
{ 
	if (document.images)
	{
 	 	 document.images[name].src = document.images[name].src.replace(/.gif/g, "_over.gif"); 
 	}
}