﻿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=Inicio;showmenu=Inicio;url=' + pathToRoot + 'index/index' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Gama Renault;showmenu=Gama Renault;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Red de Concesionarios;showmenu=Red de Concesionarios;url=' + pathToRoot + 'concesionarios/index' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

aI('text=financiamiento;showmenu=financiamiento;url=' + pathToRoot + 'financiamiento/financiamiento1' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Posventa;showmenu=Posventa;');

//aI('text=Descubre Renault;showmenu=Descubre Renault;');
aI('text=noticias;showmenu=noticias;url=' + pathToRoot + 'descubre/index' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

aI('text=Contactenos;showmenu=Contactenos;');

} 
with(milonic=new menuname('Gama Renault')){ 
overflow='show'; 
style=subMenuStyle; 
aI('text=SANDERO ;url=' + pathToRoot + 'cars/sandero/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SANDERO GT ;url=' + pathToRoot + 'cars/sanderogt/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LOGAN ;url=' + pathToRoot + 'cars/logan/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=STEPWAY ;url=' + pathToRoot + 'cars/stepway/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KOLEOS ;url=' + pathToRoot + 'cars/koleos/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('Renault - Home')){ 
style=subMenuStyle; 
subimageposition='left'; 
} 
with(milonic=new menuname('Red de Concesionarios')){ 
style=subMenuStyle; 
subimageposition='left'; 
/*aI('text=AMBATO;url=' + pathToRoot + 'concesionarios/ambato' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CUENCA;url=' + pathToRoot + 'concesionarios/cuenca' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=GUAYAQUIL;url=' + pathToRoot + 'concesionarios/guayaquil' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=IBARRA;url=' + pathToRoot + 'concesionarios/ibarra' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LOJA;url=' + pathToRoot + 'concesionarios/loja' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MACHALA;url=' + pathToRoot + 'concesionarios/machala' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MANTA;url=' + pathToRoot + 'concesionarios/manta' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=QUITO;url=' + pathToRoot + 'concesionarios/quito' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=RIOBAMBA;url=' + pathToRoot + 'concesionarios/riobamba' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SANTO DOMINGO;url=' + pathToRoot + 'concesionarios/santdomingo' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));*/
} 
with(milonic=new menuname('Financiamiento')){ 
style=subMenuStyle; 
subimageposition='left'; 
} 
with(milonic=new menuname('Posventa')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Garantía;url=' + pathToRoot + 'post/warranty' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Repuestos Originales;url=' + pathToRoot + 'post/genuinePart' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Guía de Matenimiento;url=' + pathToRoot + 'post/mantenimiento' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
/*with(milonic=new menuname('Descubre Renault')){ 
style=subMenuStyle; 
subimageposition='left';
aI('text=Noticias;url=' + pathToRoot + 'descubre/index' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} */
with(milonic=new menuname('Noticias')){ 
style=subMenuStyle; 
subimageposition='left'; 
} 
with(milonic=new menuname('Contactenos')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Solicita más información;url=' + pathToRoot + 'contact/solicitud' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Prueba de Manejo;url=' + pathToRoot + 'contact/test_drive' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Sugerencias y quejas;url=' + pathToRoot + 'contact/sugerencias' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
/*with(milonic=new menuname('Prueba de Manejo')){ 
style=subMenuStyle; 
subimageposition='left';
} */

