/*HM_Loader.js
* by Peter Belesis. v4.0.4 010206
* Copyright (c) 2001 Peter Belesis. All Rights Reserved.
*/

// Modify variables labeled HM_GL_****** below.  These are the global variables.
// Same variables in HM_Arrays.js override these globals.
// None of the browser detect code was altered from original Hiermenus 4.0.4 script.
// dm - 3/2/00

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_MenuWidth          = 170;
HM_GL_FontFamily         = "Verdana, Arial, Helvetica";
HM_GL_FontSize           = 8;
HM_GL_FontBold           = false;
HM_GL_FontItalic         = false;
HM_GL_FontColor          = "white";
HM_GL_FontColorOver      = "#FF9A31"; // Orange
HM_GL_BGColor            = "#336699"; // Dark blue
HM_GL_BGColorOver        = "#336699"; // Dark blue
HM_GL_ItemPadding        = 2;

HM_GL_BorderWidth        = 1;
HM_GL_BorderColor        = "#99ccff"; //Light blue
HM_GL_BorderStyle        = "solid";
HM_GL_SeparatorSize      = 1;
HM_GL_SeparatorColor     = "#99ccff"; //Light blue
HM_GL_ImageSrc           = "/images/mn_arrow.gif";
HM_GL_ImageSrcLeft       = "";
HM_GL_ImageSize          = 16;	//16
HM_GL_ImageHorizSpace    = 0;
HM_GL_ImageVertSpace     = -3;

HM_GL_KeepHilite         = false;
HM_GL_ClickStart         = false;
HM_GL_ClickKill          = 0;
HM_GL_ChildOverlap       = 1
HM_GL_ChildOffset        = -1;
HM_GL_ChildPerCentOver   = null;
HM_GL_TopSecondsVisible  = .2;
HM_GL_StatusDisplayBuild = 0;
HM_GL_StatusDisplayLink  = 1;
HM_GL_UponDisplay        = null;
HM_GL_UponHide           = null;

//HM_GL_RightToLeft        = true;
// HM_GL_CreateTopOnly    = true;
HM_GL_ShowLinkCursor     = true;


if(HM_IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='HM_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}
//end

// Hiermenus has loaded its menus, so additional scripts can now be called.
//
// NOTE: Hiermenus runs within the body onload event, so any additional
// scripts you call below are being run within body onload.
loadCSSFile()

