// JavaScript Document

obj = null
function expandeMenu( strMenu, elmLi )
{
	elmMenu = document.getElementById( strMenu );
	
	
	elmMenu.style.display = elmMenu.style.display == 'block' ? 'none' : 'block';
	
	//elmMenu.style.height = 0 + 'px';
	
	obj = elmMenu
	//animaMenu();
	
	elmMenu.onmouseover = function()
	{
		elmLi.className += ' ativo';
	}
	
	elmMenu.onmouseout = function()
	{
		elmLi.className = elmLi.className.replace( 'ativo', '' );
		elmLi.className = elmLi.className.replace( '  ', '' );
	}
	
}

function animaMenu()
{
	obj.style.height += 10 + 'px';
	setTimeout( animaMenu, 1000 );
}

function MM_openBrWindow(theURL,winName,features)
{
	window.open(theURL,winName,features);
}