var activeMenu = "";
var colorActiveMenuBackground   = "#5887B8";
var colorActiveMenuFont         = "#FFFFFF";
var colorUnactiveMenuBackground = "#426394";
var colorUnactiveMenuFont       = "#EBB73D";
var cursorHand;

if (navigator.userAgent.indexOf ('Netscape') >= 0)
	cursorHand = "pointer";
else
	cursorHand = "hand";

function menuOver (itemName)
{
	objMenuItem = document.getElementById (itemName);

	objMenuItem.style.cursor = cursorHand;
	objMenuItem.style.color  = colorActiveMenuFont;
	objMenuItem.style.backgroundColor = colorActiveMenuBackground;
	
	if ((objSubMenu = document.getElementById ("sub_" + itemName)) != null)
		objSubMenu.style.visibility = "visible";
}

function menuOut (itemName)
{
	objMenuItem = document.getElementById (itemName);

	objMenuItem.style.color = colorUnactiveMenuFont;
	objMenuItem.style.backgroundColor = colorUnactiveMenuBackground;
	
	if ((objSubMenu = document.getElementById ("sub_" + itemName)) != null)
		objSubMenu.style.visibility = "hidden";
}

function subMenuOver (menuName)
{
	objSubMenu  = document.getElementById ("sub_" + menuName);
	objMenuItem = document.getElementById (menuName);

	objSubMenu.style.visibility = "visible";
	objMenuItem.style.backgroundColor = colorActiveMenuBackground
	objMenuItem.style.color = colorActiveMenuFont;
}

function subMenuOut (menuName)
{
	objSubMenu  = document.getElementById ("sub_" + menuName);
	objMenuItem = document.getElementById (menuName);

	objSubMenu.style.visibility = "hidden";
	objMenuItem.style.backgroundColor = colorUnactiveMenuBackground;
	objMenuItem.style.color = colorUnactiveMenuFont;
}

function subMenuItemOver (itemName)
{
	objSubMenuItem = document.getElementById (itemName);

	objSubMenuItem.style.cursor = cursorHand;
	objSubMenuItem.style.color  = colorUnactiveMenuFont;
	objSubMenuItem.style.backgroundColor = colorUnactiveMenuBackground;
}

function subMenuItemOut (itemName)
{
	objSubMenuItem = document.getElementById (itemName);
	objSubMenuItem.style.color  = colorActiveMenuFont;
	objSubMenuItem.style.backgroundColor = colorActiveMenuBackground;
}

function menuClick (pageName)
{
	document.location = pageName;
}

function menuClick1 (pageName)
{
	
	Window.open(pageName, '_blank');
}
