fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Arial, Sans-serif";
fontsize="11pt";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#FFF";
headercolor="#000000";
image="";
imagepadding=5;
//offbgcolor="#1B2C85";
offcolor="#003366";
//onbgcolor="#666666";  ok
oncolor="#006699";
outfilter="randomdissolve(duration=0)";
overfilter="Fade(duration=0);Alpha(opacity=100);Shadow(color=#777777', Direction=0, Strength=0)";
//overimage="http://www.background.com/images/whitedots.gif";
overimage="http://www.background.com/images/spot.gif";
padding=5;
//pagebgcolor="#CCCCCC";
//pagecolor="black";
separatorcolor="#000000";
separatorsize=0;
subimagepadding=2;
//bgimage="";
}

with(submenuStyle=new mm_style()){
bordercolor="#003366";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Arial, Sans-serif";
fontsize="8pt";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#003366";
//onbgcolor="#f7f7f7";
oncolor="#000000";
outfilter="randomdissolve(duration=0)";
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=6)";
padding=5;
pagebgcolor="#CCFFFF";
//pagecolor="black";
separatorcolor="#000000";
separatorsize=0;
subimage="pict08/menu_fleche.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
style=menuStyle;
orientation="horizontal";
alwaysvisible=1;
left="center";
top=75;
menuwidth="746";
//menualign="left";
position="relative";
margin="0";
align="center"; 
aI("showmenu=Accueil;text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accueil&nbsp;&nbsp;;url=index.php ;");
aI("showmenu=La-ville;text=&nbsp;&nbsp;&nbsp;La ville ;subimage=pict08/menu_flecheb.gif;");
aI("showmenu=Locations;text=&nbsp;&nbsp;&nbsp;&nbsp;Locations;subimage=pict08/menu_flecheb.gif;");
aI("showmenu=Disponibilités;text=&nbsp;&nbsp;&nbsp;&nbsp;Disponibilités;url=index.php?genre=calendrier1;");
aI("showmenu=Conditions;text=&nbsp;&nbsp;&nbsp;Conditions;url=index.php?genre=conditions;");
aI("showmenu=Tarifs;text=&nbsp;&nbsp;&nbsp;Tarifs&nbsp;&nbsp; ;url=index.php?genre=tarifs;");
aI("showmenu=Contact;text=&nbsp;Contact ;url=index.php?genre=contacty;");
}

// -------------------------------------------------------------------------------------------------------------------------------------------------------------
with(milonic=new menuname("La-ville")){
margin=7;
style=submenuStyle;
aI("text=La ville;url=index.php?genre=ville;");
aI("text=Implantation;url=index.php?genre=carte;");
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------

with(milonic=new menuname("Locations")){
margin=7;
style=submenuStyle;
aI("showmenu=Non-classé;status=Non-classé;text=L'appartement;");
}

with(milonic=new menuname("Non-classé")){
margin=7;
style=submenuStyle;
aI("text=Appartement 3ème étage;url=index.php?genre=appartement3;");
}

//---------------------------------------------------------------------------------------------------------------------------------------------------------





drawMenus();


