
/*
 * muestra el formulario
 */
function formulario(){
    var divFormulario = document.getElementById("container");
    var strForm = "";
    strForm += "<form id='frm_contactenos' name='frm_contactenos' method='POST' action='contactenos.php'>";
    strForm += "<input type='hidden' id='hdnEstado' name='hdnEstado' value='0' />";
    strForm += "<p>En esta opcion debes llenar tus datos personales y el comentario o consulta que desea transmitirnos, luego en Tipo de Consulta debe seleccionar el area de nuestra empresa a la que desea hacer llegar dicho requerimiento<br>";
    strForm += "*Tome en cuenta que por regulaciones de seguridad antispam adicionamos una casilla de seguridad al final en la que usted debe llenarla con las dos palabras que aparecen en la imagen.</p>";
    strForm += "<table border='0' cellspacing='3'>";
    strForm += "<tbody>";
    strForm += "<tr><td>Departamento a Contactar</td><td><select  id='cmbConsulta' name='cmbConsulta'><option value='1'>Ventas Residenciales</option><option value='2'>Ventas Corporativas</option>";
    strForm += "<option value='3'>Soporte Tecnico Residencial</option><option value='4'>Soporte Tecnico Corporativo y Transporte de Datos</option>";
    strForm += "<option value='5'>Atencion al Cliente</option><option value='6'>Mercadeo y Publicidad</option><option value='7'>Presidencia de la empresa</option></select></td></tr>";
    strForm += "<tr><td>Nombre</td><td><input type='text' id='txtNombre' name='txtNombre' value='' maxlength='30'/></td></tr>";
    strForm += "<tr><td>Tel&eacute;fono</td><td><input type='text' id='txtTel' name='txtTel' value='' maxlength='11'/></td></tr>";
    strForm += "<tr><td>Correo</td><td><input type='text' id='txtCorreo' name='txtCorreo' value='' maxlength='50'/></td></tr>";    
    strForm += "<tr><td>Comentario</td><td><textarea name='txtComentario' id= 'txtComentario' rows='5' cols='60'></textarea></td></tr>";
    strForm += "<tr><td>Escriba las dos palabras</td><td><div id='recaptcha_div'></div></td></tr>";
    strForm += "<tr><td align='center'><input type='button' value='Enviar' name='btnEnviar' id='btnEnviar' onclick='enviar()'/></td>";
    strForm += "<td><input type='button' value='Limpiar' name='btnLimpiar' id='btnLimpiar' onclick='limpiar()'/></td></tr></tbody></table></form>";

    divFormulario.innerHTML = strForm;
    
    Recaptcha.create("6Ley_gQAAAAAAEHNeu5NZf4O2Ouy7rC_9CZzvPWu", "recaptcha_div",
    {
        theme: "red",
        tabindex: 0,
        callback: Recaptcha.focus_response_field
    }
    );
}

/*
 * muestra las sucursales
 */
function sucursales(){    
    var divFormulario = document.getElementById("container");
    var strForm = "";
    strForm += "<table class='meta2'><tr><td valign='top'><ul class='ulStyle'><li><a href='#' class='first' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
    strForm += "<li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li><li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
    strForm += "<li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li><li> <a href='#' onclick='cambiarSucursal('5')'>Comayagua</a></li>";
    strForm += "<li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li><li> <a href='#' onclick='cambiarSucursal('7')'>Santa Rosa de Cop&aacute;n</a></li>";
    strForm += "<li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li><li> <a href='#' onclick='cambiarSucursal('9')'>Puerto Cort&eacute;s</a></li>";
	strForm += "<li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
	strForm += "<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
	strForm += "<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
	strForm += "<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
    strForm += "</ul></td><td><table border='0' class='meta'><thead>";
    strForm += "<th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
    strForm += "</thead><tbody><tr class='elborder'><td width='300' class='elborder'>Oficina principal: miramontes edificio continental 2do. Nivel </td>";
    strForm += "<td width='250' class='elborder'><strong>Lunes a Viernes: </strong> 8:00am a 6:00pm <br>";
    strForm += "<strong>Sabado: </strong> 8:00am a 12:00pm <br></td><td width='100' class='elborder'>2262-0000</td></tr><tr class='elborder'><td width='300' class='elborder'>Metro Mall: segundo nivel contiguo a Mendels </td>";
    strForm += "<td width='250' class='elborder'><strong>Lunes a Viernes:</strong> 10:00am a 7:00pm <br><strong>Sabado:</strong> 10:00am a 7:00pm <br>";
    strForm += "<strong>Domingo:</strong> 10:00am a 6:00pm <br></td><td width='100' class='elborder'>2262-0000</td></tr><tr class='elborder'>";
    strForm += "<td width='300' class='elborder'>Plaza Miraflores: Primer nivel, frente al palacio de los niños</td><td width='250' class='elborder'>";
    strForm += "<strong>Lunes a Viernes:</strong> 10:00am a 8:00pm <br><strong>Sabado:</strong> 10:00am a 7:00pm <br><strong>Domingo:</strong> 10:00am a 7:00pm <br></td>";
    strForm += "<td width='100' class='elborder'>2262-0000</td></tr><tr class='elborder'>";
    strForm += "<td width='300' class='elborder'>Mall las Cascadas: Segundo  nivel, frente al palacio de los niños</td>";
    strForm += "<td width='250' class='elborder'><strong>Lunes a Viernes:</strong> 10:00am a 8:00pm <br><strong>Sabado:</strong> 10:00am a 8:00pm <br>";
    strForm += "<strong>Domingo:</strong> 10:00am a 7:00pm <br></td><td width='100' class='elborder'>2262-0000</td></tr><tr class='elborder'>";
    strForm += "<td width='300' class='elborder'>Mall Multiplaza: Primer nivel, frente a tienda El Portico</td><td width='250' class='elborder'>";
    strForm += "<strong>Lunes a Viernes:</strong> 10:00am a 7:00pm <br><strong>Sabado:</strong> 10:00am a 7:00pm <br><strong>Domingo:</strong> 10:00am a 6:00pm <br>";
    strForm += "</td><td width='100' class='elborder'>2262-0000</td></tr>";
    strForm += "                               <tr>";
    strForm += "                                    <td width='300' class='elborder'>Col. Kennedy: Segunda entrada frente a Instituto Milla Selva</td>";
    strForm += "                                    <td width='250' class='elborder'>";
    strForm += "                                        <strong>Lunes a Viernes: </strong> 8:00am a 5:00pm <br>";
    strForm += "                                        <strong>Sabado: </strong> 8:00am a 5:00pm <br>";
    strForm += "                                    </td>";
    strForm += "                                    <td width='100' class='elborder'>2262-0000</td>";
    strForm += "                                </tr>";
    strForm += " <tr>";
    strForm += "     <td width='300' class='elborder'>Barrio el Centro: ave. Barahona atr&aacute;s del banco Continental antiguo edificio de moda Par&iacute;s</td>";
    strForm += "     <td width='250' class='elborder'><strong>Lunes a Viernes:</strong> 8:00am a 5:00pm <br><strong>Sabado:</strong> 8:00am a 12:00pm</td>";
    strForm += "     <td width='100' class='elborder'>2262-0000</td>";
    strForm += "</tr>";
    strForm += "<tr>";
    strForm += "<td width='300' class='elborder'>Hato de enmedio: Sector 1, costado sur oficinas de Hondutel</td>";
    strForm += "<td width='250' class='elborder'><strong>Lunes a Viernes:</strong> 8:00am a 5:00pm <br><strong>Sabado:</strong> 8:00am a 12:00pm</td>";
    strForm += "<td width='100' class='elborder'>2262-0000</td>";
    strForm += "</tr>";
    strForm += "</tbody></table></td></tr></table>";

    divFormulario.innerHTML = strForm;
}


/*
 * Limpia los datos del formulario
 */
function limpiar(){
    var txtNombre = document.getElementById("txtNombre");
    var txtTel = document.getElementById("txtTel");
    var txtCorreo = document.getElementById("txtCorreo");
    var txtComentario = document.getElementById("txtComentario");

    txtNombre.value = ""; txtTel.value = ""; txtCorreo.value = ""; txtComentario.value = "";
}

/*
 * Envia y salva los datos del formulario
 */
function enviar(){   
    var txtNombre = document.getElementById("txtNombre");
    var txtTel = document.getElementById("txtTel");
    var txtCorreo = document.getElementById("txtCorreo");
    var txtComentario = document.getElementById("txtComentario");
    var hdnEstado = document.getElementById("hdnEstado");
    
    if (txtNombre.value == ""){
        alert("Introduzca su nombre");
        return;
    }
    
    if (txtTel.value == ""){
        alert("Introduzca su telefono"); 
        return;
    }else if (isNaN(txtTel.value )){
        alert("En el teléfono, introduzca sólo números, ejem: 99999999 o 2222222");
        return;
    }

    if (txtComentario.value == ""){
        alert("Introduzca su comentario");
        return;
    }

    if (txtCorreo.value == ""){
        alert("Introduzca su telefono"); 
        return;
    }else if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(txtCorreo.value)) {
        var forma = document.getElementById("frm_contactenos");
        hdnEstado.value = "1";
        forma.target="_self";
        forma.action="contactenos.php";
        hdnEstado.value = "1";
        forma.submit();
    }else{
        alert("Introduzca un correo válido, ejem: juan.perez@cableocolor.hn");
        return;
    }
    
}
function getFrameContents(frameName){
   var iFrame =  document.getElementById(frameName);
   var iFrameBody;
   if ( iFrame.contentDocument ) 
   { // FF
     iFrameBody = iFrame.contentDocument.getElementsByTagName('body')[0].innerHTML;
   }
   else if ( iFrame.contentWindow && iFrame.contentWindow.document && iFrame.contentWindow.document.body ) 
   { // IE
     iFrameBody = iFrame.contentWindow.document.body.innerHTML;
   }
    return iFrameBody;
 }

/*
 * Envia y salva los datos del formulario de insercion de empleo
 */
function frmJobInsertSend(){   
    var txtTitulo = document.getElementById("txtTitulo");
    var txtCiudad = document.getElementById("slcCiudad");
    var txtDescripcion = document.getElementById("txtDescripcion");
    var txtRequerimientos = document.getElementById("txtRequerimientos");
    var hdnEstado = document.getElementById("hdnEstado");
    
    if (txtTitulo.value == ""){
        alert("Introduzca el titulo del puesto");
        return;
    }
    
    if (txtCiudad.value == ""){
        alert("Introduzca la ciudad donde se ofrece el puesto"); 
        return;
    }else {
        var forma = document.getElementById("frm_jobInsert");
		txtDescripcion.value = getFrameContents('wysiwygtxtDescripcion'); 
		txtRequerimientos.value = getFrameContents('wysiwygtxtRequerimientos'); 
        forma.target="_self";
        forma.action="job_insert.php";
        hdnEstado.value = "1";
        forma.submit();
    }

    /*if (txtDescripcion.value == ""){
        alert("Introduzca una Descripcion del puesto");
        return;
    }

    if (txtRequerimientos.value == ""){
        alert("Introduzca los requerimientos del puesto"); 
        return;
    }else {
        var forma = document.getElementById("frm_jobInsert");
        hdnEstado.value = "1";
        forma.target="_self";
        forma.action="job_insert.php";
        hdnEstado.value = "1";
        forma.submit();
    }*/
    
}

/*
 * Envia y salva los datos del formulario de insercion de empleo
 */
function frmJobEditSend(){   
    var txtTitulo = document.getElementById("txtTitulo");
    var txtCiudad = document.getElementById("slcCiudad");
    var txtDescripcion = document.getElementById("txtDescripcion");
    var txtRequerimientos = document.getElementById("txtRequerimientos");
    var hdnEstado = document.getElementById("hdnEstado");
    
    if (txtTitulo.value == ""){
        alert("Introduzca el titulo del puesto");
        return;
    }
    
    if (txtCiudad.value == ""){
        alert("Introduzca la ciudad donde se ofrece el puesto"); 
        return;
    }else {
        var forma = document.getElementById("frm_jobInsert");
        hdnEstado.value = "1";
        forma.target="_self";
        forma.action="job_edit.php";
        hdnEstado.value = "1";
        forma.submit();
    }
    
}

/*
 * Envia Comprueba la extension del archivo a subir y salva los datos del formulario
 */
function frmEmpleoEnviar(){   
    var txtNombre = document.getElementById("txtNombre");
    var txtTel = document.getElementById("txtTel");
    var txtCorreo = document.getElementById("txtCorreo");
    var txtComentario = document.getElementById("txtComentario");
	var selVacante = document.getElementById("sVacante");
    var hdnEstado = document.getElementById("hdnEstado");
    
    if (txtNombre.value == ""){
        alert("Introduzca su nombre");
        return;
    }
	
	if (selVacante.value == ""){
        alert("Debe seleccionar el puesto al que aplica");
        return;
    }
    
    if (txtTel.value == ""){
        alert("Introduzca su telefono"); 
        return;
    }else if (isNaN(txtTel.value )){
        alert("En el teléfono, introduzca sólo números, ejem: 99999999 o 2222222");
        return;
    }

    if (txtComentario.value == ""){
        alert("Introduzca su comentario");
        return;
    }

    if (txtCorreo.value == ""){
        alert("Introduzca su telefono"); 
        return;
    }else if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(txtCorreo.value)) {
        
	   extensiones_permitidas = new Array(".doc", ".pdf", ".docx", ".txt"); 
	   mierror = ""; 
	   var archivo = document.getElementById("fileCV").value;
	   
	   if (!archivo) { 
		  //Si no tengo archivo, es que no se ha seleccionado un archivo en el formulario 
			mierror = "No has seleccionado ningún archivo"; 
	   }else{ 
		  //recupero la extensión de este nombre de archivo 
		  var punto = archivo.lastIndexOf(".");
		  var extension = archivo.substring(punto).toLowerCase(); 
		  //alert (extension); 
		  //compruebo si la extensión está entre las permitidas 
		  var permitida = false; 
		  for (var i = 0; i < extensiones_permitidas.length; i++) { 
			 if (extensiones_permitidas[i] == extension) { 
			 permitida = true; 
			 break; 
			 } 
		  } 
		  if (!permitida) { 
			 mierror = "Comprueba la extensión de los archivos a subir. \nSólo se pueden subir archivos con extensiones: " + extensiones_permitidas.join(); 
			}else{ 
				 //submito! Todo correcto. Voy a submitir el formulario
				 var forma = document.getElementById("frm_contactenos");
				hdnEstado.value = "1";
				forma.target="_self";
				forma.action="empleo.php";
				forma.submit();
				return 1; 
			} 
	   } 
	   //si estoy aqui es que no se ha podido submitir 
	   alert (mierror); 
	   return 0;
	   //termino de comprobar la extension del archivo
    }else{
        alert("Introduzca un correo válido, ejem: juan.perez@cableocolor.hn");
        return;
    }
    
}

/*
 * cambia la información de las sucursales
 */
function cambiarSucursal(suc){
    var divFormulario = document.getElementById("container");
    var strForm = "";

    if (suc == 1){ // tegucigalpa
        strForm += "<table class='meta2'><tr><td valign='top' style='width:180px'><ul class='ulStyle'><li><a href='#' class='first' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li><li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li><li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li><li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li><li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "</ul></td><td><table border='0' class='meta'><thead>";
        strForm += "<th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "</thead><tbody><tr ><td width='300' class='elborder'>Oficina principal: miramontes edificio continental 2do. Nivel </td>";
        strForm += "<td width='250' class='elborder'><strong>Lunes a Viernes: </strong> 8:00am a 6:00pm <br>";
        strForm += "<strong>Sabado: </strong> 8:00am a 12:00pm <br></td><td width='100' class='elborder'>2262-0000</td></tr><tr ><td width='300' class='elborder'>Metro Mall: segundo nivel contiguo a Mendels </td>";
        strForm += "<td width='250' class='elborder'><strong>Lunes a Viernes:</strong> 10:00am a 7:00pm <br><strong>Sabado:</strong> 10:00am a 7:00pm <br>";
        strForm += "<strong>Domingo:</strong> 10:00am a 6:00pm <br></td><td width='100' class='elborder'>2262-0000</td></tr><tr >";
        strForm += "<td width='300' class='elborder'>Plaza Miraflores: Primer nivel, frente al palacio de los niños</td><td width='250' class='elborder'>";
        strForm += "<strong>Lunes a Viernes:</strong> 10:00am a 8:00pm <br><strong>Sabado:</strong> 10:00am a 7:00pm <br><strong>Domingo:</strong> 10:00am a 7:00pm <br></td>";
        strForm += "<td width='100' class='elborder'>2262-0000</td></tr><tr >";
        strForm += "<td width='300' class='elborder'>Mall las Cascadas: Segundo  nivel, frente al palacio de los niños</td>";
        strForm += "<td width='250' class='elborder'><strong>Lunes a Viernes:</strong> 10:00am a 8:00pm <br><strong>Sabado:</strong> 10:00am a 8:00pm <br>";
        strForm += "<strong>Domingo:</strong> 10:00am a 7:00pm <br></td><td width='100' class='elborder'>2262-0000</td></tr><tr>";
        strForm += "<td width='300' class='elborder'>Mall Multiplaza: Primer nivel, frente a tienda El Portico</td><td width='250' class='elborder'>";
        strForm += "<strong>Lunes a Viernes:</strong> 10:00am a 7:00pm <br><strong>Sabado:</strong> 10:00am a 7:00pm <br><strong>Domingo:</strong> 10:00am a 6:00pm <br>";
        strForm += "</td><td width='100' class='elborder'>2262-0000</td></tr>";
        strForm += "                               <tr>";
        strForm += "                                    <td width='300' class='elborder'>Col. Kennedy: Segunda entrada frente a Instituto Milla Selva</td>";
        strForm += "                                    <td width='250' class='elborder'>";
        strForm += "                                        <strong>Lunes a Viernes: </strong> 8:00am a 5:00pm <br>";
        strForm += "                                        <strong>Sabado: </strong> 8:00am a 5:00pm <br>";
        strForm += "                                    </td>";
        strForm += "                                    <td width='100' class='elborder'>2262-0000</td>";
        strForm += "                                </tr>";
        strForm += " <tr>";
        strForm += "     <td width='300' class='elborder'>Barrio el Centro: ave. Barahona atr&aacute;s del banco Continental antiguo edificio de moda Par&iacute;s</td>";
        strForm += "     <td width='250' class='elborder'><strong>Lunes a Viernes:</strong> 8:00am a 5:00pm <br><strong>Sabado:</strong> 8:00am a 12:00pm</td>";
        strForm += "     <td width='100' class='elborder'>2262-0000</td>";
        strForm += "</tr>";
        strForm += "<tr>";
        strForm += "<td width='300' class='elborder'>Hato de enmedio: Sector 1, costado sur oficinas de Hondutel</td>";
        strForm += "<td width='250' class='elborder'><strong>Lunes a Viernes:</strong> 8:00am a 5:00pm <br><strong>Sabado:</strong> 8:00am a 12:00pm</td>";
        strForm += "<td width='100' class='elborder'>2262-0000</td>";
        strForm += "</tr>";
        strForm += "</tbody></table></td></tr></table>";
    }else if (suc == 2){ // valle de ángeles
        strForm += "<table class='meta2'>";
        strForm += "                <tr>";
        strForm += "                    <td valign='top' style='width:180px'>";
        strForm += "                        <ul class='ulStyle'>";
        strForm += "                            <li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "                            <li> <a href='#' class='first' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "                            <li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "                        </ul>";
        strForm += "                    </td>";
        strForm += "                    <td valign='top'>";
        strForm += "                        <table border='0' class='meta'>";
        strForm += "                            <thead>";
        strForm += "                                <th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "                            </thead>";
        strForm += "                            <tbody>";
        strForm += "                               <tr valign='top'>";
        strForm += "                                    <td width='300' class='elborder'>Oficina: Barrio El Zunteco, frente al estacionamiento Hotel Posada del Angel</td>";
        strForm += "                                    <td width='250' class='elborder'>";
        strForm += "                                        <strong>Lunes a Viernes: </strong> 8:00am a 5:00pm <br>";
        strForm += "                                        <strong>Sabado: </strong> 8:00am a 5:00pm <br>";
        strForm += "                                    </td>";
        strForm += "                                    <td width='100' class='elborder'>2740-2000</td>";
        strForm += "                                </tr>";
        strForm += "                            </tbody>";
        strForm += "                        </table>";
        strForm += "                    </td>";
        strForm += "                </tr>";
        strForm += "            </table>";
    }else if (suc == 3){ // Choloma
        strForm += "<table class='meta2'>";
        strForm += "                    <tr>";
        strForm += "                      <td valign='top' style='width:180px'>";
        strForm += "                         <ul class='ulStyle'>";
        strForm += "                                <li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "                          <li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "                   <li> <a href='#' class='first' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "                            <li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "                   			<li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "                   			<li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "                            </ul>";
        strForm += "                        </td>";
        strForm += "                        <td valign='top'>";
        strForm += "                     <table border='0' class='meta'>";
        strForm += "                              <thead>";
        strForm += "                                   <th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "                            </thead>";
        strForm += "                                <tbody>";
/**
        strForm += "                                    <tr valign='top'>";
        strForm += "                                       <td width='300' class='elborder'>Oficina Cerro Verde: Zona 9 Bloque 3, Casa# 18</td>";
        strForm += "                                        <td width='250' class='elborder'>";
        strForm += "                                            <strong>Lunes a Viernes: </strong> 8:00am a 5:00pm <br>";
        strForm += "                                <strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "                                        </td>";
        strForm += "                                        <td width='100' class='elborder'>2630-2500</td>";
        strForm += "                                    </tr>";
**/
        strForm += "                                   <tr valign='top'>";
        strForm += "                                       <td width='300' class='elborder'>Col. Lopez Arellano, calle principal sector L&oacute;pez Arellano, contiguo a Bco. Continental</td>";
        strForm += "                                        <td width='250' class='elborder'>";
        strForm += "                                         <strong>Lunes a Viernes: </strong> 8:00am a 4:00pm <br>";
        strForm += "                                            <strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "                                      </td>";
        strForm += "                                       <td width='100' class='elborder'>2630-2500</td>";
        strForm += "                                   </tr>";
        strForm += "                                   <tr valign='top'>";
        strForm += "                                       <td width='300' class='elborder'>Mall las am&eacute;ricas: A la par del Banco Continental</td>";
        strForm += "                                       <td width='250' class='elborder'>";
        strForm += "                                            <strong>Lunes a Viernes: </strong> 10:00am a 5:00pm <br>";
        strForm += "                                            <strong>Sabado: </strong> 8:00am a 5:00pm <br>";
        strForm += "                                      </td>";
        strForm += "                                       <td width='100' class='elborder'>2630-2500 ext.3751</td>";
        strForm += "                                    </tr>";
        strForm += "                                </tbody>";
        strForm += "                            </table>";
        strForm += "                        </td>";
        strForm += "                    </tr>";
        strForm += "               </table>";
    }else if (suc == 4){ // San Pedro Sula
        strForm += "<table class='meta2'>";
        strForm += "                    <tr>";
        strForm += "                        <td valign='top' style='width:180px'>";
        strForm += "                            <ul class='ulStyle'>";
        strForm += "                                <li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "                                <li> <a href='#' class='first' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "                                <li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "                            </ul>";
        strForm += "                        </td>";
        strForm += "                        <td valign='top'>";
        strForm += "<table border='0' class='meta'>";
        strForm += "                         <thead>";
        strForm += "                             <th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "                                </thead>";
        strForm += "                                <tbody>";
        strForm += "                                    <tr >";
        strForm += "                                        <td width='300' class='elborder'>Oficina City Mall. Direcci&oacute;n: City Mall SPS segundo nivel, frente a Game Company</td>";
        strForm += "                                        <td width='250' class='elborder'>";
        strForm += "                                            <strong>Lunes a Sabado: </strong> 10:00am a 8:00pm <br>";
        strForm += "                                            <strong>Domingo: </strong> 10:00am a 6:00pm <br>";
        strForm += "                                        </td>";
        strForm += "                                        <td width='100' class='elborder'>2540-1234</td>";
        strForm += "                                    </tr>";
		strForm += "                                    <tr >";
        strForm += "                                        <td width='300' class='elborder'>Oficina Principal: Edificio Canal 11 Blvd. Del Norte frente a Cervecería Hondureña</td>";
        strForm += "                                        <td width='250' class='elborder'>";
        strForm += "                                            <strong>Lunes a Viernes: </strong> 8:00am a 6:00pm <br>";
        strForm += "                                            <strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "                                        </td>";
        strForm += "                                        <td width='100' class='elborder'>2540-1234</td>";
        strForm += "                                    </tr>";
        strForm += "                                </tbody>";
        strForm += "                            </table>";
        strForm += "                        </td>";
        strForm += "                    </tr>";
        strForm += "                </table>";
    }else if (suc == 5){ // Comayagua
        strForm += "            <table class='meta2'>";
        strForm += "                    <tr>";
        strForm += "                        <td valign='top' style='width:180px'>";
        strForm += "                            <ul class='ulStyle'>";
        strForm += "                                <li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "                                <li> <a href='#' class='first' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "                                <li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "                            </ul>";
        strForm += "            </td>";
        strForm += "            <td valign='top'>";
        strForm += "                <table border='0' class='meta'>";
        strForm += "                    <thead>";
        strForm += "                        <th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "                    </thead>";
        strForm += "                    <tbody>";
        strForm += "                        <tr >";
        strForm += "                            <td width='300' class='elborder'>Oficina: 1/2 cuadra al este del banco continental</td>";
        strForm += "                            <td width='250' class='elborder'>";
        strForm += "                                <strong>Lunes a Viernes: </strong> 8:00am a 5:00pm <br>";
        strForm += "                                <strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "                            </td>";
        strForm += "                            <td width='100' class='elborder'>2740-0000</td>";
        strForm += "                        </tr>";
		strForm += "                        <tr >";
        strForm += "                            <td width='300' class='elborder'>Mall Premier: Bo. Cabañas Kiosco en el segundo nivel</td>";
        strForm += "                            <td width='250' class='elborder'>";
        strForm += "                                <strong>Lunes a Sabados: </strong> 10:00am a 7:00pm <br>";
        strForm += "                                <strong>Domingo: </strong> 10:00am a 6:00pm <br>";
        strForm += "                            </td>";
        strForm += "                            <td width='100' class='elborder'>2740-0000</td>";
        strForm += "                        </tr>";
        strForm += "                    </tbody>";
        strForm += "                            </table>";
        strForm += "                        </td>";
        strForm += "                    </tr>";
        strForm += "                </table>";
    }else if (suc == 6){ // Siguatepeque
        strForm += "<table class='meta2'>";
        strForm += "<tr>";
        strForm += "<td valign='top' style='width:180px'>";
        strForm += "        <ul class='ulStyle'>";
        strForm += "<li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "<li> <a href='#' class='first' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "</ul>";
        strForm += "</td>";
        strForm += "<td valign='top'>";
        strForm += "<table border='0' class='meta'>";
        strForm += "<thead>";
        strForm += "<th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "</thead>";
        strForm += "<tbody>";
        strForm += "<tr >";
        strForm += "<td width='300' class='elborder'>Oficina:Barrio el centro esquina opuesta a cooperativa taulabe limitada en el edificio continental</td>";
        strForm += "<td width='250' class='elborder'>";
        strForm += "<strong>Lunes a Viernes: </strong> 7:30am a 5:00pm <br>";
        strForm += "<strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "</td>";
        strForm += "<td width='100' class='elborder'>2740-1000</td>";
        strForm += "</tr>";
        strForm += "</tbody>";
        strForm += "</table>";
        strForm += "</td>";
        strForm += "</tr>";
        strForm += "</table>";
    }else if (suc == 7){ // San Rosa de Copán
        strForm += "<table class='meta2'>";
        strForm += "<tr>";
        strForm += "<td valign='top' style='width:180px'>";
        strForm += "<ul class='ulStyle'>";
        strForm += "<li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "<li> <a href='#' class='first' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "</ul>";
        strForm += "</td>";
        strForm += "<td valign='top'>";
        strForm += "<table border='0' class='meta'>";
        strForm += "<thead>";
        strForm += "<th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "</thead>";
        strForm += "<tbody>";
        strForm += "<tr >";
        strForm += "<td width='300' class='elborder'>Oficina principal: Barrio Santa Teresa media cuadra al sur de Casa Bueso, Contiguo a Agencia de Banco Continental Centro</td>";
        strForm += "<td width='250' class='elborder'>";
        strForm += "<strong>Lunes a Viernes: </strong> 7:30am a 5:00pm <br>";
        strForm += "<strong>Sabado: </strong> 7:30am a 12:00pm <br>";
        strForm += "</td>";
        strForm += "<td width='100' class='elborder'>2630-1005</td>";
        strForm += "</tr>";
        strForm += "</tbody>";
        strForm += "</table>";
        strForm += "</td>";
        strForm += "</tr>";
        strForm += "</table>";
    }else if (suc == 8){ // Ceiba
        strForm += "<table class='meta2'>";
        strForm += "<tr>";
        strForm += "<td valign='top' style='width:180px'>";
        strForm += "<ul class='ulStyle'>";
        strForm += "<li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "<li> <a href='#' class='first' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += " </ul>";
        strForm += "</td>";
        strForm += "<td valign='top'>";
        strForm += "<table border='0' class='meta'>";
        strForm += "<thead>";
        strForm += "<th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "</thead>";
        strForm += "<tbody>";
        strForm += "<tr >";
        strForm += "<td width='300' class='elborder'>Oficina: Blv. 15 de septiembre frente a finsol Edificio plaza del caribe o como edificio lovable</td>";
        strForm += "<td width='250' class='elborder'>";
        strForm += "<strong>Lunes a Viernes: </strong> 8:00am a 5:30pm <br>";
        strForm += "<strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "</td>";
        strForm += "<td width='100' class='elborder'>2262-0000</td>";
        strForm += "</tr>";
		strForm += "<tr >";
        strForm += "<td width='300' class='elborder'>Mall Mega Plaza</td>";
        strForm += "<td width='250' class='elborder'>";
        strForm += "<strong>Lunes a Sabado: </strong> 10:00am a 8:00pm <br>";
        strForm += "<strong>Domingo: </strong> 10:00am a 6:00pm <br>";
        strForm += "</td>";
        strForm += "<td width='100' class='elborder'>2262-0000</td>";
        strForm += "</tr>";
        strForm += "</tbody>";
        strForm += "</table>";
        strForm += "</td>";
        strForm += "</tr>";
        strForm += "</table>";
    }else if (suc == 9){ // Puerto Cortés
        strForm += "    <table class='meta2'>";
        strForm += "<tr>";
        strForm += "<td valign='top' style='width:180px'>";
        strForm += "<ul class='ulStyle'>";
        strForm += "<li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "   <li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "<li> <a href='#' class='first' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "</ul>";
        strForm += "</td>";
        strForm += "<td valign='top'>";
        strForm += "<table border='0' class='meta'>";
        strForm += "<thead>";
        strForm += "<th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "</thead>";
        strForm += "<tbody>";
        strForm += "<tr >";
        strForm += "<td width='300' class='elborder'>Barrio El Centro 5 calle entre 1 y 2 avenida en comercial METROPLAZA contiguo a Banco LAFISE y la feria de Carri&oacute;n</td>";
        strForm += "<td width='250' class='elborder'>";
        strForm += "<strong>Lunes a Viernes: </strong> 8:00am a 5:00pm <br>";
        strForm += "<strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "</td>";
        strForm += "<td width='100' class='elborder'>2630-4500</td>";
        strForm += "</tr>";
        strForm += "</tbody>";
        strForm += "</table>";
        strForm += "</td>";
        strForm += "</tr>";
        strForm += "</table>";
    }else if (suc == 10){ // VillaNueva
        strForm += "    <table class='meta2'>";
        strForm += "<tr>";
        strForm += "<td valign='top' style='width:180px'>";
        strForm += "<ul class='ulStyle'>";
        strForm += "<li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "   <li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "<li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "<li> <a href='#' class='first' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "</ul>";
        strForm += "</td>";
        strForm += "<td valign='top'>";
        strForm += "<table border='0' class='meta'>";
        strForm += "<thead>";
        strForm += "<th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "</thead>";
        strForm += "<tbody>";
        strForm += "<tr >";
        strForm += "<td width='300' class='elborder'>Entrada principal, barrio el obelisco, contiguo a Bco. Continental</td>";
        strForm += "<td width='250' class='elborder'>";
        strForm += "<strong>Lunes a Viernes: </strong> 8:00am a 5:00pm <br>";
        strForm += "<strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "</td>";
        strForm += "<td width='100' class='elborder'>2630-0000 ext. 3750</td>";
        strForm += "</tr>";
        strForm += "</tbody>";
        strForm += "</table>";
        strForm += "</td>";
        strForm += "</tr>";
        strForm += "</table>";
    } else if (suc == 11){ // Islas de la Bahia
        strForm += "            <table class='meta2'>";
        strForm += "                    <tr>";
        strForm += "                        <td valign='top' style='width:180px'>";
        strForm += "                            <ul class='ulStyle'>";
        strForm += "                                <li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "                                <li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "							<li> <a href='#' class='first' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "                            </ul>";
        strForm += "            </td>";
        strForm += "            <td valign='top'>";
        strForm += "                <table border='0' class='meta'>";
        strForm += "                    <thead>";
        strForm += "                        <th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "                    </thead>";
        strForm += "                    <tbody>";
        strForm += "                        <tr >";
        strForm += "                            <td width='300' class='elborder'>Local en Megaplaza</td>";
        strForm += "                            <td width='250' class='elborder'>";
        strForm += "                                <strong>Lunes a Sabado: </strong> 10:00am a 8:00pm <br>";
        strForm += "                                <strong>Domingo: </strong> 10:00am a 6:00pm <br>";
        strForm += "                            </td>";
        strForm += "                            <td width='100' class='elborder'></td>";
        strForm += "                        </tr>";
        strForm += "                    </tbody>";
        strForm += "                            </table>";
        strForm += "                        </td>";
        strForm += "                    </tr>";
        strForm += "                </table>";
	} else if (suc == 12){ // Danli
        strForm += "            <table class='meta2'>";
        strForm += "                    <tr>";
        strForm += "                        <td valign='top' style='width:180px'>";
        strForm += "                            <ul class='ulStyle'>";
        strForm += "                                <li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "                                <li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "							<li> <a href='#' class='first' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "                            </ul>";
        strForm += "            </td>";
        strForm += "            <td valign='top'>";
        strForm += "                <table border='0' class='meta'>";
        strForm += "                    <thead>";
        strForm += "                        <th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "                    </thead>";
        strForm += "                    <tbody>";
        strForm += "                        <tr >";
        strForm += "                            <td width='300' class='elborder'>Bo. San Sebastián contiguo a Banco Continental</td>";
        strForm += "                            <td width='250' class='elborder'>";
        strForm += "                                <strong>Lunes a Viernes: </strong> 8:00am a 5:00pm <br>";
        strForm += "                                <strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "                            </td>";
        strForm += "                            <td width='100' class='elborder'>27632839</td>";
        strForm += "                        </tr>";
        strForm += "                    </tbody>";
        strForm += "                            </table>";
        strForm += "                        </td>";
        strForm += "                    </tr>";
        strForm += "                </table>";
	} else if (suc == 13){ // El Progreso
        strForm += "            <table class='meta2'>";
        strForm += "                    <tr>";
        strForm += "                        <td valign='top' style='width:180px'>";
        strForm += "                            <ul class='ulStyle'>";
        strForm += "                                <li><a href='#' onclick='cambiarSucursal(1)'>Tegucigalpa</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(2)'>Valle de &Aacute;ngeles</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(3)'>Choloma</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(4)'>San Pedro Sula</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(5)'>Comayagua</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(6)'>Siguatepeque</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(7)'>Santa Rosa de Cop&aacute;n</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(8)'>La Ceiba</a></li>";
        strForm += "                                <li> <a href='#' onclick='cambiarSucursal(9)'>Puerto Cort&eacute;s</a></li>";
		strForm += "                                <li> <a href='#' onclick='cambiarSucursal(10)'>VillaNueva</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(11)'>Islas de la Bahia</a></li>";
		strForm += "							<li> <a href='#' onclick='cambiarSucursal(12)'>Danli</a></li>";
		strForm += "							<li> <a href='#' class='first' onclick='cambiarSucursal(13)'>El Progreso</a></li>";
        strForm += "                            </ul>";
        strForm += "            </td>";
        strForm += "            <td valign='top'>";
        strForm += "                <table border='0' class='meta'>";
        strForm += "                    <thead>";
        strForm += "                        <th width='300' align='center'>Direcci&oacute;n</th><th width='250' align='center'>Horario</th><th width='100' align='center'>Tel&eacute;fono</th>";
        strForm += "                    </thead>";
        strForm += "                    <tbody>";
        strForm += "                        <tr >";
        strForm += "                            <td width='300' class='elborder'>Bo. El Centro Edif. Gamez Panchamé</td>";
        strForm += "                            <td width='250' class='elborder'>";
        strForm += "                                <strong>Lunes a Viernes: </strong> 8:00am a 6:00pm <br>";
        strForm += "                                <strong>Sabado: </strong> 8:00am a 12:00pm <br>";
        strForm += "                            </td>";
        strForm += "                            <td width='100' class='elborder'>26302250</td>";
        strForm += "                        </tr>";
        strForm += "                    </tbody>";
        strForm += "                            </table>";
        strForm += "                        </td>";
        strForm += "                    </tr>";
        strForm += "                </table>";
	}
    divFormulario.innerHTML = strForm;
}

