var subM = new ItemStyle(22, 0, '', 15, 3, '15#ffecb7', '15#66300c', 'lowText', 'lowText2','', '', 85, 85, 'hand', 'default'); var hBar = new ItemStyle(30, 0, '', 0, 0, '', '#ffecb7', 'highText', 'highText', '', '', null, 60, 'hand', 'default'); var pMenu = new PopupMenu('pMenu'); with (pMenu){ /* MENU */ startMenu('rootc1', true, 'navLeft();', '102', 143, hBar); addItem('menu', 'D4.cfm', ''); /* JavaScript:doM_Content(4); */ addItem('contact', 'D6.cfm', ''); /* JavaScript:doM_Content(6); */ addItem('atmosphere', 'F3Menu', 'sm:');addItem('events', 'F4Menu', 'sm:'); startMenu('F1Menu', true, 95, 14, 200, subM, '', false); addItem('our menus', 'D4.cfm', ''); /* JavaScript:doM_Content(4); */ startMenu('F2Menu', true, 95, 14, 200, subM, '', false); addItem('contact us', 'D6.cfm', ''); /* JavaScript:doM_Content(6); */ startMenu('F3Menu', true, 95, 14, 200, subM, '', false); addItem('north location', 'D2.cfm', ''); /* JavaScript:doM_Content(2); */ addItem('south location', 'D3.cfm', ''); /* JavaScript:doM_Content(3); */ startMenu('F4Menu', true, 95, 14, 200, subM, '', false); addItem('north location', 'D7.cfm', ''); /* JavaScript:doM_Content(7); */ addItem('south location', 'D5.cfm', ''); /* JavaScript:doM_Content(5); */ }; addMenuBorder(pMenu, window.subBlank, null, '#666666', 1, '#CCCCDD', 2); if ((navigator.userAgent.indexOf('rv:0.')==-1) && !(isOp&&!document.documentElement) && !(isIE4&&!window.external)) { pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)'); pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -15)'); } page.elmPos=function(e,p) { var x=0,y=0,w=p?p:this.win; e=e?(e.substr?(isNS4?w.document.anchors[e]:getRef(e,w)):e):p; if(isNS4){if(e&&(e!=p)){x=e.x;y=e.y};if(p){x+=p.pageX;y+=p.pageY}} else if (e && e.focus && e.href && this.MS && /Mac/.test(navigator.platform)) { e.onfocus = new Function('with(event){self.tmpX=clientX-offsetX;' + 'self.tmpY=clientY-offsetY}'); e.focus();x=tmpX;y=tmpY;e.blur() } else while(e){x+=e.offsetLeft;y+=e.offsetTop;e=e.offsetParent} return{x:x,y:y}; }; function menuAnim(menuObj, menuName, dir) { var mD = menuObj.menu[menuName][0]; if (!mD.timer) mD.timer = 0; if (!mD.counter) mD.counter = 0; with (mD) {clearTimeout(timer); if (!lyr || !lyr.ref) return; if (!visNow && dir>0) dir = 0-dir; if (dir>0) lyr.vis('visible'); lyr.sty.zIndex = dir>0 ? mD.zIndex + 1 : 1001; lyr.clip(0, 0, menuW+2, (menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75) ); counter += dir; if (counter>100) { counter = 100; lyr.sty.zIndex = mD.zIndex } else if (counter<0) { counter = 0; lyr.vis('hidden') } else timer = setTimeout('menuAnim('+menuObj.myName+',"'+menuName+'",'+dir+')', 40); } }; function addMenuBorder(mObj, iS, alpha, bordCol, bordW, backCol, backW) {for (var mN in mObj.menu) { var mR=mObj.menu[mN], dS='