﻿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 20px;";
}

with(milonic=new menuname('Main Menu')){ 
alwaysvisible=1; 
orientation='horizontal'; 
style=mainMenuStyle; 
borderwidth=0; 
padding=0; 
position='relative'; 
aI('text=LA GAMME RENAULT;showmenu=LA GAMME RENAULT;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SERVICES APRES-VENTE;showmenu=SERVICES APRES-VENTE;');

aI('text=DECOUVREZ RENAULT;showmenu=DECOUVREZ RENAULT;');

} 
with(milonic=new menuname('LA GAMME RENAULT')){ 
overflow='show'; 
style=subMenuStyle; 
aI('text=NOUVELLE TWINGO;url=' + pathToRoot + 'cars/newTwingo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NOUVELLE CLIO;url=' + pathToRoot + 'cars/NOUVELLECLIO/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NOUVEAU SCENIC;url=' + pathToRoot + 'cars/sc/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE COUPE;url=' + pathToRoot + 'cars/NOUVELLEMAGNE/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA COUPE;url=' + pathToRoot + 'cars/laguncp/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MASTER ;url=' + pathToRoot + 'cars/master/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NOUVELLE MEGANE;url=' + pathToRoot + 'cars/meganeberline/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NOUVELLE LAGUNA;url=' + pathToRoot + 'cars/newLaguna/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA ESTATE;url=' + pathToRoot + 'cars/lagunaestate/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NOUVELLE CLIO ESTATE;url=' + pathToRoot + 'cars/CLIOESTATE/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=TRAFIC PASSENGER;url=' + pathToRoot + 'cars/TRAFIC/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KOLEOS ;url=' + pathToRoot + 'cars/koleos/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('SERVICES APRES-VENTE')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Des accessoires d\'origine;url=' + pathToRoot + 'SERVICESAPRESVENTES/Desaccessoiresdorigine' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=RENAULT MINUTE;url=' + pathToRoot + 'SERVICESAPRESVENTES/RENAULTMINUTE' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CONTRATS DE SERVICES;url=' + pathToRoot + 'SERVICESAPRESVENTES/CONTRATSDESERVICES' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=RENAULT ASSISTANCE;url=' + pathToRoot + 'SERVICESAPRESVENTES/RENAULTASSISTANCE' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Les Offres Apres-Vente;url=' + pathToRoot + 'SERVICESAPRESVENTES/apresvente' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Service location;url=' + pathToRoot + 'SERVICESAPRESVENTES/servicedelocation' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('DECOUVREZ RENAULT')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=RENAULT A L ILE DE LA REUNION	;url=' + pathToRoot + 'discover/renaultDansLePays' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=le groupe renault;url=' + pathToRoot + 'discover/leGroupeRenault' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=INNOVATION ET TECHNOLOGIE;url=' + pathToRoot + 'discover/innovationEtTechnologie' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=ENVIRONEMENT;url=' + pathToRoot + 'discover/environnement' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SPORTS AUTOMOBILES;url=' + pathToRoot + 'discover/renaultEtLeSport' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CULTURE D\'ENTREPRISE;url=' + pathToRoot + 'discover/histoireEtCulture' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CONCEPT-CARS;url=' + pathToRoot + 'discover/ConceptCars' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Contact pages')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=FORMULAIRE DE CONTACT;url=' + pathToRoot + 'contact/contact_form' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
