// This gleams the current section from the url (www.site/section/.../blah.htm)
// and sets the body ID to the section,
// activating a little pointer for the current menu item ^.^

function menuHighlight()
{
	var blarg = document.URL.match(new RegExp(/^(http\:\/\/)?[^\/]+\/([^\/]+)\//));
	if (blarg)
	{
		document.getElementById("untargeted").id = blarg[2].toLowerCase();
	}
	else // Unnecessary, but will let the menubar work if it gets added to the homepage.
	{
		document.getElementById("untargeted").id = "home";
	}
}