﻿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=Renault Vehicles;showmenu=Renault Vehicles;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Services after sales;showmenu=Services after sales;url=' + pathToRoot + 'services/services' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Discover renault;showmenu=Discover renault;url=' + pathToRoot + 'discover/discover' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Used Cars;showmenu=Used Cars;');

} 
with(milonic=new menuname('Renault Vehicles')){ 
overflow='show'; 
style=subMenuStyle; 
aI('text=TWINGO ;url=' + pathToRoot + 'cars/newTwingo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CLIO ;url=' + pathToRoot + 'cars/newclio/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=GRAND CLIO;url=' + pathToRoot + 'cars/grandclio/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 HATCH;url=' + pathToRoot + 'cars/meganehatch/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=GRAND MÉGANE;url=' + pathToRoot + 'cars/grandmegane/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SCÉNIC ;url=' + pathToRoot + 'cars/newsenic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=GRAND SCÉNIC;url=' + pathToRoot + 'cars/grandscenic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA ;url=' + pathToRoot + 'cars/newLaguna/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA COUPÉ;url=' + pathToRoot + 'cars/lagunacoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=ESPACE ;url=' + pathToRoot + 'cars/espace/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KANGOO VAN;url=' + pathToRoot + 'cars/kangooExpress/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=TRAFIC ;url=' + pathToRoot + 'cars/trafic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MASTER ;url=' + pathToRoot + 'cars/Master/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Services after sales')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Warranty;url=' + pathToRoot + 'services/warranty' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Genuine parts;url=' + pathToRoot + 'services/genuinePart' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Commercial offers;url=' + pathToRoot + 'services/scrappage' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Accessories;url=' + pathToRoot + 'services/accessories' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Scrappage;url=' + pathToRoot + 'services/renaultscrappage' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Service Offers;url=' + pathToRoot + 'services/serviceoffers' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Passenger Price List;url=' + pathToRoot + 'services/pricelist' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Discover renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=News;url=' + pathToRoot + 'discover/news' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault TV;url=' + pathToRoot + 'discover/renaulttv' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Environment;url=' + pathToRoot + 'discover/environnement' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Motor Sports;url=' + pathToRoot + 'discover/renaultEtLeSport' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Company Culture;url=' + pathToRoot + 'discover/histoireEtCulture' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Z.E. Electric Cars;url=' + pathToRoot + 'discover/t2_6' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=The New Fluence;url=' + pathToRoot + 'discover/newfluence' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Safety;url=' + pathToRoot + 'discover/safety' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Used Cars')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Diamond Cover;url=' + pathToRoot + 'usedcars/diamondcover' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Used Cars;url=' + pathToRoot + 'usedcars/search.asp' + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Contact pages')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Contact form;url=' + pathToRoot + 'contact/contact_form' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Customer Service;url=' + pathToRoot + 'contact/t2_5' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Request a Brochure;url=' + pathToRoot + 'contact/brochure' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Book a Test Drive;url=' + pathToRoot + 'contact/testdrive' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
