var MENUTIMEOUT = 1000;
var CURRENTMENU = null;
var MENUTIMEOUTSEED = 0;

function ShowFlyOut(mnu)
{
	HideFlyOutNow();
	clearTimeout(MENUTIMEOUTSEED);
	var subm = mnu.parentNode.getElementsByTagName("UL");
	if (subm.length > 0)
	{
		subm[0].style.display = "block";
		CURRENTMENU = subm[0];
	}
}

function HideFlyOutNow()
{
	if (CURRENTMENU) { CURRENTMENU.style.display = 'none' }
}

function HideFlyOut()
{
	MENUTIMEOUTSEED = self.setTimeout("HideFlyOutNow()", MENUTIMEOUT);
}
