var timerID = null;

//this function shows the pop-up menus

function showMenu(boxName,x,y) {
	clearTimeout(timerID);
	if (document.layers) {
		styleObj = eval('document.' + boxName);
		styleObj.top = y+7;
		styleObj.left = x+10;
	} else if (navigator.userAgent.indexOf("Opera") != -1) {
		styleObj = eval('document.all.' + boxName);
		styleObj.style.pixelTop = y+25;
		styleObj.style.pixelLeft = x;
	} else if (document.all && !document.getElementById) {
		styleObj = eval('document.all.' + boxName);
		styleObj.style.pixelTop = y;
		styleObj.style.pixelLeft = x;
	} else if (document.getElementById) {
		obj = document.getElementById(boxName);
		obj.style.top = y + "px";
		obj.style.left = x + "px";
	}
}

function hideIt(menuName) {
	funcVar = "showMenu('" + menuName + "',-300,300)";
	timerID = setTimeout(funcVar,800);
}