var subMenuLink;
var currentMenuTab;

function loadComplete()
{
    document.getElementById('menu').style.visibility = 'visible';
}

// needs to be put in the onload event, this code changes the visibility of the sub menu divs depending on the 
// variable set each page
function submenuLoad()
{

	// Set the current sub menu visibility to hidden
	if (currentMenuTab != null) { document.getElementById('submenu-' + currentMenuTab).style.visibility = 'hidden'; }
	
	// store the current sub menu and then set it to visible 
	currentMenuTab = mainMenuTab;	
	document.getElementById('submenu-' + mainMenuTab).style.visibility = 'visible';

	// check to see if the sub menu link has been set in the page,
	// if it has, we can set the style to indicate it is the current page
	
	if (subMenuLink !=null)
	{
		var currentLink = document.getElementById("ctl00_SubMenu" + subMenuLink + "Hyperlink"); 
		if (currentLink !=null)
		{
			currentLink.style.fontWeight = 'bold'
			currentLink.style.textDecoration = 'none';
			currentLink.cursor = 'defaut';
			currentLink.onclick = 'return void;';
		}
	}
	loadComplete();
}	

function showPrivacyPolicy()
{
	GB_showCenter('','../../../privacy/privacy.html',450,500);
}


