
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 = (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;

MenuWidth          = 150;
FontFamily         = "Arial,sans-serif";
FontSize           = Mac ? 10 : 8;
FontBold           = false;
FontItalic         = false;
FontColor          = "black";
FontColorOver      = "white";
BGColor            = "white";
BGColorOver        = "black";
ItemPadding        = 3;

BorderWidth        = 1;
BorderColor        = "red";
BorderStyle        = "solid";
SeparatorSize      = 1;
SeparatorColor     = "yellow";
ImageSrc           = "pics/tri.gif";
ImageSrcLeft       = "pics/tril.gif";
ImageSize          = 10;
ImageHorizSpace    = 5;
ImageVertSpace     = 3;

KeepHilite         = false;
ClickStart         = false;
ClickKill          = 0;
ChildOverlap       = 20;
ChildOffset        = 5;
ChildPerCentOver   = null;
TopSecondsVisible  = .5;
StatusDisplayBuild = 0;
StatusDisplayLink  = 1;
UponDisplay        = null;
UponHide           = null;

RightToLeft      = false;
CreateTopOnly      = true;
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