// JavaScript Document
var timerFlyout;
var inmenu;
var lastmenu = "";
function showFly(flyout) {
//alert(flyout);
inmenu = true;
oldmenu = lastmenu;
lastmenu = flyout;
if (oldmenu) hideFly(oldmenu);
theFlyout = document.getElementById(flyout);
//alert(theFlyout.id);
theFlyout.style.position = "relative";
theFlyout.style.visibility = "visible";
//theFlyout.style.left = "125px";
//theFlyout.style.top = "285px";
}
function hideTimer(flyout, timeout) {
//alert(flyout)
inmenu = false;
timerFlyout = setTimeout("hideFly('" + flyout + "');",timeout);
}
function hideFly(flyout) {
if (inmenu && lastmenu==flyout) return;
theFlyout = document.getElementById(flyout);
theFlyout.style.visibility = "hidden";
theFlyout.style.position = "absolute";
//theFlyout.style.left = "-1000px";

}
