/*hm_Loader.js
* by Peter Belesis. v4.1.3 011108
* Copyright (c) 2001 Peter Belesis. All Rights Reserved.
*/

   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_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
 hm_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

hm_IsMenu = !hm_Opera && !hm_Konqueror && !hm_IE4M && (hm_DOM || hm_NS4 || hm_IE4);

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          = 205;
hm_GL_FontFamily         = "Arial,sans-serif";
hm_GL_FontSize           = 10;
hm_GL_FontBold           = true;
hm_GL_FontItalic         = false;
hm_GL_FontColor          = "black";
hm_GL_FontColorOver      = "white";
hm_GL_BGColor            = "transparent";
hm_GL_BGColorOver        = "transparent";
hm_GL_ItemPadding        = 3;

hm_GL_BorderWidth        = 2;
hm_GL_BorderColor        = "red";
hm_GL_BorderStyle        = "solid";
hm_GL_SeparatorSize      = 2;
hm_GL_SeparatorColor     = "yellow";

hm_GL_ImageSrc = "hm_More_black_right.gif";
hm_GL_ImageSrcLeft = "hm_More_black_left.gif";

hm_GL_ImageSrcOver = "hm_More_white_right.gif";
hm_GL_ImageSrcLeftOver = "hm_More_white_left.gif";

hm_GL_ImageSize          = 5;
hm_GL_ImageHorizSpace    = 5;
hm_GL_ImageVertSpace     = 5;

hm_GL_KeepHilite         = false;
hm_GL_ClickStart         = false;
hm_GL_ClickKill          = 0;
hm_GL_ChildOverlap       = 40;
hm_GL_ChildOffset        = 10;
hm_GL_ChildPerCentOver   = null;
hm_GL_TopSecondsVisible  = .5;
hm_GL_ChildSecondsVisible = .3;
hm_GL_StatusDisplayBuild = 0;
hm_GL_StatusDisplayLink  = 1;
hm_GL_UponDisplay        = null;
hm_GL_UponHide           = null;

hm_GL_RightToLeft      = false;
hm_GL_CreateTopOnly      = hm_NS4 ? true : false;
hm_GL_ShowLinkCursor     = true;

// the following function is included to illustrate the improved JS expression handling of
// the left_position and top_position parameters introduced in 4.0.9
// and modified in 4.1.3 to account for IE6 standards-compliance mode
// you may delete if you have no use for it

function hm_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 210;
	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 ? (hm_DOM ? hm_IEcanvas.clientWidth : document.body.clientWidth) : window.innerWidth;
var setwidth=Math.max(parseInt(((TheWindowWidth-757)/2)+206),MinimumPixelLeft);
return Math.max(parseInt(((TheWindowWidth-757)/2)+206),MinimumPixelLeft);
}

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