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

//Style du menu
with(menuStyle=new mm_style())
{
bordercolor="#5b81ae";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana";
fontsize="65%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
//offbgcolor="#eeeeee";//fond du menu
offcolor="#32405e";
//onbgcolor="#E7CFCF";//fond du menu avec la souris dessus
oncolor="#ffffff";

padding=8;
//pagebgcolor="#e3e4e6";
//pagecolor="black";
separatorcolor="#ffffff";
separatorsize=0;
subimagepadding=1;
}

//Style du menu2
with(menuStyle2=new mm_style()){
bordercolor="#5b81ae";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana";
fontsize="65%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#32405e";
offbgcolor="#f2f5f9";
offcolor="#32405e";
onbgcolor="#9eb7d5";
oncolor="#32405e";

padding=5;
//pagebgcolor="#E7CFCF";
//pagecolor="black";
separatorcolor="#9eb7d5";
separatorsize=1;
//subimage="images/arrow.gif";
//subimagepadding=2;
}

//Menu principal
with(fanswiss=new menuname("Main Menu"))
{
alwaysvisible=1;
//left=200;
//top=195;

orientation="horizontal";
style=menuStyle;
aI("showmenu=accueil;text=ACCUEIL;url=http://www.tuning-ne.ch/v2/index.php;");
aI("showmenu=tuning;text=LE TUNING;url=;");
aI("showmenu=photos;text=PHOTOS;url=;");
aI("showmenu=portail;text=PORTAIL;url=http://www.tuning-ne.ch/v2/portail_articles.php;");
aI("showmenu=forum;text=FORUM;url=http://www.tuning-ne.ch/v2/forum/index.php;");
aI("showmenu=contacts;text=CONTACTS;url=http://www.tuning-ne.ch/v2/contact.php;");
}

//Menu Accueil
with(fanswiss=new menuname("accueil")){
style=menuStyle2;
}

//Menu Le Tuning
with(fanswiss=new menuname("tuning"))
{
style=menuStyle2;
aI("showmenu=definition;text=Définition;url=http://www.tuning-ne.ch/v2/tuning_definition.php;")
aI("showmenu=lexique;text=Lexique;url=http://www.tuning-ne.ch/v2/tuning_lexique.php;")
}

with(fanswiss=new menuname("photos"))
{
style=menuStyle2;
aI("showmenu=voitures_ne;text=Voitures NE;url=http://www.tuning-ne.ch/v2/photos_voitures_ne.php;")
aI("showmenu=meetings;text=Meetings;url=http://www.tuning-ne.ch/v2/photos_meetings.php;")
}


drawMenus();
