function showMenuInFrame(menuLabel, x, y) {
	if (!top.window.frames[1]) {
		return;
	}
	if (window.pageXOffset > -1) {
		x = x || top.window.frames[2].pageXOffset + 5;
		y = y || top.window.frames[2].pageYOffset + window.pageY;
	} else if (document.body) {
		x = x || top.window.frames[2].document.body.scrollLeft + 5;
		y = y || top.window.frames[2].document.body.scrollTop + window.pageY;
	}
	if (top.window.frames[2].showMenu) {
		top.window.frames[2].showMenu (menuLabel, x, y);
	}
}

function mouseTracker(e) {
	e = e || window.Event || window.event;
	window.pageX = e.pageX || e.clientX;
	window.pageY = e.pageY || e.clientY;
}

if (window.captureEvents) {
    window.captureEvents(Event.MOUSEMOVE | Event.MOUSEUP);
	window.onmousemove = mouseTracker;
} else {
	document.onmousemove = mouseTracker;
}

function onLoad() {
    if (document.layers) {
        loadMenus();
    }
}

function loadMenus () 
{

    window.glowMenu = new Menu("glow");
    glowMenu.addMenuItem("Performers", "location='glowperform.html'");
    glowMenu.addMenuItem("Location & Directions", "location='glowlocation.html'");
    glowMenu.addMenuItem("Tickets & Outlets", "location='glowticket.html'");

    glowMenu.fontSize = 14;
    glowMenu.fontWeight = "Bold";
    glowMenu.fontColor = "white";
    glowMenu.bgColor = "#CDB79E";
    glowMenu.menuItemBgColor = "#8B0000";
    glowMenu.menuHiliteBgColor = "#000084";
    glowMenu.menuItemHeight = 25;
    glowMenu.menuItemWidth = 172;

    window.hysteriaMenu = new Menu("hysteria");
    hysteriaMenu.addMenuItem("DJs", "location='hysteriadjs.html'");
    hysteriaMenu.addMenuItem("Location & Directions", "location='hystlocation.html'");
    hysteriaMenu.addMenuItem("Admission", "location='hystadmit.html'");

    hysteriaMenu.fontSize = 14;
    hysteriaMenu.fontWeight = "Bold";
    hysteriaMenu.fontColor = "white";
    hysteriaMenu.bgColor = "#CDB79E";
    hysteriaMenu.menuItemBgColor = "#8B0000";
    hysteriaMenu.menuHiliteBgColor = "#000084";
    hysteriaMenu.menuItemHeight = 25;
    hysteriaMenu.menuItemWidth = 172;
    
    hysteriaMenu.writeMenus();


}

