// JavaScript Document

function highlightMenu(menu, color)
{
	var links = menu.getElementsByTagName("a");
	
	for(var i = 0; i < links.length; i++)
	{
		if(document.URL.indexOf(links[i].getAttribute("href")) != -1)
		{
			links[i].style.background = color;
		}
	}
}

function ExchangeImage(img, path)
{
	document.getElementById(img).src = path;
	document.getElementById(img).style.display = (path == "" ? "none" : "block");
}
