/*DS_Loader.js



* by Peter Belesis. v4.1.3 011108



* Copyright (c) 2001 Peter Belesis. All Rights Reserved.



*/



DS_DOM = (document.getElementById) ? true : false;



DS_NS4 = (document.layers) ? true : false;



DS_IE = (document.all) ? true : false;



DS_IE4 = DS_IE && !DS_DOM;



DS_Mac = (navigator.appVersion.indexOf("Mac") != -1);



DS_IE4M = DS_IE4 && DS_Mac;



DS_Opera = (navigator.userAgent.indexOf("Opera")!=-1);



DS_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);



DS_IsMenu = !DS_Opera && !DS_Konqueror && !DS_IE4M && (DS_DOM || DS_NS4 || DS_IE4);



DS_BrowserString = DS_NS4 ? "NS4" : DS_DOM ? "DOM" : "IE4";







if(window.event + "" == "undefined") event = null;



function DS_f_PopUp(){return false};



function DS_f_PopDown(){return false};



popUp = DS_f_PopUp;



popDown = DS_f_PopDown;







DS_GL_MenuWidth          = 200;



DS_GL_FontFamily         = "Arial,sans-serif";



DS_GL_FontSize           = 10;



DS_GL_FontBold           = true;



DS_GL_FontItalic         = false;



DS_GL_FontColor          = "999999";



DS_GL_FontColorOver      = "cc0066";



DS_GL_BGColor            = "white";



DS_GL_BGColorOver        = "white";



DS_GL_ItemPadding        = 1;







DS_GL_BorderWidth        = 1;



DS_GL_BorderColor        = "999999";



DS_GL_BorderStyle        = "solid";



DS_GL_SeparatorSize      = 1;



DS_GL_SeparatorColor     = "white";







DS_GL_ImageSrc = "DS_More_black_right.gif";



DS_GL_ImageSrcLeft = "DS_More_black_left.gif";







DS_GL_ImageSrcOver = "DS_More_white_right.gif";



DS_GL_ImageSrcLeftOver = "DS_More_white_left.gif";







DS_GL_ImageSize          = 5;



DS_GL_ImageHorizSpace    = 5;



DS_GL_ImageVertSpace     = 5;







DS_GL_KeepHilite         = false;



DS_GL_ClickStart         = false;



DS_GL_ClickKill          = 0;



DS_GL_ChildOverlap       = 10;



DS_GL_ChildOffset        = 10;



DS_GL_ChildPerCentOver   = null;



DS_GL_TopSecondsVisible  = 2;



DS_GL_ChildSecondsVisible = 1.4;



DS_GL_StatusDisplayBuild = 0;



DS_GL_StatusDisplayLink  = 1;



DS_GL_UponDisplay        = null;



DS_GL_UponHide           = null;







DS_GL_RightToLeft      = false;



DS_GL_CreateTopOnly      = DS_NS4 ? true : false;



DS_GL_ShowLinkCursor     = true;







// the following function is included to illustrate the improved JS expression handling of



// the left_position and top_position parameters introduced in 4.0.9



// and modified in 4.1.3 to account for IE6 standards-compliance mode



// you may delete if you have no use for it







function DS_f_CenterMenu(topmenuid) {



	var MinimumPixelLeft = 0;



	var TheMenu = DS_DOM ? document.getElementById(topmenuid) : DS_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);



	var TheMenuWidth = DS_DOM ? parseInt(TheMenu.style.width) : DS_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;



	var TheWindowWidth = DS_IE ? (DS_DOM ? DS_IEcanvas.clientWidth : document.body.clientWidth) : window.innerWidth;



	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);



}







if(DS_IsMenu) {



	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='navpopouts.js' TYPE='text/javascript'><\/SCR" + "IPT>");



	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='DS_Script"+ DS_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");



}



//end