﻿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;
align = "right";
rawcss="padding: 2px 20px;";
}

with(milonic=new menuname('Main Menu')){ 
openstyle='rtl'; 
alwaysvisible=1; 
orientation='horizontal'; 
style=mainMenuStyle; 
borderwidth=0; 
padding=0; 
position='relative'; 
aI('text=שירות לאחר מכירה;showmenu=שירות לאחר מכירה;url=' + pathToRoot + 'services/services' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=מבחר הדגמים;showmenu=מבחר הדגמים;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=גלה את רנו;showmenu=גלה את רנו;url=' + pathToRoot + 'discover/discover' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('מבחר הדגמים')){ 
openstyle='rtl'; 
overflow='show'; 
style=subMenuStyle; 
aI('text=פלואנס ;url=' + pathToRoot + 'cars/meganeSaloon/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=מגאן פלואנס;url=' + pathToRoot + 'cars/meganeHatchback/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=קליאו III;url=' + pathToRoot + 'cars/clio/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=קליאו ספורט החדשה;url=' + pathToRoot + 'cars/csport/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=קנגו ;url=' + pathToRoot + 'cars/kangoo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=קולאוס ;url=' + pathToRoot + 'cars/text/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=לוגאן MCV;url=' + pathToRoot + 'cars/DaciaLogan/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=מאסטר ;url=' + pathToRoot + 'cars/master/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=טראפיק ;url=' + pathToRoot + 'cars/traficp/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('שירות לאחר מכירה')){ 
openstyle='rtl'; 
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':''));
} 
with(milonic=new menuname('גלה את רנו')){ 
openstyle='rtl'; 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=חדשות;url=' + pathToRoot + 'discover/news' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=רנו בישראל;url=' + pathToRoot + 'discover/renaultDansLePays' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=קבוצת רנו;url=' + pathToRoot + 'discover/leGroupeRenault' + (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=ספורט מוטורי;url=' + pathToRoot + 'discover/renaultEtLeSport' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=מכוניות קונספט;url=' + pathToRoot + 'discover/ConceptCars' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=תקנון האתר;url=' + pathToRoot + 'discover/legalInfo' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=ציי רכב;url=' + pathToRoot + 'discover/t2_5' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=קרן תרומות;url=' + pathToRoot + 'discover/fund' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('יצירת קשר')){ 
openstyle='rtl'; 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=צור קשר;url=' + pathToRoot + 'contact/contact_form' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
