var selectsRun=false;

function showMenu( sCatID, sBackground, sHighLight, sContent, aEntries ) {
	var nLoop, sLinkCatID, sLinkZoneID, sLinkDescription;

	document.write("<div style=\"visibility:hidden; position:absolute; border:1px black solid;\" id=cat" + sCatID + ">");
	document.write("<table border=0 cellpadding=0 cellspacing=0 bgcolor=\"" + sBackground + "\" WIDTH=100>");

	for (nLoop = 0; nLoop < aEntries.length; nLoop++) {
		var aComponents=aEntries[nLoop].split("~");
		sLinkCatID = aComponents[0];
		sLinkZoneID = aComponents[1];
		sLinkDescription = aComponents[2];

		document.write("<TR>");
		document.write("<TD CLASS=\"sheet_link\" ONCLICK=\"Off(this," + sCatID+ ");gotoPage('" + sLinkCatID + "','" + sLinkZoneID + "');\" ONMOUSEOVER=\"this.style.backgroundColor='" + sHighLight + "';this.style.cursor='hand';this.style.textDecorationUnderline=false;\" ONMOUSEOUT=\"this.style.backgroundColor='';this.style.textDecorationUnderline=false;\">");
		document.write("<NOBR><IMG SRC=\"" + sContent + "/Spacer.gif\" HEIGHT=1 WIDTH=5 BORDER=0 HSPACE=0 VSPACE=0>");
		document.write(sLinkDescription);
		document.write("<IMG SRC=\"" + sContent + "/Spacer.gif\" HEIGHT=1 WIDTH=5 BORDER=0 HSPACE=0 VSPACE=0></NOBR>");
		document.write("</TD>");
		document.write("</TR>");
	}

	document.write("</table>");
	document.write("</div>");
}


agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0,7) == "Mozilla")
	if ( parseInt(agent.substring(8,9) ) >= 3)
		browserVer = 1;
