/*HM_Loader.js
* NHSL site license for use on NH.Gov
* Modification for NHSLC
*/

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_IE4M && (HM_DOM || HM_NS4 || HM_IE4 || HM_Konqueror);

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;

//************* The following colors may be changed to match the template being used *********
HM_GL_FontColor          = "#660000";	//navigation bar background color from template
HM_GL_BGColor            = "#ffcc66";	//leftlink font color fom css
HM_GL_FontColorOver      = "#ffffff";	//leftlink:hover font color from css
HM_GL_BGColorOver        = "#660000";	//separator color at bottom of banner
HM_GL_BorderColor        = "#660000";	//navigation bar background color from template

//************* The following needs to reflect where these routines are installed ************
HM_GL_ImageSrc = "template/arrow.gif";		//set directory to where this is installed
HM_GL_ImageSrcLeft = "template/arrow.gif";		//set directory to where this is installed
HM_GL_ImageSrcOver = "template/white_arrow.gif";	//set directory to where this is installed
HM_GL_ImageSrcLeftOver = "template/white_arrow.gif";	//set directory to where this is installed

HM_GL_MenuWidth          = 175;
HM_GL_FontFamily         = "Verdana,Arial,Helvitica,sans-serif";   //NH.Gov required font face - do not change
HM_GL_FontSize           = 8;
HM_GL_FontBold           = true;
HM_GL_FontItalic         = false;
HM_GL_ItemPadding        = 3;
HM_GL_BorderWidth        = 2;
HM_GL_BorderStyle        = "solid";
HM_GL_SeparatorSize      = 2;
HM_GL_SeparatorColor     = "transparent";
HM_GL_ImageSize          = 10;
HM_GL_ImageHorizSpace    = 5;
HM_GL_ImageVertSpace     = 0;
HM_GL_KeepHilite         = true;
HM_GL_ClickStart         = false;
HM_GL_ClickKill          = false;
HM_GL_ChildOverlap       = 20;
HM_GL_ChildOffset        = 0;
HM_GL_ChildPerCentOver   = null;
HM_GL_TopSecondsVisible  = .5;
HM_GL_ChildSecondsVisible = .1;
HM_GL_StatusDisplayBuild = 0;
HM_GL_StatusDisplayLink  = true;
HM_GL_UponDisplay        = null;
HM_GL_UponHide           = null;
HM_GL_RightToLeft        = false;
HM_GL_CreateTopOnly      = true;
HM_GL_ShowLinkCursor     = true;
HM_GL_ScrollEnabled      = false;
HM_GL_ScrollBarHeight    = 14;
HM_GL_ScrollBarColor     = "lightgrey";
HM_GL_ScrollImgSrcTop    = "HM_More_black_top.gif";
HM_GL_ScrollImgSrcBot    = "HM_More_black_bot.gif";
HM_GL_ScrollImgWidth     = 9;
HM_GL_ScrollImgHeight    = 5;
HM_GL_ScrollBothBars     = false;
HM_GL_HoverTimeTop       = 500;
HM_GL_HoverTimeTree      = 500;

//********** set directory in SRC= in the two lines below to where these routines are installed
//********** the HM_Arrays.js contains the menu structure and may be in a directory other than the one with this code
if(HM_IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='template/HM_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='template/HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}

//end
