HM_DOM = (document.getElementById) ? true : false; HM_NS4 = (document.layers) ? true : false; HM_IE = (document.all) ? true : false; HM_IE4 = HM_IE && !HM_DOM; HM_Mac = (navigator.appVersion.indexOf("Mac") != -1); HM_IE4M = HM_IE4 && HM_Mac; HM_IsMenu = (HM_DOM || HM_NS4 || (HM_IE4 && !HM_IE4M)); HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4"; if(window.event + "" == "undefined") event = null; function HM_f_PopUp(){return false}; function HM_f_PopDown(){return false}; popUp = HM_f_PopUp; popDown = HM_f_PopDown; HM_GL_FontFamily = "Arial,sans-serif"; // font family HM_GL_FontSize = 8; // font size HM_GL_FontBold = false; // bold HM_GL_FontItalic = false; // italic HM_GL_ItemPadding = 2; // Padding (Space between boders and items of the cell) HM_GL_BorderWidth = 1; // Boder size HM_GL_SeparatorSize = 2; // Separator size HM_GL_ImageSrc = "HM_More_black_right.gif"; // arrow image right HM_GL_ImageSrcLeft = "HM_More_black_left.gif"; // arrow image left HM_GL_ImageSrcOver = "HM_More_white_right.gif"; // arrow image Mover right HM_GL_ImageSrcLeftOver = "HM_More_white_left.gif"; // arrow image Mover left HM_GL_ImageSize = 5; // arrow image size HM_GL_ImageHorizSpace = 5; // horiz. space between arrow image and border HM_GL_ImageVertSpace = 5; // distance from arrow image to top HM_GL_KeepHilite = false; // keep Hilite when MouseOut HM_GL_ClickStart = false; // need click to open menu HM_GL_ClickKill = 0; // need click to close menu HM_GL_ChildOverlap = 10; // horizontal overlap of submenu HM_GL_ChildOffset = 10; // vertical distance of submenu from parent HM_GL_ChildPerCentOver = null; // percentage of horiz. overlap (priority higher than ChildOverLap) HM_GL_TopSecondsVisible = .5; // Time (s) to close menu on MouseOut HM_GL_ChildSecondsVisible = .3; // Time (s) to close submenu on MouseOut HM_GL_StatusDisplayBuild = 0; // Show message in Status Bar HM_GL_StatusDisplayLink = 1; // Show links in Status Bar HM_GL_RightToLeft = false; // Left opening submenus HM_GL_CreateTopOnly = HM_NS4 ? true : false; // do not change! HM_GL_ShowLinkCursor = true; // Show cursor as Link Cursor (Hand) // the following function is included to illustrate the improved JS expression handling of // the left_position and top_position parameters // you may delete if you have no use for it function HM_f_CenterMenu(topmenuid) { var MinimumPixelLeft = 0; var TheMenu = HM_DOM ? document.getElementById(topmenuid) : HM_IE4 ? document.all(topmenuid) : eval("window." + topmenuid); var TheMenuWidth = HM_DOM ? parseInt(TheMenu.style.width) : HM_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width; var TheWindowWidth = HM_IE ? document.body.clientWidth : window.innerWidth; return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft); } if(HM_IsMenu) { document.write("<\/SCR" + "IPT>"); document.write("<\/SCR" + "IPT>"); } //end