var MenuItem = ""var MenuId = "0"var TableBG = "" // Location of the Background image for the menuvar TableColor = "#ACACAC" // Color of the menu, or color of the menu bordervar TableColor2 = "#CCCCCC" // Color of the menu, or color of the menu bordervar FontFace = "Verdana, Arial, Helvetica, sans-serif" // Font used in the menuvar FontSize = "1" // Font size used in the menuvar OuterBorder = "0"   // Border of the outermost tablevar OuterSpace = "0"    // Cellspacing for the outermost table var OuterPad = "0"      // Cellpadding for the outermost tablevar InnerBorder = "0"   // Border of the inside or second tablevar InnerSpace = "0"   // Cellspacing of the inside or second tablevar InnerPad = "0"      // Cellpadding of the inside or second tablevar ContentBorder = "0" // Border of the table that will actually contain the menu itemsvar ContentSpace = "1"  // Cellspacing of the table that will actually contain the menu itemsvar ContentPad = "0"    // Cellpadding of the table that will actually contain the menu items// Add Content Below;addItemNothing("0");addItemNothing("1");addItemHead("2");addSubItem("Register", "register.asp");addSubItem("Member Login", "stock.asp");addSubItem("Update Registration", "account.asp");addSubItem("Stock Search", "search.asp");addSubItem("Search Results", "results.asp");addSubItem("Lightbox", "lightbox.asp");addItemFoot();addItemNothing("3");addItemNothing("4");// Add Content Above;showSubMenu();function addItemNothing(MenuId) {	MenuItem += "<!-- Menu Bar Item " + MenuId + " -->\n";	MenuItem += "<div id='box" + MenuId + "' style='position: absolute; visibility: hidden'></div>\n";}function addItemHead(MenuId) {	MenuItem += "<!-- Menu Bar Item " + MenuId + " -->\n";	MenuItem += "<div id='box" + MenuId + "' style='position: absolute; visibility: hidden'>\n";	MenuItem += "<table border='" + OuterBorder + "' cellspacing='" + OuterSpace + "' cellpadding='" + OuterPad + "' bgcolor='" + TableColor + "'><tr><td><table border='" + InnerBorder + "' cellspacing='" + InnerPad + "' cellpadding='" + InnerSpace + "'><tr><td background='" + TableBG + "'><table border='" + ContentBorder + "' cellspacing='" + ContentSpace + "' cellpadding='" + ContentPad + "'>\n";}function addSubItem(Label, SubLink) {	MenuItem += "<tr onmouseover=\"this.style.backgroundColor='#84ACAC';\" onmouseout=\"this.style.backgroundColor='#CCCCCC';\" bgcolor='" + TableColor2 + "'><td class='submenu'><a href='" + SubLink + "' class='blacklink' onmouseover='mouseOverLayer(); clearIt()' onmouseout='mouseOutLayer(); timeIt()'><font size='" + FontSize + "' face='" + FontFace + "'><i><img src='images/bg_clear.gif' height='17' width='1' align='absmiddle' border='0'>&nbsp;" + Label + "&nbsp;</i></font></a></td></tr>\n";}function addItemFoot(Label, SubLink) {	MenuItem += "</table></td></tr></table></td></tr></table>\n";	MenuItem += "</div>\n";}function showSubMenu() {	document.write(MenuItem);}