var menuTimeout;
var menuObject;

function menuShowHidden(obj) {
	clearTimeout( menuTimeout );
	for(var n = 0;n<obj.childNodes.length;n++)
	{
		if(obj.childNodes[n].className == 'menuHiddenL' 
				|| obj.childNodes[n].className == 'menuLHover'
				|| obj.childNodes[n].className == 'menuHiddenR' )
		{	
			obj.childNodes[n].style.display = 'block';
			
			if(obj.childNodes[n].className == 'menuHiddenR' && 0 )
			{
				obj.childNodes[n].style.height = '0px';	
				obj.childNodes[n].style.right = '0px';	
				obj.childNodes[n].style.top = '30px';	
				obj.childNodes[n].style.width = '300px';	
				new Rico.Effect.Size( obj.childNodes[n] ,300,200,500,10,'' );
			}
		}
		if(obj.childNodes[n].className == 'menuL') 
		{
				obj.childNodes[n].style.display = 'none';
		}
	}
}

function menuHideHiddenReal() {
	obj = menuObject;
	for(var n = 0;n<obj.childNodes.length;n++)
	{
		if(obj.childNodes[n].className == 'menuHiddenL' 
				|| obj.childNodes[n].className == 'menuLHover'
				|| obj.childNodes[n].className == 'menuHiddenR' )
		{
			obj.childNodes[n].style.display = 'none';
		}
		if(obj.childNodes[n].className == 'menuL') 
		{
			obj.childNodes[n].style.display = 'block';
		}
	}
}

function menuHideHidden(obj)
{
	clearTimeout( menuTimeout );
	menuObject = obj;
	menuTimeout = setTimeout( 'menuHideHiddenReal()', 400 );
}

