﻿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=Service;showmenu=Service;url=' + pathToRoot + 'services/services_sg' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=About Renault;showmenu=About Renault;url=' + pathToRoot + 'discover/discover' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Renault cars')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=PASSENGER CARS;showmenu=PASSENGER CARS;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=4':'?type=4'));
aI('text=WHEECHAIR;showmenu=WHEECHAIR;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=3':'?type=3'));
aI('text=COMMERCIAL VEHICLES;showmenu=COMMERCIAL VEHICLES;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=2':'?type=2'));
} 
with(milonic=new menuname('PASSENGER CARS')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=MEGANE COUPE-CABRIOLET;url=' + pathToRoot + 'cars/meganeCabriolet/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('RENAULT SPORT')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=MEGANE RENAULT SPORT;url=' + pathToRoot + 'cars/meganeRS/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE RENAULT SPORT MONACO GP;url=' + pathToRoot + 'cars/MeganeRSMonacoGP/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CLIO R.S. ANGE & DEMON;url=' + pathToRoot + 'cars/ClioRS/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('WHEECHAIR')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=KANGOO WAV (WHEELCHAIR ACCESSIBLE VEHICLE);url=' + pathToRoot + 'cars/kangoo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('COMMERCIAL VEHICLES')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=KANGOO ;url=' + pathToRoot + 'cars/kangooExpress/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Service')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Servicing;url=' + pathToRoot + 'services/servicing' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Genuine Parts;url=' + pathToRoot + 'services/genuine_part' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Warranty;url=' + pathToRoot + 'services/warranty' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Service Promotions;url=' + pathToRoot + 'services/service_promotions' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Assistance;url=' + pathToRoot + 'services/assistance_sg' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('About Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=About Wearnes Motors;url=' + pathToRoot + 'discover/about_wearnes_automotive' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=The Renault Group;url=' + pathToRoot + 'discover/renault_group' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=History and Culture;url=' + pathToRoot + 'discover/histoireEtCulture_sg' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Quality;url=' + pathToRoot + 'discover/quality' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Innovation and Technology;url=' + pathToRoot + 'discover/innovationEtTechnologie' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Safety;url=' + pathToRoot + 'discover/safety' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Environment;url=' + pathToRoot + 'discover/environment_sg' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Electric Vehicles;url=http://www.renault-ze.com/sg/');
aI('text=Renault Sport;url=' + pathToRoot + 'discover/renault_sport' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Drive The Change;url=http://www.renault.co.uk/about/drive.aspx');
aI('text=News;url=' + pathToRoot + 'discover/t2_5' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Contact pages')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Contact details;url=' + pathToRoot + 'contact/contact_us_info' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Contact form;url=' + pathToRoot + 'contact/contact_form' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Book a test drive;url=' + pathToRoot + 'contact/book_testdrive' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Book a service;url=' + pathToRoot + 'contact/book_service' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 

