﻿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;showmenu=Гамата на Renault;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Услуги;showmenu=Услуги;url=' + pathToRoot + 'services/services' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Открийте Renault;showmenu=Открийте Renault;url=' + pathToRoot + 'discover/discover' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Промоции;showmenu=Промоции;url=' + pathToRoot + 'promotions/HotOffers' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Гамата на Renault')){ 
overflow='show'; 
style=subMenuStyle; 
aI('text=SYMBOL ;url=' + pathToRoot + 'cars/Symbol/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CLIO HATCH;url=' + pathToRoot + 'cars/CLIOHATCH/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CLIO GRANDTOUR;url=' + pathToRoot + 'cars/CLIOGrandtour/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=FLUENCE ;url=' + pathToRoot + 'cars/Fluence/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE HATCH;url=' + pathToRoot + 'cars/MeganeHatch/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE COUPE;url=' + pathToRoot + 'cars/MeganeCoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE GRANDTOUR;url=' + pathToRoot + 'cars/MeganeGrandtour/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=GRAND SCENIC;url=' + pathToRoot + 'cars/GrandScenic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA HATCH;url=' + pathToRoot + 'cars/newLaguna/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA COUPE;url=' + pathToRoot + 'cars/LagunaCoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA GRANDTOUR;url=' + pathToRoot + 'cars/LagunaGrandtour/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KANGOO ;url=' + pathToRoot + 'cars/kangoo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KANGOO EXPRESS;url=' + pathToRoot + 'cars/kangooExpress/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=TRAFIC COMBI;url=' + pathToRoot + 'cars/Trafic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=TRAFIC LCV;url=' + pathToRoot + 'cars/TraficVU/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MASTER ;url=' + pathToRoot + 'cars/MasterP/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Услуги')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Гаранция;url=' + pathToRoot + 'services/warranty' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Резервни части;url=' + pathToRoot + 'services/genuinePart' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Пътна помощ;url=' + pathToRoot + 'services/customerCareAndRepair' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Магазин;url=' + pathToRoot + 'services/Magazin' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Промоции;url=' + pathToRoot + 'services/Promotions' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Открийте Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Новини;url=' + pathToRoot + 'discover/news' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault в България;url=' + pathToRoot + 'discover/inBulgaria' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Групата Renault;url=' + pathToRoot + 'discover/RenaultGroup' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Корпоративна култура;url=' + pathToRoot + 'discover/histoireEtCulture' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Иновации и технологии;url=' + pathToRoot + 'discover/innovationEtTechnologie' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Околна среда;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=Мастър инициатива;url=' + pathToRoot + 'discover/msterinitiative' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Безопасност за всички;url=' + pathToRoot + 'discover/safety_for_all' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Contact pages')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Контакти;url=' + pathToRoot + 'contact/contact_form' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Промоции')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Горещи оферти;url=' + pathToRoot + 'promotions/hot_offers' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Текущи промоции;url=' + pathToRoot + 'promotions/current_promotions' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
