﻿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=Renault cars;showmenu=Renault cars;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Discover Renault;showmenu=Discover Renault;url=' + pathToRoot + 'AboutRenault/AboutRenault' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=After Sales Services;showmenu=After Sales Services;');

aI('text=RENAULT CORPORATE;showmenu=RENAULT CORPORATE;url=' + pathToRoot + 'RenaultCorporate/t2_5' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=EIM Network & Dealers;showmenu=EIM Network & Dealers;url=' + pathToRoot + 'RenaultNetworks/RenaultNetworks' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Renault cars')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=CARS;showmenu=CARS;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=1':'?type=1'));
} 
with(milonic=new menuname('CARS')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=SYMBOL ;url=' + pathToRoot + 'cars/thalia/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SANDERO ;url=' + pathToRoot + 'cars/sandero/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SANDERO STEPWAY ;url=' + pathToRoot + 'cars/Stepway/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LOGAN SEDAN ;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':''));
aI('text=MEGANE ;url=' + pathToRoot + 'cars/MeganeHatchback/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SCALA ;url=' + pathToRoot + 'cars/SCALA/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=FLUENCE ;url=' + pathToRoot + 'cars/fluence/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=DUSTER ;url=' + pathToRoot + 'cars/Duster/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Discover Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Renault History;url=' + pathToRoot + 'AboutRenault/RenaultHistory' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=About EIM;url=' + pathToRoot + 'AboutRenault/AboutEIM' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Quality;url=' + pathToRoot + 'AboutRenault/renaultquality' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Safety;url=' + pathToRoot + 'AboutRenault/renaultsafety' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Environment;url=' + pathToRoot + 'AboutRenault/Co2emmissions' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Concept Cars;url=' + pathToRoot + 'AboutRenault/conceptcars' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault.com;url=http://www.renault.com ');
aI('text=RENAULT F1;url=http://www.renaultf1.com');
aI('text=Newsletter;url=http://www.media.renault.com');
aI('text=Innovations and technology;url=' + pathToRoot + 'AboutRenault/Engines' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Safety Renault\'s commitment;url=' + pathToRoot + 'AboutRenault/SaftytimeLine' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Safety Innovation & technology;url=' + pathToRoot + 'AboutRenault/SInATech' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('After Sales Services')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Customer Care Programe;url=' + pathToRoot + 'Services/CustomerCareProgram' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=service prices;url=' + pathToRoot + 'Services/servicveprice' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Test Drive;url=' + pathToRoot + 'Services/TestDrive' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=My Renault;url=' + pathToRoot + 'Services/MyRenault' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Trade In;url=' + pathToRoot + 'Services/TradeIn' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Peace Of Mind;url=' + pathToRoot + 'Services/PeaceOfMind' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Network;url=' + pathToRoot + 'Services/RenaultNetwork' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('RENAULT CORPORATE')){ 
style=subMenuStyle; 
subimageposition='left'; 
} 
with(milonic=new menuname('EIM Network & Dealers')){ 
style=subMenuStyle; 
subimageposition='left'; 
} 
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=News - Events;url=' + pathToRoot + 'contact/NewsEvents' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=E-Brochure;url=' + pathToRoot + 'contact/EBrochure' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 

