	function fnSetMMClasses()
	{

		var item = 1;
		
		while(document.getElementById("mmID" + item) != null) { 
		var oItem = document.getElementById("mmID" + item);

		if (oItem.getAttribute("secHeader") == "true")
		{
		}
		else
		{
			oItem.onmouseover = new Function("mmsOver(this)");
			oItem.onmouseout = new Function("mmsOut(this)");
			oItem.className = "ctlMainMenuSectionLinkTD";
		}
			item++;
		}
			
			var item = 1;		
			while(document.getElementById("mmsID" + item) != null) { 
			var oItem = document.getElementById("mmsID" + item);
			oItem.onmouseover = new Function("mmOver(this)");
			oItem.onmouseout = new Function("mmOut(this)");
			oItem.className = "ctlMainMenuTD";
			item++;
		}		
		
		bMenuDrawn = true;
	}
	
	
	function fnmmGIP(intPageID)
	{
		window.location = "index.aspx?p=" + String(intPageID);
	}
	
	function fnMainMenuDropdown(menuID)
	{
		fnClearSubMenus();
		var oMenuDiv = document.getElementById("dropDownMenu" + String(menuID));
		oMenuDiv.style.display = "inline";
	}
    
    function mmOver(elm)
    {
		elm.className='ctlMainMenuTDOver';
		if (String(elm.children[0]) != "undefined")
		{
			elm.children[0].style.color = "#FFFFFF";
		}
    }

    function mmOut(elm)
    {
		
		elm.className='ctlMainMenuTD';   
		if (String(elm.children[0]) != "undefined")
		{
			elm.children[0].style.color = "#1B4087";
		}		
    }
    
    function mmsOver(elm)
    {
		elm.className='ctlMainMenuSectionLinkTDOver';
		if (String(elm.children[0]) != "undefined")
		{
			elm.children[0].style.color = "#FFFFFF";
		}
    }

    function mmsOut(elm)
    {
		elm.className='ctlMainMenuSectionLinkTD';   
		if (String(elm.children[0]) != "undefined")
		{
			elm.children[0].style.color = "#1B4087";
		}		
    }    
    
	var m_OldMainMenuID = -1;
	
	if (bMenuDrawn = false) fnSetMMClasses();	
	
    