﻿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="#5f6971";
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=Vehiculos;showmenu=Vehiculos;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=EMPRESAS;showmenu=FLOTILLAS;url=' + pathToRoot + 'FLOTILLASDIRECTORY/empresasdire' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

aI('text=RENAULT SERVICIOS;showmenu=RENAULT SERVICIOS;url=' + pathToRoot + 'SERVICERENDIR/HomeServicesRenDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

aI('text=RED RENAULT;showmenu=RED RENAULT;url=' + pathToRoot + 'RENAULTNET/form_buscador' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

//aI('text=RENAULT EN COLOMBIA;showmenu=RENAULT EN COLOMBIA;url=' + pathToRoot + 'COLOMBIADIR/HistoriaDirect' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=GRUPO RENAULT;showmenu=RENAULT EN COLOMBIA;url=' + pathToRoot + 'COLOMBIADIR/HistoriaDirect' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

aI('text=COMUNIDAD RENAULT;showmenu=COMUNIDAD RENAULT;url=' + pathToRoot + 'Commdirec/whatdirectory' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

aI('text=SOFASA;showmenu=SOFASA;url=' + pathToRoot + 'SOFASADIRECTORY/HistorySofr' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

aI('text=;showmenu=;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('PARTICULARES')){ 
overflow='show'; 
style=subMenuStyle; 
aI('text=TWINGO ;url=' + pathToRoot + 'cars/Twingo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=CLIO ;url=' + pathToRoot + 'cars/Clio/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=LOGAN ;url=' + pathToRoot + 'cars/Logan/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SANDERO ;url=' + pathToRoot + 'cars/Sandero/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=STEPWAY ;url=' + pathToRoot + 'cars/Stepway/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SYMBOL AVANCÉE;url=' + pathToRoot + 'cars/Symbol/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=SCALA ;url=' + pathToRoot + 'cars/Scala/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
//aI('text=MÉGANE ODEON;url=' + pathToRoot + 'cars/Megane/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
//aI('text=SCENIC SPORTWAY;url=' + pathToRoot + 'cars/Scenic/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=FLUENCE;url=' + pathToRoot + 'cars/Fluence/index' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=KOLEOS;url=' + pathToRoot + 'cars/Koleos/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

} 
with(milonic=new menuname('UTILITARIOS')){ 
overflow='show'; 
style=subMenuStyle; 
aI('text=KANGOO EXPRESS;url=' + pathToRoot + 'cars/Kangoo/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MASTER MINIBUS;url=' + pathToRoot + 'cars/MasterMinibus/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=MASTER FURGÓN;url=' + pathToRoot + 'cars/MasterFurgon/home' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('VEHICULOS')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Vehiculos Particulares;showmenu=Particulares;url=' + pathToRoot + 'range' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Vehiculos Utilitarios;showmenu=Utilitarios;url=' + pathToRoot + 'rangeVan' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('FLOTILLAS')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Renault empresas;url=' + pathToRoot + 'FLOTILLASDIRECTORY/empresas' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Nuestros Clientes;url=' + pathToRoot + 'FLOTILLASDIRECTORY/OwnCustomerDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Contáctenos;clickfunction=mostrarLBcontacto();url=#');
} 
with(milonic=new menuname('RENAULT SERVICIOS')){ 
style=subMenuStyle; 
subimageposition='left'; 
//aI('text=Home Renault Servicios;url=' + pathToRoot + 'SERVICERENDIR/HomeServicesRenDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Minuto;url=' + pathToRoot + 'SERVICERENDIR/minutodir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Carrocería;url=' + pathToRoot + 'SERVICERENDIR/carroceriadire' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Mantenimiento;url=' + pathToRoot + 'SERVICERENDIR/mantenimientodire' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Asistencia;url=' + pathToRoot + 'SERVICERENDIR/Asistenciadire' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Línea Renault;url=' + pathToRoot + 'SERVICERENDIR/centroclientedire' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Pro +;url=' + pathToRoot + 'SERVICERENDIR/home_pro_plus' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Boutique;url=' + pathToRoot + 'SERVICERENDIR/boutique' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Seguro;url=' + pathToRoot + 'SERVICERENDIR/home_seguros' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Campaña de Servicios;url=' + pathToRoot + 'SERVICERENDIR/sic' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Accesorios;url=http://www.webpartesaccesorios.com/;target=_blank');
//aI('text=Sofasa crédito;url=' + pathToRoot + 'SERVICERENDIR/sofasacredire' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('RED RENAULT')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Buscador Rápido;url=' + pathToRoot + 'RENAULTNET/form_buscador' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('RENAULT EN COLOMBIA')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Renault Historia;url=' + pathToRoot + 'COLOMBIADIR/HistoriaDirect' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Renault Tv;url= http://www.renault.tv/en;target="blank"');
aI('text=Café Renault;url=' + pathToRoot + 'COLOMBIADIR/cofdirec' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
} 
with(milonic=new menuname('COMUNIDAD RENAULT')){ 
style=subMenuStyle; 
subimageposition='left'; 

aI('text=¿Qué es comunidad?;url=' + pathToRoot + 'Commdirec/whatdirectory' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Beneficios;url=' + pathToRoot + 'Commdirec/BeneficiosDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
//aI('text=Como pertenecer;url=' + pathToRoot + 'Commdirec/belodirec' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
//aI('text=Contáctenos;url=' + pathToRoot + 'Commdirec/conctdir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Regístrate;url=' + pathToRoot + 'Commdirec/Commdirec' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Actualiza tus datos;url=' + pathToRoot + 'Commdirec/form_actualizar' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
//aI('text=modelo_comunidad;url=' + pathToRoot + 'Commdirec/modelo_comunidad' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));

} 
with(milonic=new menuname('SOFASA')){ 
style=subMenuStyle; 
subimageposition='left'; 
aI('text=Historia;url=' + pathToRoot + 'SOFASADIRECTORY/HistorySofr' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Filosofía Corporativa;url=' + pathToRoot + 'SOFASADIRECTORY/PhilosophyCorpDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
//aI('text=Sala de Prensa;url=http://www.renault.com.co/sofasa/Saladeprensa/tabid/78/Default.aspx');
//aI('text=Sala de Prensa;url=http://www.renault.com.co/Saladeprensa.html');
aI('text=Sedes;url=' + pathToRoot + 'SOFASADIRECTORY/SaidDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Proceso de Producción;url=' + pathToRoot + 'SOFASADIRECTORY/ProcessProdDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Casa Matriz;url=' + pathToRoot + 'SOFASADIRECTORY/MatterHouseDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Sistema de Gestión de Calidad;url=' + pathToRoot + 'SOFASADIRECTORY/SysManagQualDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Academia Renault;url=' + pathToRoot + 'SOFASADIRECTORY/AcademicRenault' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Certificados y Reconocimientos;url=' + pathToRoot + 'SOFASADIRECTORY/AwardDir' + (isHtmlGerator?'.html':'.asp') + (isInEditMode?'?edit=yes':''));
aI('text=Extranet;url=https://extranet.sofasa.com.co/Extranetsofasa_ssl');
aI('text=Código de Buen Gobierno;url=http://www.renault.com.co/SOFASADIRECTORY/codbuengob.html');
aI('text=RECAUDOS RENAULT-SOFASA;url=https://recaudos.renault.com.co/');
//aI('text=Pago a Proveedores;url=https://extranet.sofasa.com.co/PortalProveedores');
} 

function mostrarLBcontacto() {
	GB_showCenter('Contáctenos', 'http://renault.bwebcolombia.com/Renault',650,750);
};
