DOM = (document.getElementById) ? true : false;
NS4 = (document.layers) ? true : false;
IE = (document.all) ? true : false;
IE4 = IE && !DOM;
Mac = (navigator.appVersion.indexOf("Mac") != -1);
IE4M = IE4 && Mac;

//4.1
Opera = (navigator.userAgent.indexOf("Opera")!=-1);
Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

IsMenu = !Opera && !Konqueror && !IE4M && (DOM || NS4 || IE4);

BrowserString = NS4 ? "NS4" : DOM ? "DOM" : "IE4";


if(window.event + "" == "undefined") event = null;
function f_PopUp(){return false};
function f_PopDown(){return false};
popUp = f_PopUp;
popDown = f_PopDown;


GL_MenuWidth          = 150;
GL_FontFamily         = "Arial,sans-serif";
GL_FontSize           = 9;
GL_FontBold           = true;
GL_FontItalic         = false;
GL_FontColor          = "000066";
GL_FontColorOver      = "white";
GL_BGColor            = "transparent";
GL_BGColorOver        = "transparent";
GL_ItemPadding        = 3;

GL_BorderWidth        = 1;
GL_BorderColor        = "red";
GL_BorderStyle        = "solid";
GL_SeparatorSize      = 1;
GL_SeparatorColor     = "yellow";

GL_ImageSrc = "black_arrow.gif";
GL_ImageSrcLeft = "More_black_left.gif";

GL_ImageSrcOver = "More_white_right.gif";
GL_ImageSrcLeftOver = "More_white_left.gif";

GL_ImageSize          = 5;
GL_ImageHorizSpace    = 5;
GL_ImageVertSpace     = 5;

GL_KeepHilite         = false;
GL_ClickStart         = false;
GL_ClickKill          = 0;
GL_ChildOverlap       = 00;
GL_ChildOffset        = -.5;
GL_ChildPerCentOver   = null;
GL_TopSecondsVisible  = .5;
GL_ChildSecondsVisible = .3;
GL_StatusDisplayBuild = 0;
GL_StatusDisplayLink  = 1;
GL_UponDisplay        = null;
GL_UponHide           = null;

//GL_RightToLeft      = true;
GL_CreateTopOnly      = NS4 ? true : false;
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 f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = DOM ? document.getElementById(topmenuid) : IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = DOM ? parseInt(TheMenu.style.width) : IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = IE ? document.body.clientWidth : window.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='Script"+ BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}


//end