/* Copyright (c) MaXimuS 1999-2000, All Rights Reserved. Site: http://www.absolutegb.com/maximus E-mail: maximus@nsimail.com modified for alco & Domino R5 bY Ark Consulting */ /* === START OF GENERIC CODE FOR HTML FILES ==== */ IE = (document.all) NS = (navigator.appName=="Netscape" && navigator.appVersion >= "4") // To set the link font color, edit the ".navMenu" style YOffset=167; NSYOffset=7; // Extra adjustment if menu in NS is not in desired spot but the menu in IE is... XOffset="2"; NSXOffset=7; // Extra adjustment if menu in NS is not in desired spot but the menu in IE is... staticMode="advanced"; staticYOffset=100; linkAlign="left"; linkSize="2"; linkFont="Arial"; linkColor="#0000CC"; linkBGColor="white"; linkHColor="#CC0000"; linkHBGColor="#CACACA"; hdrAlign="left"; hdrSize="2"; hdrFont="Arial"; hdrColor="#CC0000"; hdrBGColor="white"; menuIsStatic="no"; menuWidth=120; menuBGColor="white"; subWidth=20; subBGColor="white"; baseTarget=""; subMenus = new Array(); items = new Array(); sub = -1; names = -1; lastY = 0; function showNav(obj, e, which){ if (window.hiding){clearTimeout(hiding)} if (IE) { obj.style.pixelLeft=document.body.scrollLeft+event.clientX-event.offsetX+menuWidth-3 obj.style.pixelTop=document.body.scrollTop+event.clientY-event.offsetY-3 if (obj.style.pixelTop+obj.offsetHeight>document.body.scrollTop+document.body.clientHeight) { obj.style.pixelTop=document.body.scrollTop+document.body.clientHeight-obj.offsetHeight} obj.style.visibility="visible" for (xyz=0; xyzwindow.pageYOffset+window.innerHeight) { obj.top=window.pageYOffset+window.innerHeight-obj.document.height} obj.visibility="show"; for (xyz=0; xyz 0) smooth = Math.ceil(smooth); else smooth = Math.floor(smooth); if (IE) NM.pixelTop+=smooth; if (NS) NM.top+=smooth; lastY = lastY+smooth;} setTimeout('makeMenuStatic("smooth")', 1)} else if (mode=="advanced") { if ((IE||NS) && winY>YOffset-staticYOffset) { if (IE) {NM.pixelTop=winY+staticYOffset} if (NS) {NM.top=winY+staticYOffset}} else { if (IE) {NM.pixelTop=YOffset} if (NS) {NM.top=YOffset-NSYOffset}} setTimeout('makeMenuStatic("advanced")', 1)}} function startMenu(header){ if (IE){id='') navMenu.style.visibility="visible"} if (NS){ for (i=0; i
') cursub="sub"+subName} function endSubMenu() { document.write('
') if (NS){ for (i=0; i