function InitOTMenu() { //step one - is this browser OK for our menu? // TO DO - add real browser detection here. if ( blnUseDropDown ) { TOP_BAR_COLOR = "transparent" // The top level navigational bar color. TOP_BAR_COLOR_OVER = "#162B46" // The top level bar color, when mouse is over it. TOP_TEXT_COLOR = "#ffffff" // The top level bar text color. TOP_TEXT_COLOR_OVER = "#ffffff" // The top level bar text color, when mouse is over it. MENU_TEXT_COLOR = "#ffffff" // Menu text when not MouseOver MENU_TEXT_COLOR_OVER = "white" // Menu text when MouseOver MENU_BACKCOLOR = "#162B46" // The background color of the menu. MENU_BACKCOLOR_OVER = "#666699" // What color should the background be when mouse is over it. MENU2_TEXT_COLOR = "#ffffff" // Menu text when not MouseOver MENU2_TEXT_COLOR_OVER = "white" // Menu text when MouseOver MENU2_BACKCOLOR = "#666699" // The background color of the menu. MENU2_BACKCOLOR_OVER = "#162B46" // What color should the background be when mouse is over it. document.write(''); otmenu = new makeCM("otmenu"); otmenu.frames = 1; //Menu properties otmenu.pxBetween=0; if (IsHomePage) { left = 50; intFromTop = 142; } else { left = 188; intFromTop = 1; } otmenu.fromLeft=left; otmenu.fromTop=intFromTop; otmenu.fromRight=120; otmenu.rows=1 ; otmenu.menuPlacement="left"; otmenu.checkselect=1; otmenu.offlineRoot="/"; otmenu.onlineRoot="/"; otmenu.resizeCheck = 1; otmenu.wait=500; otmenu.zIndex=1; //Background bar properties otmenu.useBar=0; otmenu.barWidth="100%"; otmenu.barHeight="menu"; otmenu.barClass="clBar"; otmenu.barX=0; otmenu.barY=0; otmenu.barBorderX=0; otmenu.barBorderY=0; otmenu.barBorderClass=""; //Level properties - ALL properties have to be spesified in level 0 otmenu.level[0]=new cm_makeLevel(); //Add this for each new level otmenu.level[0].width=60; otmenu.level[0].height=30; otmenu.level[0].regClass="clLevel0"; otmenu.level[0].overClass="clLevel0over"; otmenu.level[0].borderX=0; otmenu.level[0].borderY=0; otmenu.level[0].borderClass="clLevel0border"; otmenu.level[0].offsetX=0; otmenu.level[0].offsetY=0; otmenu.level[0].rows=0; otmenu.level[0].arrow=0; otmenu.level[0].arrowWidth=0; otmenu.level[0].arrowHeight=0; otmenu.level[0].align="bottom"; //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this otmenu.level[1]=new cm_makeLevel(); //Add this for each new level (adding one to the number) otmenu.level[1].borderClass="clLevel1border"; otmenu.level[1].arrow = "media/img/globalnav-arrow.jpg"; otmenu.level[1].arrowWidth = 7; otmenu.level[1].arrowHeight = 7 ; otmenu.level[1].width=otmenu.level[0].width + 90; otmenu.level[1].height=20; otmenu.level[1].regClass="clLevel1"; otmenu.level[1].overClass="clLevel1over"; otmenu.level[1].borderX=1; otmenu.level[1].borderY=1; otmenu.level[1].align="right"; otmenu.level[1].offsetX=-(otmenu.level[0].width)/2+30; otmenu.level[1].offsetY=0; //EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this otmenu.level[2]=new cm_makeLevel(); //Add this for each new level (adding one to the number) otmenu.level[2].width=140; otmenu.level[2].height=20; otmenu.level[2].offsetX=0; otmenu.level[2].offsetY=0; otmenu.level[2].borderX=1; otmenu.level[2].borderY=1; otmenu.level[2].regClass="clLevel2"; otmenu.level[2].overClass="clLevel2over"; otmenu.level[2].borderClass="clLevel2border"; otmenu.makeMenu('item01','','referenz','german/start-gimsys-01.htm','','168','18','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('item01x1000','item01','[gimsys]','german/start-gimsys-01.htm','','120','20','','','','',''); // otmenu.makeMenu('item01x1100','item01x1000','menue01-01-01','path','','110','','','','','',''); // otmenu.makeMenu('item01x1200','item01x1000','menue01-01-02','path','','110','','','','','',''); // otmenu.makeMenu('item01x1210','item01x1200','menue01-01-02-01','path','','110','','','','','',''); // otmenu.makeMenu('item01x1220','item01x1200','menue01-01-02-02','path','','110','','','','','',''); // otmenu.makeMenu('item01x1230','item01x1200','menue01-01-02-03','path','','110','','','','','',''); // otmenu.makeMenu('item01x1300','item01x1000','menue01-01-03','path','','110','','','','','',''); otmenu.makeMenu('item01x2000','item01','kunden','german/kunden-01.htm','','120','','','','','',''); otmenu.makeMenu('item01x3000','item01','cv. m. roenneburg [de]','german/vita-deutsch-01.htm','','120','','','','','',''); otmenu.makeMenu('item01x4000','item01','cv. m. roenneburg [en]','german/vita-english-01.htm','','120','','','','','',''); } otmenu.makeMenu('item02','','leistung','german/leistung-automobilindustrie-01.htm','','168','18','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('item02x1000','item02','autmobilindustrie','german/leistung-automobilindustrie-01.htm','','180','','','','','',''); otmenu.makeMenu('item02x2000','item02','pharmazie u. medizintechnik','german/leistung-pharmazie-medizin-01.htm','','180','','','','','',''); otmenu.makeMenu('item02x3000','item02','luft- und schienenverkehr','german/leistung-luft-schienenverkehr-01.htm','','180','','','','','',''); otmenu.makeMenu('item02x4000','item02','interim management','german/leistung-interim-management-01.htm','','180','','','','','',''); } otmenu.makeMenu('item03','','aktuell','german/aktuell-automobilindustrie-01.htm','','168','18','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('item03x1000','item03','automobilindustrie','german/aktuell-automobilindustrie-01.htm','','180','','','','','',''); otmenu.makeMenu('item03x2000','item03','pharmazie u. medizintechnik','german/aktuell-pharmazie-medizin-01.htm','','180','','','','','',''); otmenu.makeMenu('item03x3000','item03','luft- und schienenverkehr','german/aktuell-luft-schienenverkehr-01.htm','','180','','','','','',''); otmenu.makeMenu('item03x4000','item03','management','german/aktuell-management-01.htm','','180','','','','','',''); } //otmenu.makeMenu('item04','','partner','services','','100','18','','','','',''); //if (mnuBrowserOK()) { //otmenu.makeMenu('item04x1000','item04','qualität','path','','180','20','','','','',''); //otmenu.makeMenu('item04x2000','item04','personal','path','','180','','','','','',''); //otmenu.makeMenu('item04x3000','item04','recht','path','','180','','','','','',''); //otmenu.makeMenu('item04x4000','item04','finanz/risiko','path','','180','','','','','',''); //} otmenu.makeMenu('item05','','meinung-kontakt','german/adresse-01.htm','','125','18','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('item05x1000','item05','adresse','german/adresse-01.htm','','180','','','','','',''); otmenu.makeMenu('item05x2000','item05','anfahrt','german/anfahrt-01.htm','','180','','','','','',''); otmenu.makeMenu('item05x3000','item05','kontakt','german/kontakt-01.htm','','180','','','','','',''); otmenu.makeMenu('item05x4000','item05','partner links','german/partnerlinks-01.htm','','180','','','','','',''); } otmenu.construct(); } else { document.write('using static menu'); } }