// ****************************************************************************
// Milonic JavaScript Navigation ----------------------------------------------
// ****************************************************************************

_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150  // The time delay before menus open on mouse over
_subOffsetTop=10    // Sub menu top offset
_subOffsetLeft=-10  // Sub menu left offset

// style for the main menu ----------------------------------------------------
with(mainmenuStyle=new mm_style()){
borderstyle="solid";
borderwidth=0;
separatorsize="0";
//padding=5;
//subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
menualign="left";
}

// style for submenus --------------------------------------------------------
with(submenuStyle=new mm_style()){
onbgcolor="#9AC0B1";
oncolor="#ffffff";
offbgcolor="#607789";
offcolor="#E4F0FA";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#1B4F7E";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow.gif";
subimagepadding="2";
//overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color='#777777', Direction=135, Strength=5)";
//outfilter="randomdissolve(duration=0.3)";
}

// ------------------------------------------------------
// the Main Menu is located in an extra file to be easily
// referenced fron within HTML tables
// ------------------------------------------------------

// submenu Produkte -----------------------------------------------------------
with(milonic=new menuname("Produkte")){
style=submenuStyle;
overflow="scroll";
// aI("text=Horizontal Navigational Menu;url=/menusample1.php;");
aI("text=Automatische Schiebet&uuml;ranlagen;url=autoschiebetueren.htm;");
aI("text=Schiebet&uuml;ren f&uuml;r Flucht- und Rettungswege;url=rettungswege.htm;");
//aI("text=Anlagen f&uuml;r Marktketten;url=marktketten.htm;");
//aI("text=Ganzglasschiebet&uuml;ren;url=ganzglas.htm;");
aI("text=Rundschiebet&uuml;ren;url=rundschiebe.htm;");
aI("text=Faltt&uuml;ranlagen;url=falt.htm;");
aI("text=Swing-Out   -   TOS-Anlagen;url=swingout.htm;");
aI("text=Automatische Drehfl&uuml;gelantriebe;url=drehfluegel.htm;");
aI("text=OP-T&uuml;ren;url=op.htm;");
aI("text=Kellnert&uuml;ren;url=kellner.htm;");
aI("text=Sonderkonstruktionen;url=sonder.htm;");
aI("text=Sensorik - Ausl&ouml;seger&auml;te;url=sensorik.htm;");
}

// submenu Service -----------------------------------------------------------
with(milonic=new menuname("Service")){
style=submenuStyle;
overflow="scroll";
aI("text=Reparaturen;url=reparatur.htm;");
aI("text=Wartung - Pr&uuml;fung;url=wartung.htm;");
aI("text=Ersatzteile;url=ersatz.htm;");
aI("text=Antriebsumr&uuml;stungen;url=umruestung.htm;");
//aI("text=Spezielles;url=speziell.htm;");
}

// submenu Ueber Uns -----------------------------------------------------------
with(milonic=new menuname("UeberUns")){
style=submenuStyle;
overflow="scroll";
aI("text=Geschichte;url=ueberuns.htm;");
aI("text=Mitarbeiter;url=mitarbeiter.htm;");
//aI("text=Offene Stellen;url=stellen.htm;");
}

// submenu Kontakt -----------------------------------------------------------
with(milonic=new menuname("Kontakt")){
style=submenuStyle;
overflow="scroll";
aI("text=Kontaktformular;url=kontakt.php;");
aI("text=Ansprechpartner;url=ansprechpartner.htm;");
aI("text=Anfahrt;url=anfahrt.htm;");
aI("text=Download Bereich;url=download.htm;");
}

drawMenus();