﻿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=0;
subimagepadding=2;
rawcss="margin-left: 0px; 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 4px;";
}

/* style declaration for sub2Menus */
with(sub2MenuStyle=new mm_style()){
bordercolor="#E5E5E5";
borderstyle="solid";
borderwidth=1;
fontfamily="inherit";
fontsize="100%";
fontstyle="smallcaps";
headerbgcolor="#ffffff";
headercolor="#B6BABD";
offbgcolor="#ffffff";
offcolor="#B6BABD";
onbgcolor="#E5E5E5";
oncolor="#ffffff";
padding=2;
pagebgcolor="#FFFFFF";
pagecolor="#B6BABD";
separatorcolor="#999999";
separatorsize=0;
subimage="images/left_menu_arrow.gif";
subimagepadding=4;
rawcss="padding: 0px 4px;";
}

with(milonic=new menuname('Main Menu')){ 
alwaysvisible=1; 
orientation='horizontal'; 
style=mainMenuStyle; 
borderwidth=0; 
padding=0; 
position='relative'; 
aI('text=GAMA RENAULT VOZILA;showmenu=Gama renault vozila;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=USLUGE;showmenu=Usluge;url=' + pathToRoot + 'services/services' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=UPOZNAJTE RENAULT;showmenu=Upoznajte Renault;url=' + pathToRoot + 'discover/discover' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 

with(milonic=new menuname('Gama Renault vozila')){ 
overflow='show'; 
style=subMenuStyle; 
aI('text=PUTNIČKA VOZILA ►;showmenu=Putnička vozila;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=DOSTAVNA VOZILA ►;showmenu=Dostavna vozila;url=' + pathToRoot + 'rangeVan' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=RENAULT SPORT ►;showmenu=Renault Sport;url=' + pathToRoot + 'rangeRS' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MODELI KOJI DOLAZE ►;showmenu=Modeli koji dolaze;url=' + pathToRoot + 'range_new' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MINI SAJTOVI ►;showmenu=Mini sajtovi');
}

with(milonic=new menuname('Putnička vozila')){ 
overflow='show'; 
style=sub2MenuStyle; 
aI('text=Twingo ;url=' + pathToRoot + 'cars/newTwingo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Clio Storia;url=' + pathToRoot + 'cars/newClioStoria/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Clio Berlina;url=' + pathToRoot + 'cars/noviclio/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Clio Grandtour;url=' + pathToRoot + 'cars/novicliograndtour/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Clio GT;url=' + pathToRoot + 'cars/noviclio_gt/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Kangoo ;url=' + pathToRoot + 'cars/kangoo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Thalia ;url=' + pathToRoot + 'cars/thalia/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Nova Mégane Berlina;url=' + pathToRoot + 'cars/megane_berline_b95/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Mégane Coupé;url=' + pathToRoot + 'cars/megane_coupe_d95/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Mégane Grandtour;url=' + pathToRoot + 'cars/meganegrandtour/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Fluence ;url=' + pathToRoot + 'cars/fluence/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Scenic ;url=' + pathToRoot + 'cars/newScenic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Grand Scenic ;url=' + pathToRoot + 'cars/newGrandScenic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Koleos ;url=' + pathToRoot + 'cars/koleos/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Laguna Berlina 2010 ;url=' + pathToRoot + 'cars/laguna_berline/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Nova Laguna Coupé;url=' + pathToRoot + 'cars/lagunacoupe/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Laguna Grandtour 2010;url=' + pathToRoot + 'cars/lagunagrandtour/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Espace ;url=' + pathToRoot + 'cars/espace/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Trafic putnički ;url=' + pathToRoot + 'cars/traficputnicki/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
}

with(milonic=new menuname('Dostavna vozila')){ 
overflow='show'; 
style=sub2MenuStyle; 
aI('text=Clio Serviser;url=' + pathToRoot + 'cars/clioServiser/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Kangoo Express;url=' + pathToRoot + 'cars/kangooExpress/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Trafic ;url=' + pathToRoot + 'cars/trafic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Master ;url=' + pathToRoot + 'cars/master/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
}

with(milonic=new menuname('Renault Sport')){ 
overflow='show'; 
style=sub2MenuStyle; 
aI('text=Twingo RS;url=' + pathToRoot + 'cars/newTwingo_rs/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Clio RS;url=' + pathToRoot + 'cars/noviclio_rs/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Mégane RS;url=' + pathToRoot + 'cars/megane_rs/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
}

with(milonic=new menuname('Modeli koji dolaze')){ 
overflow='show'; 
style=sub2MenuStyle; 
aI('text=Wind;url=' + pathToRoot + 'cars/wind_e33/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Novi Mégane Coupé Cabriolet;url=' + pathToRoot + 'cars/megane_cc/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
}

with(milonic=new menuname('Mini sajtovi')){ 
overflow='show'; 
style=sub2MenuStyle; 
aI('text=Novi Mégane;url=http://www.nouvelle-megane.com/srbija/srbija/;target="_blank"'); 
aI('text=Nova Laguna;url=http://www.laguna-coupe.com/srbija/srbija/;target="_blank"');
aI('text=Koleos;url=http://www.koleos.renault.rs/;target="_blank"');
aI('text=Novi Clio;url=http://www.clio.renault.com/rs_rs/;target="_blank"');
aI('text=Novi Scenic;url=http://www.novi-scenic.renault.rs/ ;target="_blank"');
aI('text=Renault Fluence;url=http://www.renault-fluence.com/renault-fluence.php?lang=sr_RS;target="_blank"');
aI('text=Renault LCV;url=http://www.renault-lcv.com/index.php?lang=sr_RS;target="_blank"');
aI('text=Renault Z.E.;url=http://www.renault-ze.com/rs/;target="_blank"');
aI('text=Drive The Change;url=http://prod-marquegp.integra.fr/rs/;target="_blank"');
}

with(milonic=new menuname('Usluge')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=GARANCIJA;url=' + pathToRoot + 'services/warranty' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SERVIS I ODRŽAVANJE;url=' + pathToRoot + 'services/customerCareAndRepair' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=DODATNA OPREMA;url=' + pathToRoot + 'services/accessories' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=POSTPRODAJA;url=' + pathToRoot + 'services/postprodaja' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 

with(milonic=new menuname('Upoznajte Renault')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=RENAULT GRUPA;url=' + pathToRoot + 'discover/leGroupeRenault' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=NOVOSTI;url=' + pathToRoot + 'discover/news' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=INOVACIJE I TEHNOLOGIJA;url=' + pathToRoot + 'discover/innovationEtTechnologie' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=ZAŠTITA OKOLINE;url=' + pathToRoot + 'discover/environnement' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=ISTORIJA I KULTURA;url=' + pathToRoot + 'discover/histoireEtCulture' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KONCEPTUALNA VOZILA;url=' + pathToRoot + 'discover/ConceptCars' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=RENAULT LITERATURA;url=' + pathToRoot + 'discover/literatura' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=RENAULT I SPORT;url=' + pathToRoot + 'discover/renaultEtLeSport' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 

with(milonic=new menuname('Stranice za kontakt')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Kontakt - formular;url=' + pathToRoot + 'dealerlocator.html' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
