
   TE_DOM = (document.getElementById) ? true : false;
   TE_NS4 = (document.layers) ? true : false;
    TE_IE = (document.all) ? true : false;
   TE_IE4 = TE_IE && !TE_DOM;
   TE_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  TE_IE4M = TE_IE4 && TE_Mac;

//4.1
 TE_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
 TE_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

TE_IsMenu = !TE_Opera && !TE_Konqueror && !TE_IE4M && (TE_DOM || TE_NS4 || TE_IE4);

TE_BrowserString = TE_NS4 ? "NS4" : TE_DOM ? "DOM" : "IE4";


if(window.event + "" == "undefined") event = null;
function TE_f_PopUp(){return false};
function TE_f_PopDown(){return false};
popUp = TE_f_PopUp;
popDown = TE_f_PopDown;


TE_GL_MenuWidth          = 150;
TE_GL_FontFamily         = "Arial,sans-serif";
TE_GL_FontSize           = 10;
TE_GL_FontBold           = true;
TE_GL_FontItalic         = false;
TE_GL_FontColor          = "white";
TE_GL_FontColorOver      = "black";
TE_GL_BGColor            = "transparent";
TE_GL_BGColorOver        = "transparent";
TE_GL_ItemPadding        = 3;

TE_GL_BorderWidth        = 2;
TE_GL_BorderColor        = "red";
TE_GL_BorderStyle        = "solid";
TE_GL_SeparatorSize      = 2;
TE_GL_SeparatorColor     = "yellow";

TE_GL_ImageSrc = "TE_More_black_right.gif";
TE_GL_ImageSrcLeft = "TE_More_black_left.gif";

TE_GL_ImageSrcOver = "TE_More_white_right.gif";
TE_GL_ImageSrcLeftOver = "TE_More_white_left.gif";

TE_GL_ImageSize          = 5;
TE_GL_ImageHorizSpace    = 5;
TE_GL_ImageVertSpace     = 5;

TE_GL_KeepHilite         = false;
TE_GL_ClickStart         = false;
TE_GL_ClickKill          = 0;
TE_GL_ChildOverlap       = 40;
TE_GL_ChildOffset        = 10;
TE_GL_ChildPerCentOver   = null;
TE_GL_TopSecondsVisible  = .5;
TE_GL_ChildSecondsVisible = .3;
TE_GL_StatusDisplayBuild = 0;
TE_GL_StatusDisplayLink  = 1;
TE_GL_UponDisplay        = null;
TE_GL_UponHide           = null;

//TE_GL_RightToLeft      = true;
TE_GL_CreateTopOnly      = TE_NS4 ? true : false;
TE_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 TE_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = TE_DOM ? document.getElementById(topmenuid) : TE_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = TE_DOM ? parseInt(TheMenu.style.width) : TE_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = TE_IE ? document.body.clientWidth : window.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(TE_IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='nscript/TE_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='nscript/TE_Script"+ TE_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}


//end