/*Menu_Loader.js
* by Peter Belesis. v4.2.3 020402
* Copyright (c) 2002 Peter Belesis. All Rights Reserved.
*/

   Menu_DOM = (document.getElementById) ? true : false;
   Menu_NS4 = (document.layers) ? true : false;
    Menu_IE = (document.all) ? true : false;
   Menu_IE4 = Menu_IE && !Menu_DOM;
   Menu_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  Menu_IE4M = Menu_IE4 && Menu_Mac;
 Menu_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
 Menu_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

Menu_IsMenu = !Menu_Opera && !Menu_IE4M && (Menu_DOM || Menu_NS4 || Menu_IE4 || Menu_Konqueror);

Menu_BrowserString = Menu_NS4 ? "ns4" : Menu_DOM ? "dom" : "ie4";

if(window.event + "" == "undefined") event = null;
function Menu_f_PopUp(){return false};
function Menu_f_PopDown(){return false};
popUp = Menu_f_PopUp;
popDown = Menu_f_PopDown;

Menu_GL_MenuWidth = 151;
Menu_GL_FontFamily = (Menu_Mac)?"Verdana,sans-serif":"MS Sans Serif,sans-serif";
Menu_GL_FontSize = ((Menu_Mac&&Menu_NS4))?10:8;
Menu_GL_FontBold = 0;
Menu_GL_FontItalic = 0;
Menu_GL_FontColor 		= "black";
Menu_GL_FontColorOver 	= "white";
Menu_GL_BGColor 		= "#E0BEC0";
Menu_GL_BGColorOver 	= "maroon";
Menu_GL_ItemPadding = 3;

Menu_GL_BorderWidth = 2;
Menu_GL_BorderColor = "maroon";
Menu_GL_BorderStyle = "solid";
Menu_GL_SeparatorSize = 2;
Menu_GL_SeparatorColor = "maroon";

Menu_GL_ImageSrc = "https://server34.hostfactory.ch:8443/sitepreview/http/ssc-risa.ch/script/arrow_black_right.gif";
Menu_GL_ImageSrcLeft = "https://server34.hostfactory.ch:8443/sitepreview/http/ssc-risa.ch/script/arrow_black_left.gif";

Menu_GL_ImageSrcOver = "https://server34.hostfactory.ch:8443/sitepreview/http/ssc-risa.ch/script/arrow_white_right.gif";
Menu_GL_ImageSrcLeftOver = "https://server34.hostfactory.ch:8443/sitepreview/http/ssc-risa.ch/script/arrow_white_left.gif";

Menu_GL_ImageSize       = 5;
Menu_PG_ImageHorizSpace = 0;
Menu_PG_ImageVertSpace  = 2;

Menu_GL_KeepHilite = false; 
Menu_GL_ClickStart = 0;
Menu_GL_ClickKill = 0;
Menu_GL_ChildOverlap = 8;
Menu_GL_ChildOffset = 2;

Menu_GL_StatusDisplayBuild = 0;
Menu_GL_StatusDisplayLink = 1;
Menu_GL_UponDisplay = null;
Menu_GL_UponHide = null;
Menu_GL_RightToLeft = false;

Menu_GL_CreateTopOnly = (Menu_IE&&Menu_DOM&&Menu_Mac) ? 0 : 1;
Menu_GL_ShowLinkCursor = 1;
Menu_GL_NSFontOver = true;
Menu_GL_TopSecondsVisible  = .5;

Menu_GL_ScrollEnabled = false;
Menu_GL_ScrollBarHeight = 14;
Menu_GL_ScrollBarColor = "lightgrey";
Menu_GL_ScrollImgSrcTop = "/dhtml/hiermenus/scripts/Menu_More_black_top.gif";
Menu_GL_ScrollImgSrcBot = "/dhtml/hiermenus/scripts/Menu_More_black_bot.gif";
Menu_GL_ScrollImgWidth = 9;
Menu_GL_ScrollImgHeight = 5;

Menu_a_TreesToBuild = [1];

Menu_GL_HoverTimeTop = 0;
Menu_GL_HoverTimeTree = 0;

// 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 Menu_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = Menu_DOM ? document.getElementById(topmenuid) : window[topmenuid];
	var TheMenuWidth = Menu_DOM ? parseInt(TheMenu.style.width) : Menu_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = Menu_IE ? (Menu_DOM ? Menu_Canvas.clientWidth : document.body.clientWidth) : window.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(Menu_IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='https://server34.hostfactory.ch:8443/sitepreview/http/ssc-risa.ch/script/menu_arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='https://server34.hostfactory.ch:8443/sitepreview/http/ssc-risa.ch/script/menu_script"+ Menu_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}


//end

