

   BB_DOM = (document.getElementById) ? true : false;
   BB_NS4 = (document.layers) ? true : false;
    BB_IE = (document.all) ? true : false;
   BB_IE4 = BB_IE && !BB_DOM;
   BB_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  BB_IE4M = BB_IE4 && BB_Mac;
 BB_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
 BB_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

BB_IsMenu = !BB_Opera && !BB_Konqueror && !BB_IE4M && (BB_DOM || BB_NS4 || BB_IE4);

BB_BrowserString = BB_NS4 ? "NS4" : BB_DOM ? "DOM" : "IE4";


if(window.event + "" == "undefined") event = null;
function BB_f_PopUp(){return false};
function BB_f_PopDown(){return false};
popUp = BB_f_PopUp;
popDown = BB_f_PopDown;


BB_GL_MenuWidth          =300;
BB_GL_FontFamily         = "Verdana,sans-serif";
BB_GL_FontSize           = 10;
BB_GL_FontBold           = true;
BB_GL_FontItalic         = false;
BB_GL_FontColor          = "white";
BB_GL_FontColorOver      = "#0d07fc";
BB_GL_BGColor            = "black";
BB_GL_BGColorOver        = "black";
BB_GL_ItemPadding        = 3;

BB_GL_BorderWidth        = 0;
BB_GL_BorderColor        = "black";
BB_GL_BorderStyle        = "solid";
BB_GL_SeparatorSize      = 2;
BB_GL_SeparatorColor     = "white";

BB_GL_ImageSrc = "BB_More_white_right.gif";
BB_GL_ImageSrcLeft = "BB_More_white_left.gif";

BB_GL_ImageSrcOver = "BB_More_white_right.gif";
BB_GL_ImageSrcLeftOver = "BB_More_white_left.gif";

BB_GL_ImageSize          = 5;
BB_GL_ImageHorizSpace    = 5;
BB_GL_ImageVertSpace     = 5;

BB_GL_KeepHilite         = false;
BB_GL_ClickStart         = false;
BB_GL_ClickKill          = 0;
//BB_GL_ChildOverlap       = 40;
//BB_GL_ChildOffset        = 10;
BB_GL_ChildOverlap       = 20;
BB_GL_ChildOffset        = 10;
BB_GL_ChildPerCentOver   = null;
BB_GL_TopSecondsVisible  = .5;
BB_GL_ChildSecondsVisible = .3;
BB_GL_StatusDisplayBuild = 0;
BB_GL_StatusDisplayLink  = 1;
BB_GL_UponDisplay        = null;
BB_GL_UponHide           = null;

BB_GL_RightToLeft      = false;
BB_GL_CreateTopOnly      = BB_NS4 ? true : false;
BB_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 BB_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = BB_DOM ? document.getElementById(topmenuid) : BB_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = BB_DOM ? parseInt(TheMenu.style.width) : BB_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = BB_IE ? document.body.clientWidth : window.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(BB_IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='BB_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='BB_Script"+ BB_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}


//end
