﻿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=Renault Quality & Service;showmenu=Renault Quality & Service;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':''));
} 
with(milonic=new menuname('Renault Cars')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=CARS;showmenu=1_1;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=1':'?type=1'));
aI('text=4X4;showmenu=2_1;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=2':'?type=2'));
} 
with(milonic=new menuname('1_1')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=SANDERO ;url=' + pathToRoot + 'cars/sandero/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LOGAN ;url=' + pathToRoot + 'cars/logan/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=TWINGO ;url=' + pathToRoot + 'cars/newTwingo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NEW CLIO HATCHBACK;url=' + pathToRoot + 'cars/newclio3hatch/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NEW CLIO RENAULT SPORT;url=' + pathToRoot + 'cars/newclio3sport/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NEW MEGANE HATCH;url=' + pathToRoot + 'cars/newmeganehatch/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NEW MEGANE COUPE;url=' + pathToRoot + 'cars/newmeganecoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE SEDAN;url=' + pathToRoot + 'cars/meganeSaloon/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NEW SCENIC ;url=' + pathToRoot + 'cars/newscenic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NEW GRAND SCENIC;url=' + pathToRoot + 'cars/newgrandscenic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA COUPÉ;url=' + pathToRoot + 'cars/lagunacoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('2_1')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=KOLEOS ;url=' + pathToRoot + 'cars/koleos/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Renault Quality & Service')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Customer Service;url=' + pathToRoot + 'services/customerservice' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Warranty;url=' + pathToRoot + 'services/warranty' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Maintenance Plans;url=' + pathToRoot + 'services/maintenanceplans' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Service Plans;url=' + pathToRoot + 'services/serviceplans' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Genuine Parts;url=' + pathToRoot + 'services/genuineparts' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MERCHANDISE;url=' + pathToRoot + 'services/f1merchandise' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Fixed Price Service Menu;url=' + pathToRoot + 'services/fixedPrice' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=110 Percent Committed;url=' + pathToRoot + 'services/percentcommitted' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Approved Bodyshops;url=' + pathToRoot + 'services/renaultapprovedbodyshops' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=E-Guide Carminat TOMTOM;url=' + pathToRoot + 'services/EguideTomTom' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Discover Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Profile;url=' + pathToRoot + 'discover/profile' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=News;url=' + pathToRoot + 'discover/news' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Driver Academy;url=' + pathToRoot + 'discover/driveracademy' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault SA BBBEE;url=' + pathToRoot + 'discover/renaultbee' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Kinsey Parts Price Report 2009;url=' + pathToRoot + 'discover/kinsey2009' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Drive the Change;url=' + pathToRoot + 'discover/drivethechange' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Eurodrive;url=' + pathToRoot + 'discover/eurodrive' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MOTOR COMPANY OF THE YEAR;url=' + pathToRoot + 'discover/carawards' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault ZE;url=' + pathToRoot + 'discover/renaultza' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Scenic - a Journey of Taste...;url=' + pathToRoot + 'discover/scenicjourney' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Kom One Karaoke;url=' + pathToRoot + 'discover/komonskaraoke' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Koleos Terms and Conditions;url=' + pathToRoot + 'discover/koleostandc' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Contact pages')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Contact Us;url=' + pathToRoot + 'contact/contactUs' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Financial Services;url=' + pathToRoot + 'contact/renaultfinance' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
