﻿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=Range of Cars;showmenu=Range of Cars;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Discover Renault;showmenu=Discover Renault;');

aI('text=After Sales;showmenu=After Sales;');

} 
with(milonic=new menuname('Range of Cars')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=CARS;showmenu=CARS;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=0':'?type=0'));
} 
with(milonic=new menuname('CARS')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=FLUENCE ;url=' + pathToRoot + 'cars/fluenceindia/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Discover Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Renault in India;url=' + pathToRoot + 'about/india' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Globally;showmenu=Renault Globally;url=' + pathToRoot + 'about/renaultcarglobaly' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Know more;url=http://www.renault.com/en/Pages/home.aspx');
aI('text=Quality;url=' + pathToRoot + 'about/quality' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Safety;url=' + pathToRoot + 'about/safety' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Concept cars;url=' + pathToRoot + 'about/conceptcars' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault F1;url=' + pathToRoot + 'about/renaultF1' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault sports;url=' + pathToRoot + 'about/renaultsports' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Concepts Cars;url=' + pathToRoot + 'about/conceptscar' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault F1;url=http://www.lotusrenaultgp.com/');
aI('text=Renault Tv;url=http://www.renault.tv/en');
aI('text=EcoEfficient;url=' + pathToRoot + 'about/EcoEfficient' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Drive the change;url=' + pathToRoot + 'about/drivethechange' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Contact us')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Contact details;url=' + pathToRoot + 'contact/contact' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Contact form;url=' + pathToRoot + 'contact/contactform' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Book a test drive;url=' + pathToRoot + 'contact/testdrive' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Find your dealer;url=' + pathToRoot + 'contact/dealers' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('After Sales')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Customer Service;url=' + pathToRoot + 'aftersales/customerservice' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault services;showmenu=Renault services;url=' + pathToRoot + 'aftersales/warranty' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Accessories;showmenu=Accessories;url=' + pathToRoot + 'aftersales/interior' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Genuine Parts;url=' + pathToRoot + 'aftersales/genuineparts' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Service & Maintenance;url=' + pathToRoot + 'aftersales/servicemaintenance' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Service Centre Locations;url=' + pathToRoot + 'aftersales/servicecentrelocations' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Renault Globally')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Renault Car Globally;url=' + pathToRoot + 'about/renaultcarglobaly' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Key Figures;url=' + pathToRoot + 'about/keyfigure' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Key Dates;url=' + pathToRoot + 'about/keydates' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
}with(milonic=new menuname('Renault services')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Warranty;url=' + pathToRoot + 'aftersales/warranty' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
}with(milonic=new menuname('Accessories')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Interior;url=' + pathToRoot + 'aftersales/interior' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Exterior;url=' + pathToRoot + 'aftersales/exterior' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
}
