﻿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=1;
_subOffsetLeft=-1;

locationString = new String(window.location);

/* style declaration for mainMenu */
with(mainMenuStyle=new mm_style()){
bordercolor="#B6BABD";
borderstyle="solid";
borderwidth=0;
fontfamily="inherit";
fontsize="100%";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#B6BABD";
offbgcolor="#ffffff";
offcolor="#B6BABD";
padding=0;
pagebgcolor="#ffffff";
pagecolor="#B6BABD";
separatorcolor="#B6BABD";
separatorsize=1;
subimagepadding=2;
rawcss="margin-left: 20px; padding-right: 20px;";
}

/* style declaration for subMenus */
with(subMenuStyle=new mm_style()){
bordercolor="#E5E5E5";
borderstyle="solid";
borderwidth=1;
fontfamily="inherit";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#B6BABD";
offbgcolor="#ffffff";
offcolor="#B6BABD";
onbgcolor="#E5E5E5";
oncolor="#ffffff";
padding=4;
pagebgcolor="#FFFFFF";
pagecolor="#B6BABD";
separatorcolor="#999999";
separatorsize=0;
subimage="images/left_menu_arrow.gif";
subimagepadding=4;
rawcss="padding: 2px 30px;";
}

with(milonic=new menuname('Main Menu')){ 
alwaysvisible=1; 
orientation='horizontal'; 
style=mainMenuStyle; 
borderwidth=0; 
padding=0; 
position='relative'; 
aI('text=La Gamme;showmenu=La Gamme;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Découvrez Renault;showmenu=Découvrez Renault;url=' + pathToRoot + 'discover/discover' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Contact;showmenu=Contact;');

} 
with(milonic=new menuname('La Gamme')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=RENAULT;showmenu=RENAULT;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=1':'?type=1'));
aI('text=RENAULT SPORT;showmenu=RENAULT SPORT;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=5':'?type=5'));
aI('text=GORDINI;showmenu=GORDINI;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=6':'?type=6'));
aI('text=RENAULT UTILITAIRES;showmenu=RENAULT UTILITAIRES;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=2':'?type=2'));
aI('text=DACIA;showmenu=DACIA;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=3':'?type=3'));
aI('text=DACIA UTILITAIRES;showmenu=DACIA UTILITAIRES;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=4':'?type=4'));
} 
with(milonic=new menuname('RENAULT')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=SYMBOL ;url=' + pathToRoot + 'cars/symbol/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=FLUENCE ;url=' + pathToRoot + 'cars/fluence/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MÉGANE BERLINE;url=' + pathToRoot + 'cars/meganehatch/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MÉGANE COUPÉ;url=' + pathToRoot + 'cars/meganecoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MÉGANE COUPÉ CABRIOLET;url=' + pathToRoot + 'cars/meganecoupecabriolet/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA COUPE;url=' + pathToRoot + 'cars/lagunacoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LATITUDE ;url=' + pathToRoot + 'cars/latitude/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=TRAFIC PASSENGER;url=' + pathToRoot + 'cars/traficvp/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SANDERO ;url=' + pathToRoot + 'cars/sandero/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=STEPWAY ;url=' + pathToRoot + 'cars/stepway/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=DUSTER ;url=' + pathToRoot + 'cars/duster/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KANGOO AUTHENTIQUE;url=' + pathToRoot + 'cars/KangooAuthentique/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NOUVEAU KOLEOS ;url=' + pathToRoot + 'cars/nouveaukoleos/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('RENAULT SPORT')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=CLIO R.S.;url=' + pathToRoot + 'cars/cliors/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE R.S.;url=' + pathToRoot + 'cars/meganers/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('GORDINI')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=CLIO GORDINI R.S.;url=' + pathToRoot + 'cars/cliogordinirs/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('RENAULT UTILITAIRES')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=KANGOO EXPRESS ;url=' + pathToRoot + 'cars/kangooexpress2011/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=TRAFIC ;url=' + pathToRoot + 'cars/traficvu/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('DACIA')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=LOGAN ;url=' + pathToRoot + 'cars/logan/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LOGAN MCV ;url=' + pathToRoot + 'cars/loganMCV/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('DACIA UTILITAIRES')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=LOGAN VAN ;url=' + pathToRoot + 'cars/loganvan/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LOGAN PICK-UP ;url=' + pathToRoot + 'cars/loganpickup/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Découvrez Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=La Qualité Renault;url=' + pathToRoot + 'discover/renaultqualite' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault et la Sécurité;url=' + pathToRoot + 'discover/renaultsecurite' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Les Concept-Cars Renault;url=' + pathToRoot + 'discover/conceptcarsrenault' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Actualité;url=' + pathToRoot + 'discover/RenaultenMartinique' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Le Groupe Renault;url=' + pathToRoot + 'discover/GroupeRenault' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Contact')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Formulaire de contact;url=' + pathToRoot + 'contact/Formulairedecontact' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Contactez Nous;url=' + pathToRoot + 'contact/Contacteznous' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Contactez Nos Sous-Agents;url=' + pathToRoot + 'contact/ContactezNossousagents' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 

