function MenuInit(strNavBar)
{
	
	if (!document.getElementById)
	{
		return true;
	}
	
	if(navigator.userAgent.indexOf('MSIE') != -1) //if IE
	{
		
		var navbar = document.getElementById(strNavBar);
		if(navbar == null)
		{
			return true;
		}
						
		var oUL = navbar.childNodes[0];
		for(var i=0; i < oUL.childNodes.length;i++)
		{
			var oLI = oUL.childNodes[i];
			
			if(oLI.nodeName == 'LI')
			{
				oLI.onmouseover = function (e)
				{
					if(this)
					{
						var oUL = this.childNodes[1];
						if (oUL)
						{
							if(oUL.nodeName == 'UL')
							{
								oUL.style.visibility = 'visible';
								oUL.style.display = 'block';
								oUL.style.borderLeft = '1px solid black';
								oUL.style.borderRight = '1px solid black';
								oUL.style.width = '175px';
								oUL.style.position = 'absolute';
								oUL.style.zIndex = 1;
								oUL.style.padding = 0;
								oUL.style.margin = 0;
								oUL.style.backgroundColor = '#ffffff';
							}
						}
					}
				}
				oLI.onmouseout = function (e)
				{
					if(this)
					{
						var oUL = this.childNodes[1];
						if(oUL)
						{
							if(oUL.nodeName == 'UL')
							{
								oUL.style.visibility = 'hidden';
								oUL.style.display = 'none';
							}
						}
					}
				}
			}
		}
	}
}