
   JD_DOM = (document.getElementById) ? true : false;
   JD_NS4 = (document.layers) ? true : false;
    JD_IE = (document.all) ? true : false;
   JD_IE4 = JD_IE && !JD_DOM;
   JD_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  JD_IE4M = JD_IE4 && JD_Mac;
 JD_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
 JD_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

JD_IsMenu = !JD_Opera && !JD_Konqueror && !JD_IE4M && (JD_DOM || JD_NS4 || JD_IE4);

JD_BrowserString = JD_NS4 ? "NS4" : JD_DOM ? "DOM" : "IE4";


if(window.event + "" == "undefined") event = null;
function JD_f_PopUp(){return false};
function JD_f_PopDown(){return false};
popUp = JD_f_PopUp;
popDown = JD_f_PopDown;


JD_GL_MenuWidth          = 150;
JD_GL_FontFamily         = "Arial,sans-serif";
JD_GL_FontSize           = 10;
JD_GL_FontBold           = true;
JD_GL_FontItalic         = false;
JD_GL_FontColor          = "#333399";
JD_GL_FontColorOver      = "white";
JD_GL_BGColor            = "white";
JD_GL_BGColorOver        = "#333399";
JD_GL_ItemPadding        = 5;

JD_GL_BorderWidth        = 2;
JD_GL_BorderColor        = "black";
JD_GL_BorderStyle        = "solid";
JD_GL_SeparatorSize      = 2;
JD_GL_SeparatorColor     = "black";

JD_GL_ImageSrc = "images/black_right_arrow.gif";
JD_GL_ImageSrcLeft = "images/black_left_arrow.gif";

JD_GL_ImageSrcOver = "images/white_right_arrow.gif";
JD_GL_ImageSrcLeftOver = "images/white_left_arrow.gif";

JD_GL_ImageSize          = 5;
JD_GL_ImageHorizSpace    = 5;
JD_GL_ImageVertSpace     = 5;

JD_GL_KeepHilite         = false;
JD_GL_ClickStart         = false;
JD_GL_ClickKill          = 0;
JD_GL_ChildOverlap       = 2;
JD_GL_ChildOffset        = -2;
JD_GL_ChildPerCentOver   = null;
JD_GL_TopSecondsVisible  = .5;
JD_GL_ChildSecondsVisible = .3;
JD_GL_StatusDisplayBuild = 0;
JD_GL_StatusDisplayLink  = 1;
JD_GL_UponDisplay        = null;
JD_GL_UponHide           = null;

JD_GL_RightToLeft      = false;
JD_GL_CreateTopOnly      = JD_NS4 ? true : false;
JD_GL_ShowLinkCursor     = true;

// 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 JD_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = JD_DOM ? document.getElementById(topmenuid) : JD_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = JD_DOM ? parseInt(TheMenu.style.width) : JD_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = JD_IE ? document.body.clientWidth : window.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(JD_IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/med_center/js/EM_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/med_center/js/JD_Script"+ JD_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}


//end