function mmLoadMenus() { if (window.mm_menu_0404182224_0) return; window.mm_menu_0404182224_0_1 = new Menu("Geothermal Heat Pumps",212,35,"Tahoma",11,"#333333","#FFFFFF","#E2E2E2","#B31D0E","left","middle",3,0,1000,-5,7,true,true,true,10,true,false); mm_menu_0404182224_0_1.addMenuItem("About Geothermal Heat Pumps","location='about-geo-thermal-heat-pumps.htm'"); mm_menu_0404182224_0_1.addMenuItem("Direct Evaporating","location='direct-evaporating.htm'"); mm_menu_0404182224_0_1.addMenuItem("Brine Water","location='brine-water.htm'"); mm_menu_0404182224_0_1.addMenuItem("Water to Water","location='water-to-water.htm'"); mm_menu_0404182224_0_1.addMenuItem("Aerothermal","location='aerothermal.htm'"); mm_menu_0404182224_0_1.addMenuItem("CO2","location='co2.htm'"); mm_menu_0404182224_0_1.addMenuItem("Domestic Hot Water","location='domestic-hot-water.htm'"); mm_menu_0404182224_0_1.hideOnMouseOut=true; mm_menu_0404182224_0_1.bgColor='#FFFFFF'; mm_menu_0404182224_0_1.menuBorder=1; mm_menu_0404182224_0_1.menuLiteBgColor='#FFFFFF'; mm_menu_0404182224_0_1.menuBorderBgColor='#FFFFFF'; window.mm_menu_0404182224_0_2 = new Menu("Underfloor Heating",180,35,"Tahoma",11,"#333333","#FFFFFF","#E2E2E2","#B31D0E","left","middle",3,0,1000,-5,7,true,true,true,10,true,false); mm_menu_0404182224_0_2.addMenuItem("About Underfloor Heating","location='about-under-floor-heating.htm'"); mm_menu_0404182224_0_2.addMenuItem("Gabo-tac","location='gabo-tac.htm'"); mm_menu_0404182224_0_2.addMenuItem("Gabo-1.2.3","location='gabo-123.htm'"); mm_menu_0404182224_0_2.addMenuItem("KB12","location='kb12.htm'"); mm_menu_0404182224_0_2.addMenuItem("GTF 70","location='gtf70.htm'"); mm_menu_0404182224_0_2.hideOnMouseOut=true; mm_menu_0404182224_0_2.bgColor='#FFFFFF'; mm_menu_0404182224_0_2.menuBorder=1; mm_menu_0404182224_0_2.menuLiteBgColor='#FFFFFF'; mm_menu_0404182224_0_2.menuBorderBgColor='#FFFFFF'; window.mm_menu_0404182224_0_3 = new Menu("Wall Heating",142,35,"Tahoma",11,"#333333","#FFFFFF","#E2E2E2","#B31D0E","left","middle",3,0,1000,-5,7,true,true,true,10,true,false); mm_menu_0404182224_0_3.addMenuItem("About Wall Heating","location='about-wall-heating.htm'"); mm_menu_0404182224_0_3.addMenuItem("Wet Systems","location='wet-systems.htm'"); mm_menu_0404182224_0_3.addMenuItem("Dry Systems","location='dry-systems.htm'"); mm_menu_0404182224_0_3.hideOnMouseOut=true; mm_menu_0404182224_0_3.bgColor='#FFFFFF'; mm_menu_0404182224_0_3.menuBorder=1; mm_menu_0404182224_0_3.menuLiteBgColor='#FFFFFF'; mm_menu_0404182224_0_3.menuBorderBgColor='#FFFFFF'; window.mm_menu_0404182224_0_4 = new Menu("Plumbing Systems",76,35,"Tahoma",11,"#333333","#FFFFFF","#E2E2E2","#B31D0E","left","middle",3,0,1000,-5,7,true,true,true,10,true,false); mm_menu_0404182224_0_4.addMenuItem("Products","location='plumbing-products.htm'"); mm_menu_0404182224_0_4.hideOnMouseOut=true; mm_menu_0404182224_0_4.bgColor='#FFFFFF'; mm_menu_0404182224_0_4.menuBorder=1; mm_menu_0404182224_0_4.menuLiteBgColor='#FFFFFF'; mm_menu_0404182224_0_4.menuBorderBgColor='#FFFFFF'; window.mm_menu_0404182224_0 = new Menu("root",170,35,"Tahoma",11,"#333333","#FFFFFF","#E2E2E2","#B31D0E","left","middle",3,0,1000,-5,7,true,true,true,10,true,false); mm_menu_0404182224_0.addMenuItem(mm_menu_0404182224_0_1); mm_menu_0404182224_0.addMenuItem(mm_menu_0404182224_0_2); mm_menu_0404182224_0.addMenuItem(mm_menu_0404182224_0_3); mm_menu_0404182224_0.addMenuItem(mm_menu_0404182224_0_4); mm_menu_0404182224_0.hideOnMouseOut=true; mm_menu_0404182224_0.childMenuIcon="arrows.gif"; mm_menu_0404182224_0.bgColor='#FFFFFF'; mm_menu_0404182224_0.menuBorder=1; mm_menu_0404182224_0.menuLiteBgColor='#FFFFFF'; mm_menu_0404182224_0.menuBorderBgColor='#FFFFFF'; mm_menu_0404182224_0.writeMenus(); } function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah) { this.version = "020320 [Menu; mm_menu.js]"; this.type = "Menu"; this.menuWidth = mw; this.menuItemHeight = mh; this.fontSize = fs; this.fontWeight = "plain"; this.fontFamily = fnt; this.fontColor = fclr; this.fontColorHilite = fhclr; this.bgColor = "#555555"; this.menuBorder = 1; this.menuBgOpaque=opq; this.menuItemBorder = 1; this.menuItemIndent = idt; this.menuItemBgColor = bg; this.menuItemVAlign = valgn; this.menuItemHAlign = halgn; this.menuItemPadding = pad; this.menuItemSpacing = space; this.menuLiteBgColor = "#ffffff"; this.menuBorderBgColor = "#777777"; this.menuHiliteBgColor = bgh; this.menuContainerBgColor = "#cccccc"; this.childMenuIcon = "arrows.gif"; this.submenuXOffset = sx; this.submenuYOffset = sy; this.submenuRelativeToItem = srel; this.vertical = vert; this.items = new Array(); this.actions = new Array(); this.childMenus = new Array(); this.hideOnMouseOut = true; this.hideTimeout = to; this.addMenuItem = addMenuItem; this.writeMenus = writeMenus; this.MM_showMenu = MM_showMenu; this.onMenuItemOver = onMenuItemOver; this.onMenuItemAction = onMenuItemAction; this.hideMenu = hideMenu; this.hideChildMenu = hideChildMenu; if (!window.menus) window.menus = new Array(); this.label = " " + label; window.menus[this.label] = this; window.menus[window.menus.length] = this; if (!window.activeMenus) window.activeMenus = new Array(); } function addMenuItem(label, action) { this.items[this.items.length] = label; this.actions[this.actions.length] = action; } function FIND(item) { if( window.mmIsOpera ) return(document.getElementById(item)); if (document.all) return(document.all[item]); if (document.getElementById) return(document.getElementById(item)); return(false); } function writeMenus(container) { if (window.triedToWriteMenus) return; var agt = navigator.userAgent.toLowerCase(); window.mmIsOpera = agt.indexOf("opera") != -1; if (!container && document.layers) { window.delayWriteMenus = this.writeMenus; var timer = setTimeout('delayWriteMenus()', 500); container = new Layer(100); clearTimeout(timer); } else if (document.all || document.hasChildNodes || window.mmIsOpera) { document.writeln(''); container = FIND("menuContainer"); } window.mmHideMenuTimer = null; if (!container) return; window.triedToWriteMenus = true; container.isContainer = true; container.menus = new Array(); for (var i=0; i