UserAgent = navigator.userAgent;
      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;

Opera = (window.opera) ? true : false;
if(Opera) {
    BrowserPattern = /Opera(\/| )(\d+.*)/;
    VersionSupported = 7;
}

Konqueror = (UserAgent.indexOf("Konqueror")!=-1);
if(Konqueror) {
    BrowserPattern = /(Konqueror\/)(\d+.*)/;
    VersionSupported = 3;
}

if(Opera || Konqueror) {
    if (UserAgent.match) {
       Matches = UserAgent.match(BrowserPattern);
       if (Matches&&Matches[2]) {
          BrowserVersion = parseFloat(Matches[2]);
       } else BrowserVersion = 0;
       IsMenu = (BrowserVersion >= VersionSupported);
    } else {
       BrowserVersion = 0;
       IsMenu = false;
    }
} else {
    BrowserVersion = 0;
    IsMenu = !IE4M && (DOM || NS4 || 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           = 10;
GL_FontBold           = true;
GL_FontItalic         = false;
GL_FontColor          = "black";
GL_FontColorOver      = "white";
GL_BGColor            = "transparent";
GL_BGColorOver        = "transparent";
GL_ItemPadding        = 0;

GL_BorderWidth        = 0;
GL_BorderColor        = "black";
GL_BorderStyle        = "solid";
GL_SeparatorSize      = 0;
GL_SeparatorColor     = "black";

GL_ImageSrc           = "";
GL_ImageSrcLeft       = "";

GL_ImageSrcOver       = "";
GL_ImageSrcLeftOver   = "";
GL_PreloadImages      = true;

GL_ImageSize          = 5;
GL_ImageHeight        = 9;
GL_ImageHorizSpace    = 5;
GL_ImageVertSpace     = "middle";

GL_KeepHilite         = false;
GL_ClickStart         = false;
GL_ClickKill          = 0;
GL_ChildOverlap       = 40;
GL_ChildOffset        = 10;
GL_ChildPerCentOver   = null;
GL_TopSecondsVisible  = .5;
GL_ChildSecondsVisible = .3;
GL_StatusDisplayBuild = 0;
GL_StatusDisplayLink  = 1;
GL_UponDisplay        = null;
GL_UponHide           = null;

GL_RightToLeft        = false;
GL_CreateTopOnly      = true;
GL_ShowLinkCursor     = true;

GL_ScrollEnabled      = true;
GL_ScrollOver         = (Opera) ? 1 : 0;
MacN7                 = (Mac&&(UserAgent.indexOf('Netscape/7')!=-1))?true:false;
GL_ScrollInterval     = (MacN7) ? 100 : 20;
GL_ScrollBarHeight    = 16;
GL_ScrollBarColor     = "lightgrey";
GL_ScrollImgSrcTop    = "";
GL_ScrollImgSrcBot    = "";
GL_ScrollImgWidth     = 9;
GL_ScrollImgHeight    = 5;
GL_ScrollBothBars     = true;

GL_HoverTimeTop       = 0;
GL_HoverTimeTree      = 0;

GL_ImageDir           = "";
ScriptDir             = "";

// The following function is included to illustrate the JS 
// expression handling of the left_position and top_position 
// parameters. You may delete if you have no use for it

function HW(kx){var b=0;var c=DOM?Hg.document.getElementById(kx):Hg[kx];var d=DOM?parseInt(c.style.width)+((Hjt||Hju)?0:Hu*2):IE4?c.style.pixelWidth:c.clip.width;var gh=IE?(DOM?Hh.clientWidth:Hg.document.body.clientWidth):Hg.innerWidth;
return Math.max(parseInt((gh-d)/2),b);}
f_CenterMenu=HW;

if(IsMenu) {
	BrowserString = NS4 ? "NS4" : Opera ? "OPR" : DOM ? "DOM" : "IE4";
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='" + ScriptDir + "ArraysFrames.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='" + ScriptDir + "Script"+ BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}

//end
