﻿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;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=&#1054;&#1082;&#1072;&#1079;&#1080;&#1086;&#1085;;showmenu=&#1054;&#1082;&#1072;&#1079;&#1080;&#1086;&#1085;;url=' + pathToRoot + 'auction/auction' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Промоции;showmenu=Промоции;url=' + pathToRoot + 'promotions/Promotions' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Гамата на Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=ЛЕКИ АВТОМОБИЛИ;showmenu=ЛЕКИ АВТОМОБИЛИ;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=1':'?type=1'));
aI('text=ЛЕКОТОВАРНИ АВТОМОБИЛИ;showmenu=ЛЕКОТОВАРНИ АВТОМОБИЛИ;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=2':'?type=2'));
aI('text=RENAULT SPORT;showmenu=RENAULT SPORT;url=' + pathToRoot + 'range'+(isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes&type=3':'?type=3'));
} 
with(milonic=new menuname('ЛЕКИ АВТОМОБИЛИ')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=НОВОТО TWINGO ;url=' + pathToRoot + 'cars/Twingo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
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 COUPE CABRIOLET;url=' + pathToRoot + 'cars/meganeCoupeCabriolet/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE GRANDTOUR;url=' + pathToRoot + 'cars/MeganeGrandtour/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SCENIC ;url=' + pathToRoot + 'cars/scenic/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/lagunaHatch/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LAGUNA COUPE;url=' + pathToRoot + 'cars/LagunaCoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LATITUDE ;url=' + pathToRoot + 'cars/Latitude/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KANGOO ;url=' + pathToRoot + 'cars/KangooCollection2011/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=TRAFIC COMBI;url=' + pathToRoot + 'cars/Trafic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('ЛЕКОТОВАРНИ АВТОМОБИЛИ')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=KANGOO EXPRESS;url=' + pathToRoot + 'cars/kangooExpress/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/X62/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('RENAULT SPORT')){ 
style=subMenuStyle; 
overflow='show'; 
aI('text=CLIO R.S.;url=' + pathToRoot + 'cars/cliors/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MEGANE R.S.;url=' + pathToRoot + 'cars/meganers/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_bg' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Магазин;url=' + pathToRoot + 'services/Magazin' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=&#1051;&#1080;&#1079;&#1080;&#1085;&#1075;;url=' + pathToRoot + 'services/Leasing' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Открийте Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=&#1053;&#1086;&#1074;&#1080;&#1085;&#1080;;url=' + pathToRoot + 'discover/news' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=&#1057;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1077; RoaD;url=' + pathToRoot + 'discover/road' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=&#1052;&#1086;&#1090;&#1086;&#1088;&#1085;&#1080; &#1089;&#1087;&#1086;&#1088;&#1090;&#1086;&#1074;&#1077;;url=' + pathToRoot + 'discover/MotorSports' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=&#1050;&#1072;&#1095;&#1077;&#1089;&#1090;&#1074;&#1086;;url=' + pathToRoot + 'discover/Quality' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=&#1041;&#1077;&#1079;&#1086;&#1087;&#1072;&#1089;&#1085;&#1086;&#1089;&#1090;;url=' + pathToRoot + 'discover/Safety_bg' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=&#1054;&#1082;&#1086;&#1083;&#1085;&#1072; &#1089;&#1088;&#1077;&#1076;&#1072;;url=' + pathToRoot + 'discover/Environment' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault &#1074; &#1041;&#1098;&#1083;&#1075;&#1072;&#1088;&#1080;&#1103;;url=' + pathToRoot + 'discover/inBulgaria' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Мастър инициатива;url=' + pathToRoot + 'discover/msterinitiative' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Безопасност и мобилност за всички;url=' + pathToRoot + 'discover/SafetyForAll' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Корпоративна култура;url=' + pathToRoot + 'discover/histoireEtCulture_bg' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Групата Renault;url=' + pathToRoot + 'discover/RenaultGroup_bg' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault TV;url=http://www.renault.tv/en');
} 
with(milonic=new menuname('Оказион')){ 
style=subMenuStyle; 
subimageposition='left'; 
} 
with(milonic=new menuname('Промоции')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=&#1053;&#1086;&#1074;&#1080; &#1072;&#1074;&#1090;&#1086;&#1084;&#1086;&#1073;&#1080;&#1083;&#1080;;url=' + pathToRoot + 'promotions/NewVehicles' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=&#1057;&#1077;&#1088;&#1074;&#1080;&#1079;&#1085;&#1086; &#1086;&#1073;&#1089;&#1083;&#1091;&#1078;&#1074;&#1072;&#1085;&#1077;;url=' + pathToRoot + 'promotions/Services' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 

