function menu_brokers()
{
	
var menu = "<table valign='top' id='menu_niv0' name='menu_niv0' border='0' cellpadding='0' cellspacing='0' width='100%'  align=center >";
menu = menu + "<tr >";
menu = menu + "<td class='td_link_niv1' height='38'>";
menu = menu + "<A name='menu_1' id='menu_1' class='link_niv1' href='"+ RUTA_PAG + "Brokers/home_brokers.htm?val_btn=BROKERS\'>Home</A>"; 
menu = menu + "<A name='menu_2' id='menu_2' class='link_niv1' href='"+ RUTA_PAG + "empresas/subh_seg_colectivos.htm?val_btn=BROKERS\'>Seguros Colectivos</A>";
menu = menu + "<A name='menu_3' id='menu_3' class='link_niv1' href='"+ RUTA_PAG + "empresas/pbv/pbv_vida.htm?val_btn=BROKERS\'>Programa Beneficio Voluntario</A>";
menu = menu + "<A name='menu_4' id='menu_4' class='link_niv1' href='"+ RUTA_PAG + "personas/servicio/serv_empresas.htm?val_btn=BROKERS\'>Servicio al Cliente</A>";
menu = menu + "<A name='menu_5' id='menu_5' class='link_niv1' href='"+ RUTA_PAG + "personas/conocenos/conocenos_cl.htm?val_btn=BROKERS\'>Conócenos</A>";
menu = menu + "</td>";
menu = menu + "</tr>";
menu = menu + "</table>";
return menu;
}

function acceso_brokers()
{

if ( (strURL == "TOOLBOX") ||  (strURL == "MLFDESARROLLO") || (strURL == "MLFDESAINTERNET") || (strURL == "172.22.1.55") )
{
	PathInicial = "http://172.22.1.55:104/aplicaciones/corredores_empresa_ll";
}
else
{
	PathInicial = "http://www.metlife.cl/aplicaciones/corredores_empresa_ll";   // VALIDAR RUTA PRODUCCIÓN
}

Ruta = PathInicial + "/ingreso/Procesa_login.asp"

Ruta_Olvido = PathInicial + "/olvidoclave/Solicitar.htm"

	
var texto = "<table border='0' cellspacing='0' cellpadding='0' align='center'>";
texto = texto + "<tr>";
texto = texto + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_izq_sup.gif\'></td>";
texto = texto + "<td width='200'height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_sup.gif\'></td>";
texto = texto + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_der_sup.gif\'></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td width='6' height='1' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_izq.gif\'></td>";
texto = texto + "<td width='200'>";
texto = texto + "<table border='0' cellspacing='0' cellpadding='0' width='100%' class='FondoTablaVerde'>";
texto = texto + "<tr>";
texto = texto + "<td>";
texto = texto + "<form name='formulario' method='post' action='"+ Ruta + "\'>";
texto = texto + "<table border='0' cellspacing='0' cellpadding='0'  width='100%' height='136' valign='center'>";
texto = texto + "<tr>";
texto = texto + "<td colspan='2' class='subtit_det_prod'>&nbsp;&nbsp;&nbsp;Acceso Broker</td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td colspan='2' align='center'><img src='"+ RUTA_PAG + "imagenes/linea_menu_lat.gif\'></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td>";
texto = texto + "<table border='0' cellpadding='0' cellspacing='0' width='100%' align=center >";
texto = texto + "<tr>";
texto = texto + "<td align='right' class='text_det_prod'>&nbsp;Rut</td>";
texto = texto + "<td>&nbsp;:&nbsp;<input class='input_home' name='Txt_Rut' id='Txt_Rut' size='11' maxlength='13' tabindex='1' onchange='return verifica_rut(this)' onblur='verifica_rut(this)'></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td align='right' class='text_det_prod'>&nbsp;Clave</td>";
texto = texto + "<td>&nbsp;:&nbsp;<input class='input_home' type='password' name='clave' size='11' maxlength='13' tabindex='2' ></td>";
texto = texto + "</tr>";
texto = texto + "</table>";
texto = texto + "</td>";

texto = texto + "<td align='center' valign='center'>";
texto = texto + "<input type='image' src='"+ RUTA_PAG + "imagenes/botones/btn_ingresar.gif\' tabindex='3' onLoad='document.formulario.Txt_Rut.focus();' onClick='return verifica_rut(document.formulario.Txt_Rut)' name='img_enviar' >";
texto = texto + "</td>";

texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td colspan='2' height='15' class='texto_azul'>";
texto = texto + "<A class=link_tabla_lat href='"+ Ruta_Olvido + "\'>";
texto = texto + "&iquest;Olvid&oacute; su Clave?</a></td>";
texto = texto + "</tr>";
texto = texto + "</table>";
texto = texto + "</form>";
texto = texto + "</td>";
texto = texto + "</tr>";
texto = texto + "</table>";
texto = texto + "</td>";
texto = texto + "<td width='6' height='1' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_der.gif\'></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_izq_inf.gif\'></td>";
texto = texto + "<td width='200' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_inf.gif\'></td>";
texto = texto + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_der_inf.gif\'></td>";
texto = texto + "</tr>";
texto = texto + "</table>";
return texto;
}

function accesos_directos_broker()
{
var accdirbr = "<table border='0' cellspacing='0' cellpadding='0' width='212' align=center>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td colspan='3' class='tit_menu_lat'>";
accdirbr = accdirbr + "<a class=link_blanco_home href='javascript:showAcceso();'>";
accdirbr = accdirbr + "<b>Acceso Directo Productos</b></a></td>";
accdirbr = accdirbr + "</tr>";

accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td width='6' height='1' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_izq.gif\'></td>";
accdirbr = accdirbr + "<td width='200'>";
accdirbr = accdirbr + "<table  id='tbl_accesos' name='tbl_accesos' border='0' cellpadding='0' cellspacing='0' width='200' align=center >";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td height='25px'><A class=link_tabla_lat href='"+ RUTA_PAG + "empresas/SegurosColectivos/colectivo_vida.htm?val_btn=BROKERS\'>Colectivo Vida</A></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td align='center'><img src='"+ RUTA_PAG + "imagenes/linea_menu_lat.gif\'></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td height='25px'><A class=link_tabla_lat href='"+ RUTA_PAG + "empresas/SegurosColectivos/colectivo_accidente.htm?val_btn=BROKERS\'>Colectivo Accidentes</A></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td align='center'><img src='"+ RUTA_PAG + "imagenes/linea_menu_lat.gif\'></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td height='25px'><A class=link_tabla_lat href='"+ RUTA_PAG + "empresas/SegurosColectivos/comple_salud.htm?val_btn=BROKERS\'>Complementario Salud</A></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td align='center'><img src='"+ RUTA_PAG + "imagenes/linea_menu_lat.gif\'></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td height='25px'><A class=link_tabla_lat href='"+ RUTA_PAG + "empresas/SegurosColectivos/salud_gastos_cub.htm?val_btn=BROKERS\'>Salud Gastos Cubiertos</A></td>";
accdirbr = accdirbr + "</tr>";
/*
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td align='center'><img src='"+ RUTA_PAG + "imagenes/linea_menu_lat.gif\'></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td height='25px'><A class=link_tabla_lat href='"+ RUTA_PAG + "empresas/pbv/pbv_vida.htm?val_btn=BROKERS\'>Vida Protegida</A></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td align='center'><img src='"+ RUTA_PAG + "imagenes/linea_menu_lat.gif\'></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td height='25px'><A class=link_tabla_lat href='"+ RUTA_PAG + "empresas/pbv/pbv_hospitaLife.htm?val_btn=BROKERS\'>HospitaLife</A></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td align='center'><img src='"+ RUTA_PAG + "imagenes/linea_menu_lat.gif\'></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td height='25px'><A class=link_tabla_lat href='"+ RUTA_PAG + "brokers/desgravamen/home_desgravamen.htm?val_btn=BROKERS\'>Desgravamen</A></td>";
accdirbr = accdirbr + "</tr>";
*/
accdirbr = accdirbr + "</table>";
accdirbr = accdirbr + "</td>";
accdirbr = accdirbr + "<td width='6' height='1' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_der.gif\'></td>";
accdirbr = accdirbr + "</tr>";

/*
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_izq_inf.gif\'></td>";
accdirbr = accdirbr + "<td width='200' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_inf.gif\'></td>";
accdirbr = accdirbr + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_der_inf.gif\'></td>";
accdirbr = accdirbr + "</tr>";
*/

accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td colspan='3' class='tit_azul_menu_lat'>";



//accdirbr = accdirbr + "<a class=link_blanco_home href='"+ RUTA_PAG + "Aplicaciones/contacto/contacto.htm?val_btn="+val_btn+"\'>";
accdirbr = accdirbr + "<a class=link_blanco_home href='javascript:showAcceso();'>";
accdirbr = accdirbr + "<b>Solicita un Especialista</b></A>";


accdirbr = accdirbr + "</td>";
accdirbr = accdirbr + "</tr>";

accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td colspan='3'>";
accdirbr = accdirbr + "<table id='tbl_contacto' name='tbl_contacto' style='display=none' border='0' width='100%'  cellspacing='0' cellpadding='0'>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td width='6' height='1' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_izq.gif\'></td>";
accdirbr = accdirbr + "<td width='195'>";

accdirbr = accdirbr + "<table border='0' cellspacing='0' cellpadding='0'  align=center width='100%'>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td>";
accdirbr = accdirbr + solicitelo('SolicitoEspecialista');
accdirbr = accdirbr + "</td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "</table>";
accdirbr = accdirbr + "</td>";

accdirbr = accdirbr + "<td width='6' height='1' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_der.gif\'></td>";
accdirbr = accdirbr + "</tr>";
accdirbr = accdirbr + "<tr>";
accdirbr = accdirbr + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_izq_inf.gif\'></td>";
accdirbr = accdirbr + "<td width='195' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_inf.gif\'></td>";
accdirbr = accdirbr + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_der_inf.gif\'></td>";
accdirbr = accdirbr + "</tr>";


accdirbr = accdirbr + "</table>";
accdirbr = accdirbr + "</td>";
accdirbr = accdirbr + "</tr>";

accdirbr = accdirbr + "<script language='JavaScript' type='text/javascript'>";
accdirbr = accdirbr + "document.getElementById('tbl_contacto').style.display=OCULTO;";
accdirbr = accdirbr + "</script>";


accdirbr = accdirbr + "</table>";

return accdirbr;
}

function imed(val_btn,val_menu,val_submenu)
{
var texto = "<table border='0' cellspacing='0' cellpadding='0' align='center'>";
texto = texto + "<tr>";
texto = texto + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_izq_sup.gif\'></td>";
texto = texto + "<td width='200'height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_sup.gif\'></td>";
texto = texto + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_der_sup.gif\'></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td width='6' height='1' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_izq.gif\'></td>";
texto = texto + "<td width='200'>";
texto = texto + "<table border='0' cellspacing='1' cellpadding='1' width='100%'>";
texto = texto + "<tr>";
texto = texto + "<td>";
texto = texto + "<table border='0' cellspacing='0' cellpadding='0' class='FondoTablaGrisDegra' width='100%' height='100' valign='center'>";
texto = texto + "<tr>";
texto = texto + "<td colspan='2' height='25' class='subtit_det_prod'>&nbsp;Prestadores IMED</td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td colspan='2' align='center'><img src='"+ RUTA_PAG + "imagenes/linea_menu_lat.gif\'></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td colspan='2' height='5'></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td rowspan='2' valign='right' width='62'><div align='right'><img src='"+ RUTA_PAG + "imagenes/brokers/listado_imed.gif\'></div></td>";
texto = texto + "<td colspan='2' class='textogris' height='20' valign='bottom'><div align='right'>Descargar aquí&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td align='center' height='40' valign='center'><a href='"+ RUTA_PAG + "brokers/pdf/listado_IMED.pdf\' target='_blank'><img src='"+ RUTA_PAG + "imagenes/botones/btn_descargar.gif\' border='0'></a></td>";
texto = texto + "</tr>";
texto = texto + "</table>";
texto = texto + "</td>";
texto = texto + "</tr>";
texto = texto + "</table>";
texto = texto + "</td>";
texto = texto + "<td width='6' height='1' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_der.gif\'></td>";
texto = texto + "</tr>";
texto = texto + "<tr>";
texto = texto + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_izq_inf.gif\'></td>";
texto = texto + "<td width='200' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_centro_inf.gif\'></td>";
texto = texto + "<td width='6' height='6' background='"+ RUTA_PAG + "imagenes/tabla/rec_lat_der_inf.gif\'></td>";
texto = texto + "</tr>";
texto = texto + "</table>";
return texto;
}



