<?php 
  include("clases/BDConexion.php");
  include("clases/clsclinico.php");
  include("funcion/funciones.php");
  include("Funciones.php");
  $objclinico = new clsclinico;
  $doc=$_GET['docid'];
  $codigoFM = $objclinico->DevolverNFichaMed2($doc);
  if (isset($docid)){$codficha=$codigoFM;}else{$codficha=$codficha;}
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>FICHA MEDICA - PERENCO</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stilos/Estilos.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Estilo1 {font-size: 14px}
.Estilo3 {font-size: 16px}
.Estilo4 {font-size: 10px}
.Estilo9 {color: #000000}
.Estilo10 {
	font-size: 12px;
	color: #FFFFFF;
}
.Estilo12 {font-size: 12px}
.Estilo13 {
	font-size: 11px;
	color: #000000;
}
.Estilo14 {font-size: 11px}
.Estilo15 {font-size: 9px}
.Estilo17 {color: #FF0000}
.Estilo22 {font-size: 12px; font-weight: bold; }
.Estilo24 {color: #FFFFFF}
.Estilo26 {font-size: 10px; font-weight: bold; color: #0000FF; }
.Estilo27 {text-align: justify; color: #FFFFFF; font-size: 9px; margin-right: 5; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }
-->
</style>
<SCRIPT language=JavaScript src="js/calendario.js"></SCRIPT><SCRIPT LANGUAGE=javascript>
function fn(form,field)
{
var next=0, found=false
var f=form
if(event.keyCode!=13) return;
for(var i=0;i<f.length;i++) {
if(field.name==f.item(i).name){
next=i+1;
found=true
break;
}
}
while(found){
if( f.item(next).disabled==false && f.item(next).type!='hidden'){
f.item(next).focus();
break;
}
else{
if(next<f.length-1)
next=next+1;
else
break;
}
}
}
</SCRIPT>
<script>
function enviar_url(form,url){
	if(form1.grabar.value)
	{
		form1.submit();
	}
}
function volver(form){
  location.reload('fondo.php');
  
  }
</script>
<script language="JavaScript"> 
<!--
//sURL,x,y
function Abrir_Ventanapopup1(sURL,x,y) { 
/*var especificaciones="top=0, left=0, toolbar=no,location=no, status=yes,menubar=no,scrollbars=no, resizable=no, width=1,height=1" 
var titulo="Titulo"
window.open(el_url,titulo,especificaciones);*/ 

if (!window.focus) return;
			var par;
			par = "width=" +x + ",height="+y+","
			par = par + "dependent=no,scrollbars=yes,resizable=no"
			par = par + "menubar=no,toolbar=no,status=yes"
			var ventana = window.open(sURL,"Ver",par)
			ventana.focus();
}
//--> 
</script>
<script language="JavaScript"> 
<!--
//sURL,x,y
function Abrir_Ventanapopup2(sURL,x,y) { 
/*var especificaciones="top=0, left=0, toolbar=no,location=no, status=yes,menubar=no,scrollbars=no, resizable=no, width=1,height=1" 
var titulo="Titulo"
window.open(el_url,titulo,especificaciones);*/ 

if (!window.focus) return;
			var par;
			par = "width=" +x + ",height="+y+","
			par = par + "dependent=no,scrollbars=yes,resizable=no"
			par = par + "menubar=no,toolbar=no,status=yes"
			var ventana = window.open(sURL,"Ver",par)
			ventana.focus();
}
//--> 
</script>
<script language="JavaScript" type="text/JavaScript">
function MensajeEditar(m){
if (m==1){window.alert("Se Guardo la Ficha MEDICA satisfactoriamente")}
}
</script>
</head>

<?php
if($aler==1){
     echo "<body onLoad='MensajeEditar(1)' background='imagenes/fondo.jpg'> ";
	} 
else{
    if(empty($aler)){echo "<body background='imagenes/fondo.jpg'>";}
	}
	$resul = $objclinico->DevolverFichaMedica($codficha);
	while($filas=$objclinico->NextRow($resul)){
?>
<table width="460" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr class="lblCampo" >
    <td colspan="4"><div align="center">
        <table width="319" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25"><img src="estilo_tabla/parte_sup_izq.gif" width="25" height="25"></td>
            <td width="409" background="estilo_tabla/parte_sup_cen.gif" valign="bottom">
              <div align="left" class="Estilo24 lblTitulo" ><em><span class="lblSubTitulo">Editar Ficha M&eacute;dica</span></em></div></td>
            <td width="25"><img src="estilo_tabla/parte_sup_der.gif" width="25" height="25" border="0" usemap="#Map"></td>
          </tr>
          <tr>
            <td width="25" background="estilo_tabla/parte_med_izq.gif">&nbsp;</td>
            <td width="409" height="86" background="estilo_tabla/parte_med_cen.gif"><div align="center">
              <form action="procesos/actualiza_fichamedica.php?codficha=<?=$codficha?>" method="post" name="form1">
                <table width="720" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="74" rowspan="3">&nbsp;</td>
                    <td width="479">&nbsp;</td>
                    <td colspan="3">&nbsp;</td>
                  </tr>
                  <tr>
                    <td><div align="center" class="lblParrafo Estilo1"><em>DEPARTAMENTO DE QHSE- CR</em></div></td>
                    <td colspan="3">&nbsp;</td>
                  </tr>
                  <tr>
                    <td><div align="center" class="lblParrafo"><em>Perenco Per&uacute; Limited Sucursal del Per&uacute;</em></div></td>
                    <td width="38"><div align="right"><span class="rdoBanners Estilo4">FECHA</span></div></td>
                    <td width="68"><div align="center">
                        <input name="fecha" type="text" class="lblForm" id="fecha" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['fecha_ficha'])?>" size="12" readonly >
                    </div></td>
                    <td width="56"><a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                  </tr>
                  <tr>
                    <td colspan="5"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="769" bgcolor="#009900" ><div align="center" class="lblSubTitulo Estilo3">
                              <div align="center" class="Estilo9"></div>
                          </div></td>
                        </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td colspan="5"><table width="723" border="0" align="left" cellpadding="0" cellspacing="0">
                        <tr>
                          <td height="1" colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="80" class="lblParrafo">PROYECTO</td>
                                <td width="124" bgcolor="#009900"><input name="proy" type="text" class="lblForm" id="proy" onkeyup=fn(this.form,this) value="<? echo $filas['proyecto']?>" size="20"></td>
                                <td width="133" class="lblParrafo">TIPO DE EXAMEN</td>
                                <td width="87"><input name="tipo_exafisi" type="radio" class="lblForm" value="INGRESO" <?php if($filas['tipo_exa']=='INGRESO'){echo "checked";}?>>
                                    <span class="rdoBanners">INGRESO</span></td>
                                <td width="82"><input name="tipo_exafisi" type="radio" class="lblForm" value="PERIODO" <?php if($filas['tipo_exa']=='PERIODO'){echo "checked";}?>>
                                    <span class="rdoBanners">PERIODO</span></td>
                                <td width="87"><input name="tipo_exafisi" type="radio" class="lblForm" value="RETIRO" <?php if($filas['tipo_exa']=='RETIRO'){echo "checked";}?>>
                                    <span class="rdoBanners">RETIRO</span></td>
                                <td width="111"><input name="tipo_exafisi" type="radio" class="lblForm" value="OTRO" <?php if($filas['tipo_exa']=='OTRO'){echo "checked";}?>>
                                    <span class="rdoBanners">OTRO</span></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr bgcolor="#009900" >
                          <td colspan="8"><div align="center" class="lblParrafo">DATOS DE IDENTIFICACI&Oacute;N DEL TRABAJADOR</div></td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="189" class="rdoBanners Estilo4">APELLIDOS Y NOMBRE </td>
                                <td colspan="2" bgcolor="#009900">                                  <div align="left">
                                  <input name="nombres" type="text" class="lblForm" id="nombres" onKeyUp=fn(this.form,this) value="<? echo $filas['nombre']?>" size="50" readonly>                                
                                </div></td>
                                <td width="107" >&nbsp;</td>
                                <td width="125" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">FECHA DE NACIMIENTO</td>
                                <td width="105" bgcolor="#009900" ><div align="left">
                                  <input name="fechanac" type="text" class="lblForm" id="fechanac" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['fechanac'])?>" size="12" readonly >
                                  </div></td>
                                <td width="182" class="rdoBanners Estilo4">EMPRESA</td>
                                <td colspan="2" bgcolor="#009900"  class="rdoBanners Estilo4"><input name="lug_nac" type="text" class="lblForm" id="lug_nac" onkeyup=fn(this.form,this) value="<? echo $filas['lugar_nac']?>" size="30"></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">EDAD</td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="edad" type="text" class="lblForm" id="edad" onkeyup=fn(this.form,this) value="<? echo $filas['edad']?>" size="12">
                                </div></td>
                                <td class="rdoBanners Estilo4">GENERO</td>
                                <td class="rdoBanners Estilo4"><input name="genero_sex" type="radio" class="lblForm" value="MASCULINO" <?php if($filas['sexo']=='MASCULINO'){echo "checked";}?>>
                                    <span class="rdoBanners">MASCULINO</span></td>
                                <td class="rdoBanners Estilo4"><input name="genero_sex" type="radio" class="lblForm" value="FEMENINO" <?php if($filas['sexo']=='FEMENINO'){echo "checked";}?>>
                                    <span class="rdoBanners">FEMENINO</span></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners">DOCUMENTO DE IDENTIFICACI&Oacute;N</td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="doc_id" type="text" class="lblForm" id="doc_id" onkeyup=fn(this.form,this) value="<? echo $filas['doc_id']?>" size="20" readonly>
                                </div></td>
                                <td class="rdoBanners Estilo4">N&ordm; DE PASAPORTE</td>
                                <td colspan="2" bgcolor="#009900"  class="rdoBanners Estilo4"><input name="exp_en" type="text" class="lblForm" id="exp_en" onkeyup=fn(this.form,this) value="<? echo $filas['expedida_en']?>" size="30"></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr >
                          <td colspan="8">&nbsp;</td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr bgcolor="#009900"  class="rdoBanners">
                                <td colspan="3"><span class="Estilo4">DATOS DE PROCEDENCIA DEL TRABAJADOR</span></td>
                                <td width="114"><span class="Estilo4">ESTADO CIVIL</span></td>
                                <td width="25">&nbsp;</td>
                                <td width="319"><span class="Estilo4">GRADO INSTRUCCI&Oacute;N</span></td>
                              </tr>
                              <tr>
                                <td width="113" class="rdoBanners"><div align="right">DISTRITO</div></td>
                                <td width="155" bgcolor="#009900" ><input name="pro_dist" type="text" class="lblForm" id="pro_dist" onkeyup=fn(this.form,this) value="<? echo $filas['proce_distri']?>" size="30"></td>
                                <td width="25">&nbsp;</td>
                                <td><div align="left">
                                  <input name="estado_civil" type="radio" class="lblForm" value="SOLTERO(A)" <?php if($filas['estado_civil']=='SOLTERO(A)'){echo "checked";}?>>
                                  <span class="rdoBanners">SOLTERO(A)</span></div></td>
                                <td>&nbsp;</td>
                                <td><div align="left">
                                  <input name="grado_instruc" type="radio" class="lblForm" value="ANALFABETA" <?php if($filas['grado_instru']=='ANALFABETA'){echo "checked";}?>>
                                  <span class="rdoBanners">ANALFABETA</span></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">DEPARTAMENTO</div></td>
                                <td bgcolor="#009900" ><input name="pro_depa" type="text" class="lblForm" id="pro_depa" onkeyup=fn(this.form,this) value="<? echo $filas['proce_depa']?>" size="30"></td>
                                <td>&nbsp;</td>
                                <td><div align="left">
                                  <input name="estado_civil" type="radio" class="lblForm" value="CASADO(A)" <?php if($filas['estado_civil']=='CASADO(A)'){echo "checked";}?>>
                                  <span class="rdoBanners">CASADO(A)</span></div></td>
                                <td>&nbsp;</td>
                                <td><div align="left">
                                  <input name="grado_instruc" type="radio" class="lblForm" value="PRIMARIA" <?php if($filas['grado_instru']=='PRIMARIA'){echo "checked";}?>>
                                  <span class="rdoBanners">PRIMARIA</span></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">DIRECCI&Oacute;N</div></td>
                                <td bgcolor="#009900" ><input name="pro_dire" type="text" class="lblForm" id="pro_dire" onkeyup=fn(this.form,this) value="<? echo $filas['proce_dire']?>" size="30"></td>
                                <td>&nbsp;</td>
                                <td><div align="left">
                                  <input name="estado_civil" type="radio" class="lblForm" value="VIUDO(A)" <?php if($filas['estado_civil']=='VIUDO(A)'){echo "checked";}?>>
                                  <span class="rdoBanners">VIUDO(A)</span></div></td>
                                <td width="25">&nbsp;</td>
                                <td><div align="left">
                                  <input name="grado_instruc" type="radio" class="lblForm" value="SECUNDARIA" <?php if($filas['grado_instru']=='SECUNDARIA'){echo "checked";}?>>
                                  <span class="rdoBanners">SECUNDARIA</span></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">TEL&Eacute;FONO</div></td>
                                <td bgcolor="#009900" ><input name="pro_telef" type="text" class="lblForm" id="pro_telef" onkeyup=fn(this.form,this) value="<? echo $filas['proce_telef']?>" size="30"></td>
                                <td>&nbsp;</td>
                                <td><div align="left">
                                  <input name="estado_civil" type="radio" class="lblForm" value="U. LIBRE(A)" <?php if($filas['estado_civil']=='U. LIBRE(A)'){echo "checked";}?>>
                                  <span class="rdoBanners">U. LIBRE(A)</span></div></td>
                                <td>&nbsp;</td>
                                <td><div align="left">
                                  <input name="grado_instruc" type="radio" class="lblForm" value="TECNICO" <?php if($filas['grado_instru']=='TECNICO'){echo "checked";}?>>
                                  <span class="rdoBanners">T&Eacute;CNICO</span></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">OTRO</div></td>
                                <td bgcolor="#009900" ><input name="pro_otro" type="text" class="lblForm" id="pro_otro" onkeyup=fn(this.form,this) value="<? echo $filas['proce_otro']?>" size="30"></td>
                                <td>&nbsp;</td>
                                <td><div align="left">
                                  <input name="estado_civil" type="radio" class="lblForm" value="SEPARADO(A)" <?php if($filas['estado_civil']=='SEPARADO(A)'){echo "checked";}?>>
                                  <span class="rdoBanners">SEPARADO(A)</span></div></td>
                                <td>&nbsp;</td>
                                <td><div align="left">
                                  <input name="grado_instruc" type="radio" class="lblForm" value="UNIVERSITARIO" <?php if($filas['grado_instru']=='UNIVERSITARIO'){echo "checked";}?>>
                                  <span class="rdoBanners">UNIVERSITARIO</span></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr >
                          <td colspan="8">&nbsp;</td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr bgcolor="#009900" class="rdoBanners">
                                <td colspan="3"><span class="Estilo4">ESPECIFICACIONES DEL CARGO ACTUAL</span></td>
                                <td colspan="4" bgcolor="#009900"><div align="center" class="Estilo4">ANTECEDENTES FAMILIARES</div></td>
                              </tr>
                              <tr>
                                <td width="108" class="rdoBanners"><div align="right">PROFESI&Oacute;N</div></td>
                                <td width="154" bgcolor="#009900" ><div align="left">
                                  <input name="esp_profe" type="text" class="lblForm" id="esp_profe2" onKeyUp=fn(this.form,this) value="<? echo $filas['especicargo_profe']?>" size="30">
                                </div></td>
                                <td width="20">&nbsp;</td>
                                <td width="102" bgcolor="#009900"><span class="rdoBanners Estilo4">PATOLOG&Iacute;A</span></td>
                                <td bgcolor="#009900"><span class="rdoBanners Estilo4">PARENTESCO</span></td>
                                <td bgcolor="#009900"><span class="rdoBanners Estilo4">PATOLOG&Iacute;A</span></td>
                                <td bgcolor="#009900"><span class="rdoBanners Estilo4">PARENTESCO</span></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">CARGO</div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="esp_carg" type="text" class="lblForm" id="esp_carg" onkeyup=fn(this.form,this) value="<? echo $filas['especicargo_cargo']?>" size="30">
                                </div></td>
                                <td>&nbsp;</td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check1" type="checkbox" id="check1" value="SI"  <?php if($filas['antefami_hta']=='SI'){echo "checked";}?>>
                      H.T.A</span></div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="paret_hta" type="text" class="lblForm" id="paret_hta" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_hta']?>" size="15">
                                </div></td>
                                <td width="136"> <div align="left"><span class="rdoBanners">
                                    <input name="check7" type="checkbox" id="check7" value="SI" <?php if($filas['antefami_tbc']=='SI'){echo "checked";}?>>
                      T.B.C</span></div></td>
                                <td width="103" bgcolor="#D4D3CA" ><div align="left">
                                  <input name="paret_tbc" type="text" class="lblForm" id="paret_tbc" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_tbc']?>" size="15">
                                </div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">DEPARTAMENTO</div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="esp_dep" type="text" class="lblForm" id="esp_dep" onkeyup=fn(this.form,this) value="<? echo $filas['especicargo_departa']?>" size="30">
                                </div></td>
                                <td>&nbsp;</td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check2" type="checkbox" id="check2" value="SI" <?php if($filas['antefami_acv']=='SI'){echo "checked";}?>>
                      A.C.V</span></div></td>
                                <td width="79" bgcolor="#009900" ><div align="left">
                                  <input name="paret_acv" type="text" class="lblForm" id="paret_acv" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_acv']?>" size="15">
                                </div></td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check8" type="checkbox" id="check8" value="SI" <?php if($filas['antefami_varices']=='SI'){echo "checked";}?>>
                      VARICES</span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left">
                                  <input name="paret_var" type="text" class="lblForm" id="paret_var" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_varices']?>" size="15">
                                </div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">FECHA DE INGRESO </div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="fechatrabajoin" type="text" class="lblForm" id="fechatrabajoin" value="<? echo extraerfechanormal($filas['especicargo_fechain'])?>" size="12">
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fechatrabajoin');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a> </div></td>
                                <td>&nbsp;</td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check3" type="checkbox" id="check3" value="SI" <?php if($filas['antefami_ecorona']=='SI'){echo "checked";}?>>
                      E. CORONARIA</span></div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="paret_ecoro" type="text" class="lblForm" id="paret_ecoro" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_ecoronaria']?>" size="15">
                                </div></td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check9" type="checkbox" id="check9" value="SI" <?php if($filas['antefami_cancer']=='SI'){echo "checked";}?>>
                                  C&Aacute;NCER</span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left">
                                  <input name="paret_canc" type="text" class="lblForm" id="paret_canc" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_cancer']?>" size="15">
                                </div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">TIEMPO SER. EMPRESA</div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="esp_tiemserv" type="text" class="lblForm" id="esp_tiemserv" onkeyup=fn(this.form,this) value="<? echo $filas['especicargo_tiemposerv']?>" size="30">
                                </div></td>
                                <td>&nbsp;</td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check4" type="checkbox" id="check4" value="SI" <?php if($filas['antefami_diabetes']=='SI'){echo "checked";}?>>
                      MELLITUS</span></div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="paret_diab" type="text" class="lblForm" id="paret_diab" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_diabetes']?>" size="15">
                                </div></td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check10" type="checkbox" id="check10" value="SI" <?php if($filas['antefami_malfor']=='SI'){echo "checked";}?>>
                      MALFORMAC.</span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left">
                                  <input name="paret_malf" type="text" class="lblForm" id="paret_malf" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_malfor']?>" size="15">
                                </div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">TIEMPO EN EL CARGO</div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="esp_tiemcarg" type="text" class="lblForm" id="esp_tiemcarg" onkeyup=fn(this.form,this) value="<? echo $filas['especicargo_tiempocarg']?>" size="30">
                                </div></td>
                                <td>&nbsp;</td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check5" type="checkbox" id="check5" value="SI" <?php if($filas['antefami_epilepcia']=='SI'){echo "checked";}?>>
                      EPILEPSIA</span></div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="paret_epilep" type="text" class="lblForm" id="paret_epilep" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_epilep']?>" size="15">
                                </div></td>
                                <td>
                                  <div align="left"><span class="rdoBanners">
                                    <input name="check12" type="checkbox" id="check12" value="SI" <?php if($filas['antecefami_c']=='SI'){echo "checked";}?>>
    ENF. MENTALES </span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left">
                                    <input name="paret_enfmen" type="text" class="lblForm" id="paret_enfmen" onkeyup=fn(this.form,this) value="<? echo $filas['antecefami_e']?>" size="15">
                                </div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners"><div align="right">TIEMPO EN DEPTO</div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="esp_endp" type="text" class="lblForm" id="esp_endp" onkeyup=fn(this.form,this) value="<? echo $filas['especicargo_endepar']?>" size="30">
                                </div></td>
                                <td>&nbsp;</td>
                                <td> <div align="left"><span class="rdoBanners">
                                    <input name="check6" type="checkbox" id="check6" value="SI" <?php if($filas['antefami_asma']=='SI'){echo "checked";}?>>
                      ASMA</span></div></td>
                                <td bgcolor="#009900" ><div align="left">
                                  <input name="paret_asma" type="text" class="lblForm" id="paret_asma" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_asma']?>" size="15">
                                </div></td>
                                <td>
                                  <div align="left"><span class="rdoBanners">
                                    <input name="check13" type="checkbox" id="check13" value="SI" <?php if($filas['antecefami_d']=='SI'){echo "checked";}?>>
    CONVULCIONES</span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left">
                                    <input name="paret_convul" type="text" class="lblForm" id="paret_convul" onkeyup=fn(this.form,this) value="<? echo $filas['antecefami_f']?>" size="15">
                                </div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners">&nbsp;</td>
                                <td >&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td >&nbsp;</td>
                                <td>
                                  <div align="left"><span class="rdoBanners">
                                    <input name="check11" type="checkbox" id="check11" value="SI" <?php if($filas['antefami_otros']=='SI'){echo "checked";}?>>
    OTROS</span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left">
                                    <input name="paret_otr" type="text" class="lblForm" id="paret_otr" onkeyup=fn(this.form,this) value="<? echo $filas['parentes_otros']?>" size="15">
                                </div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr bgcolor="#009900" >
                          <td colspan="8"><div align="center"><span class="rdoBanners Estilo10"><span class="rdoBanners  Estilo12">ANTECEDENTES PERSONALES </span></span></div></td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr >
                                <td width="480" class="rdoBanners Estilo13">Ha padecido usted de enfermedades como:</td>
                                <td width="33" class="rdoBanners Estilo14"><div align="center">SI</div></td>
                                <td width="33" class="rdoBanners Estilo14"><div align="center">NO</div></td>
                                <td width="80" class="rdoBanners Estilo14"><div align="center">A&Ntilde;O</div></td>
                                <td width="131" bgcolor="#D4D3CA"  class="rdoBanners Estilo14"><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">a- Infecciones Intestinales (Tifoidea, salmonelosis, Malta, Hepatitis)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_infeIntes" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_a']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_infeIntes" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_a']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_a" type="text" class="lblForm" id="aperanio_a" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_a']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">b- Bronco Pulmonares o Pleurales (Tuberculosis, Asma, Bronquitis, Otros)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_broncopul" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_b']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_broncopul" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_b']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><div align="left"><span class="Estilo12">
                                      <input name="aperanio_b" type="text" class="lblForm" id="aperanio_b" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_b']?>" size="15" maxlength="4">
                                      </span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">c- Cardiovasculares (Hipertensi&oacute;n Arterial, dislipidemia, otras)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_cardiova" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_c']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_cardiova" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_c']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><div align="left"><span class="Estilo12">
                                      <input name="aperanio_c" type="text" class="lblForm" id="aperanio_c" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_c']?>" size="15" maxlength="4">
                                      </span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">d- Gastrointestinales (Hemorroides, Ulceras, Colon Irritable</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_gastroint" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_d']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_gastroint" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_d']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><div align="left"><span class="Estilo12">
                                      <input name="aperanio_d" type="text" class="lblForm" id="aperanio_d" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_d']?>" size="15" maxlength="4">
                                      </span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">e- Enfermedades del H&iacute;gado y V&iacute;as Biliares</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_higayvias" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_e']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_higayvias" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_e']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><div align="left"><span class="Estilo12">
                                      <input name="aperanio_e" type="text" class="lblForm" id="aperanio_e" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_e']?>" size="15" maxlength="4">
                                      </span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">f- Renales, Vejiga, Uretra (Infecciones Urinarias frecuentes)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_renales" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_f']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_renales" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_f']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><div align="left"><span class="Estilo12">
                                      <input name="aperanio_f" type="text" class="lblForm" id="aperanio_f" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_f']?>" size="15" maxlength="4">
                                      </span></div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">g- Del cerebro, sistema Nervioso, Siqui&aacute;tricas (Epilepsia)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_cerebro" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_g']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_cerebro" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_g']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_g" type="text" class="lblForm" id="aperanio_g" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_g']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">h- De la Piel (Leishmaniasis)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_piel" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_h']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_piel" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_h']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_h" type="text" class="lblForm" id="aperanio_h" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_h']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">i- S&iacute;filis, u otras de transmisi&oacute;n Sexual (Gonorrea, Herpes genital, Otras)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_sexual" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_i']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_sexual" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_i']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_i" type="text" class="lblForm" id="aperanio_i" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_i']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">j-Diabetes, Gota o enfermedades Endocrinas</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_diabetes" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_j']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_diabetes" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_j']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_j" type="text" class="lblForm" id="aperanio_j" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_j']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">k- De la sangre (Anemia, P&uacute;rpura, Leucemia) o Ganglios Linf&aacute;ticos</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_desangre" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_k']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_desangre" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_k']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_k" type="text" class="lblForm" id="aperanio_k" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_k']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">l-Tumoraciones, C&aacute;ncer (Quistes, liponas)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_tumor" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_l']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_tumor" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_l']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_l" type="text" class="lblForm" id="aperanio_l" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_l']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">m- Reumatol&oacute;gicas (Artritis reumatoide, Gota)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_reuma" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_m']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_reuma" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_m']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_m" type="text" class="lblForm" id="aperanio_m" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_m']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">n- &Oacute;rganos Sentidos ( Visi&oacute;n, Olfato, Gusto, Audici&oacute;n y Tacto)</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_sentidos" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_n']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_sentidos" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_n']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_n" type="text" class="lblForm" id="aperanio_n" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_n']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">o-Malaria</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_malaria" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_o']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_malaria" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_o']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_o" type="text" class="lblForm" id="aperanio_o" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_n']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="left">P- Otras no Mencionados</div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_otros" type="radio" class="lblForm" value="SI" <?php if($filas['anteceper_p']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="left">
                                      <input name="antepers_otros" type="radio" class="lblForm" value="NO" <?php if($filas['anteceper_p']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" >
                                        <div align="left">
                                          <input name="aperanio_p" type="text" class="lblForm" id="aperanio_p" onkeyup=fn(this.form,this) value="<? echo $filas['anteperanio_p']?>" size="15" maxlength="4">
                                        </div></td>
                                <td bgcolor="#D4D3CA" ><div align="left"></div></td>
                              </tr>
                              <tr bgcolor="#009900" >
                                <td colspan="5"><div align="left">
                                  <table width="696" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                          <td width="239" bgcolor="#009900"><span class="rdoBanners Estilo8 Estilo4">Detalle lo marcado como SI:</span></td>
                                          <td width="457" ><textarea name="anteper_detsi" cols="70" rows="2" class="lblForm" id="anteper_detsi"><? echo $filas['anteceper_detallesi']?></textarea></td>
                                        </tr>
                                      </table>
                                </div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr bgcolor="#009900" >
                          <td colspan="8"><div align="center"><span class="rdoBanners Estilo10"><span class="rdoBanners  Estilo12">ANTECEDENTES PATOL&Oacute;GICOS</span></span></div></td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr bgcolor="#009900" >
                                <td width="498"  class="rdoBanners Estilo13">Ha padecido usted de:</td>
                                <td width="29"  class="rdoBanners Estilo14"><div align="center">SI</div></td>
                                <td width="29"  class="rdoBanners Estilo14"><div align="center">NO</div></td>
                                <td width="81"  class="rdoBanners Estilo14"><div align="center">A&Ntilde;O</div></td>
                                <td width="113"  class="rdoBanners Estilo14"><div align="left"></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">a- Present&oacute; alg&uacute;n problema en su desarrollo psicomotor ( Conducta, Rendimiento escolar, etc.)</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_psico" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_a']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_psico" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_a']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><input name="aptoa&ntilde;o_a" type="text" class="lblForm" id="aptoa&ntilde;o_a" onkeyup=fn(this.form,this) value="<? echo $filas['anpatoa&ntilde;o_a']?>" size="15" maxlength="4"></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">b- Ha sufrido de alg&uacute;n accidente o herida</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_accident" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_b']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_accident" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_b']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><span class="Estilo12">
                                  <input name="aptoa&ntilde;o_b" type="text" class="lblForm" id="aptoa&ntilde;o_b" onkeyup=fn(this.form,this) value="<? echo $filas['anpatoa&ntilde;o_b']?>" size="15" maxlength="4">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">c- Antecedentes quir&uacute;rgicos, hospitalarios</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_quirurgi" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_c']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_quirurgi" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_c']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><span class="Estilo12">
                                  <input name="aptoa&ntilde;o_c" type="text" class="lblForm" id="aptoa&ntilde;o_c" value="<? echo $filas['anpatoa&ntilde;o_c']?>" size="15" maxlength="4">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">d- Se le han tomado ex&aacute;menes especiales tales como (Rx, EKG, TAC, EEG, otros)</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_exaespe" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_d']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_exaespe" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_d']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><span class="Estilo12">
                                  <input name="aptoa&ntilde;o_d" type="text" class="lblForm" id="aptoa&ntilde;o_d" value="<? echo $filas['anpatoa&ntilde;o_c']?>" size="15" maxlength="4">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">e- Esta en tratamiento medico actualmente</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_tratami" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_e']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_tratami" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_e']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><span class="Estilo12">
                                  <input name="aptoa&ntilde;o_e" type="text" class="lblForm" id="aptoa&ntilde;o_e" value="<? echo $filas['anpatoa&ntilde;o_e']?>" size="15" maxlength="4">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">f- Usa Regularmente alg&uacute;n medicamento (Diabetes, Hipertensi&oacute;n, Otros)</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_usamedi" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_f']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_usamedi" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_f']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><span class="Estilo12">
                                  <input name="aptoa&ntilde;o_f" type="text" class="lblForm" id="aptoa&ntilde;o_f" value="<? echo $filas['anpatoa&ntilde;o_f']?>" size="15" maxlength="4">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">g-Alergias a medicamentos, Alimentos u otros</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_alergi" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_g']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_alergi" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_g']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><input name="aptoa&ntilde;o_g" type="text" class="lblForm" id="aptoa&ntilde;o_g" value="<? echo $filas['anpatoa&ntilde;o_g']?>" size="15" maxlength="4"></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">h- Esta o estuvo sometido a alg&uacute;n r&eacute;gimen alimenticio</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_regimenalimen" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_h']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_regimenalimen" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_h']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><input name="aptoa&ntilde;o_h" type="text" class="lblForm" id="aptoa&ntilde;o_h" value="<? echo $filas['anpatoa&ntilde;o_h']?>" size="15" maxlength="4"></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">i- Ha aumentado o reducido de peso recientemente</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_sbpeso" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_i']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_sbpeso" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_i']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><input name="aptoa&ntilde;o_i" type="text" class="lblForm" id="aptoa&ntilde;o_i" value="<? echo $filas['anpatoa&ntilde;o_i']?>" size="15" maxlength="4"></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">j-Practica usted alg&uacute;n deporte</td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_deporte" type="radio" class="lblForm" value="SI" <?php if($filas['antecepato_j']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="antepato_deporte" type="radio" class="lblForm" value="NO" <?php if($filas['antecepato_j']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900"><input name="aptoa&ntilde;o_j" type="text" class="lblForm" id="aptoa&ntilde;o_j" value="<? echo $filas['anpatoa&ntilde;o_j']?>" size="15" maxlength="4"></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr bgcolor="#009900" >
                                <td colspan="5"><table width="706" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="240" bgcolor="#009900"><span class="rdoBanners Estilo8 Estilo4">Detalle lo marcado como SI:</span></td>
                                      <td width="466" bgcolor="#009900" ><textarea name="antpato_detsi" cols="70" rows="2" class="lblForm" id="antpato_detsi"><? echo $filas['antecepato_detallesi']?></textarea></td>
                                    </tr>
                                </table></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr >
                          <td colspan="8"><div align="center"><span class="rdoBanners Estilo10"><span class="rdoBanners  Estilo12">H&Aacute;BITOS NOCIVOS</span></span></div></td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr bgcolor="#009900" >
                                <td width="298"  class="rdoBanners Estilo13">&nbsp;</td>
                                <td width="30"  class="rdoBanners Estilo14"><div align="center">SI</div></td>
                                <td width="33"  class="rdoBanners Estilo14"><div align="center">NO</div></td>
                                <td  class="rdoBanners Estilo14"><div align="center">Que clase y cantidad diaria</div>
                                    <div align="left"></div></td>
                                <td  class="rdoBanners Estilo14">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">a- Toma habitualmente bebidas alcoh&oacute;licas</td>
                                <td>
                                    <div align="center">
                                      <input name="habito_bhalcohol" type="radio" class="lblForm" value="SI" <?php if($filas['habitosnoc_a']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_bhalcohol" type="radio" class="lblForm" value="NO" <?php if($filas['habitosnoc_a']=='NO'){echo "checked";}?>>
                                    </div></td><td width="230" bgcolor="#009900" ><input name="habcual_a" type="text" class="lblForm" id="habcual_a" value="<? echo $filas['habcual_a']?>" size="30"></td>
                                <td width="164" bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4">b-Consume o ha consumido usted</td>
                                <td > <div align="center"></div></td>
                                <td > <div align="center"></div></td><td bgcolor="#009900" ><span class="Estilo12"> </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="right">Drogras </div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_droga" type="radio" class="lblForm" value="SI" <?php if($filas['habitosnoc_bdro']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_droga" type="radio" class="lblForm" value="NO" <?php if($filas['habitosnoc_bdro']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><span class="Estilo12">
                                  <input name="habcual_ba" type="text" class="lblForm" id="habcual_ba" value="<? echo $filas['habcual_ba']?>" size="30">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="right">Hoja de coca</div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_hcoca" type="radio" class="lblForm" value="SI" <?php if($filas['habitosnoc_bhco']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_hcoca" type="radio" class="lblForm" value="NO" <?php if($filas['habitosnoc_bhco']=='NO'){echo "checked";}?> >
                                    </div></td><td bgcolor="#009900" ><span class="Estilo12">
                                  <input name="habcual_bb" type="text" class="lblForm" id="habcual_bb" value="<? echo $filas['habcual_bb']?>" size="30">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="right">Alucin&oacute;genos</div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_alucino" type="radio" class="lblForm" value="SI" <?php if($filas['habitosnoc_balu']=='SI'){echo "checked";}?> >
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_alucino" type="radio" class="lblForm" value="NO" <?php if($filas['habitosnoc_balu']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><span class="Estilo12">
                                  <input name="habcual_bc" type="text" class="lblForm" id="habcual_bc" value="<? echo $filas['habcual_bc']?>" size="30">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="right">Sustancias Psicoactivas</div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_sustpsico" type="radio" class="lblForm" value="SI" <?php if($filas['habitosnoc_bsuspsi']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_sustpsico" type="radio" class="lblForm" value="NO" <?php if($filas['habitosnoc_bsuspsi']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><span class="Estilo22">
                                  <input name="habcual_bd" type="text" class="lblForm" id="habcual_bd" value="<? echo $filas['habcual_bd']?>" size="30">
                                </span></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="right">Fuma</div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_fuma" type="radio" class="lblForm" value="SI" <?php if($filas['habitosnoc_bfuma']=='SI'){echo "checked";}?>>
                                    </div></td>
                                <td>
                                    <div align="center">
                                      <input name="habito_fuma" type="radio" class="lblForm" value="NO" <?php if($filas['habitosnoc_bfuma']=='NO'){echo "checked";}?>>
                                    </div></td><td bgcolor="#009900" ><input name="habcual_be" type="text" class="lblForm" id="habcual_be" value="<? echo $filas['habcual_be']?>" size="30"></td>
                                <td bgcolor="#D4D3CA" >&nbsp;</td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td colspan="8">&nbsp;</td>
                        </tr>
                        <tr bgcolor="#009900" >
                          <td colspan="8"><div align="center"><span class="rdoBanners Estilo10"><span class="rdoBanners  Estilo12">ANTECEDENTES UROL&Oacute;GICOS / GINECOL&Oacute;GICOS</span></span></div></td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr bgcolor="#D4D3CA">
                                <td width="273" class="rdoBanners Estilo4">a- Sufre o a sufrido de enfermedades genitales</td>
                                <td width="42">
                                  <div align="left">
                                    <input name="anteuro_enfergeni" type="radio" class="lblForm" value="SI" <?php if($filas['anteceuro_a']=='SI'){echo "checked";}?>>
                                  <span class="rdoBanners">SI </span></div></td>
                                <td width="56"><div align="center">
                                    <input name="anteuro_enfergeni" type="radio" class="lblForm" value="NO" <?php if($filas['anteceuro_a']=='NO'){echo "checked";}?>>
                                  <span class="rdoBanners">NO</span> </div></td>
                                <td colspan="2" valign="middle" class="rdoBanners"><div align="center">CUALES</div></td>
                                <td width="235" ><div align="left">
                                  <input name="anturo_cuala" type="text" class="lblForm" id="anturo_cuala" value="<? echo $filas['anteceuro_cualesa']?>" size="30">
                                </div></td>
                              </tr>
                              <tr bgcolor="#D4D3CA">
                                <td class="rdoBanners Estilo4">b- A tenido cirug&iacute;as Gineco Obst&eacute;tricas</td>
                                <td>
                                  <div align="left">
                                    <input name="anteuro_cirugine" type="radio" class="lblForm" value="SI" <?php if($filas['anteceuro_b']=='SI'){echo "checked";}?>>
                                  <span class="rdoBanners">SI </span></div></td>
                                <td><div align="center">
                                    <input name="anteuro_cirugine" type="radio" class="lblForm" value="NO" <?php if($filas['anteceuro_b']=='NO'){echo "checked";}?>>
                                  <span class="rdoBanners">NO</span> </div></td>
                                <td colspan="2"><div align="center"><span class="rdoBanners">CUALES </span></div></td>
                                <td ><div align="left"><span class="Estilo12">
                                    <input name="anturo_cualb" type="text" class="lblForm" id="anturo_cualb" value="<? echo $filas['anteceuro_cualesb']?>" size="30">
                                </span></div></td>
                              </tr>
                              <tr bgcolor="#D4D3CA" >
                                <td colspan="6" class="rdoBanners Estilo4"><table width="708" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="79">c- Menarquia</td>
                                      <td width="156" ><input name="anturo_c" type="text" class="lblForm" id="anturo_c" value="<? echo $filas['anteceuro_c']?>" size="30"></td>
                                      <td width="17">RC</td>
                                      <td width="156" ><input name="anturo_rc" type="text" class="lblForm" id="anturo_rc" value="<? echo $filas['anteceuro_rc']?>" size="30"></td>
                                      <td width="177">M&eacute;todos Anticonceptivos</td>
                                      <td width="123" ><div align="left">
                                        <input name="anturo_metanti" type="text" class="lblForm" id="anturo_metanti" value="<? echo $filas['anteceuro_metoanti']?>" size="20">
                                      </div></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr bgcolor="#D4D3CA">
                                <td class="rdoBanners Estilo4"><div align="left">d- Esta usted embarazada</div></td>
                                <td>
                                  <div align="left">
                                    <input name="anteuro_emba" type="radio" class="lblForm" value="SI" <?php if($filas['anteceuro_d']=='SI'){echo "checked";}?>>
                                  <span class="rdoBanners">SI </span></div></td>
                                <td><div align="center">
                                    <input name="anteuro_emba" type="radio" class="lblForm" value="NO" <?php if($filas['anteceuro_d']=='NO'){echo "checked";}?>>
                                  <span class="rdoBanners">NO</span> </div></td>
                                <td width="70"><div align="right"><span class="rdoBanners">Cuantos Meses </span></div></td>
                                <td width="30" ><input name="anturo_nmes" type="text" class="lblForm" id="anturo_nmes" value="<? echo $filas['anteceuro_nmese']?>" size="5"></td>
                                <td  class="rdoBanners Estilo4"><div align="left"><span class="Estilo15">Problemas en su Embrazo</span>
                                      <input name="anturo_premba" type="text" class="lblForm" id="anturo_premba" value="<? echo $filas['anteceuro_proemba']?>" size="15">
                                </div></td>
                              </tr>
                              <tr bgcolor="#D4D3CA" >
                                <td colspan="6" class="rdoBanners Estilo4"><div align="left">e- Numero de Hijos
                                        <input name="anteuro_nh" type="text" class="lblForm" id="anteuro_nh" value="<? echo $filas['anteceuro_e']?>" size="8">
                      Parto Normal
                      <input name="anturo_parnor" type="text" class="lblForm" id="anturo_parnor" value="<? echo $filas['anteceuro_e']?>" size="8">
                      Parto Prematuro
                      <input name="anturo_pprema" type="text" class="lblForm" id="anturo_pprema" value="<? echo $filas['anteceuro_parprema']?>" size="8">
                      C&eacute;sareas
                      <input name="anturo_cesa" type="text" class="lblForm" id="anturo_cesa" value="<? echo $filas['anteceuro_cesa']?>" size="8">
                      Abortos
                      <input name="anturo_abort" type="text" class="lblForm" id="anturo_abort" value="<? echo $filas['anteceuro_abort']?>" size="10">
                      <span class="Estilo12"> </span></div></td>
                              </tr>
                              <tr bgcolor="#D4D3CA" >
                                <td colspan="6" class="rdoBanners Estilo4"><div align="left">f- Fecha ultima regla
                                        <input name="fechauregla" type="text" class="lblForm" id="fechauregla" value="<? echo extraerfechanormal($filas['anteceuro_fecuregla'])?>" size="12">
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fechauregla');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a> </div></td>
                              </tr>
                              <tr bgcolor="#D4D3CA" >
                                <td colspan="6" class="rdoBanners Estilo4"><div align="left">g- Problemas o enfermedades durante su embrazo y/o partos
                                        <input name="anturo_produemba" type="text" class="lblForm" id="anturo_produemba" value="<? echo $filas['anteceuro_produraemba']?>" size="60">
                                  </div>
                                  <div align="center"></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr bgcolor="#009900" >
                          <td colspan="8"><div align="center"><span class="rdoBanners Estilo10"><span class="rdoBanners  Estilo12">ESQUEMA DE VACUNACI&Oacute;N</span></span></div></td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="718" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr >
                                <td width="68" rowspan="6" bgcolor="#D4D3CA" class="rdoBanners Estilo13">&nbsp;</td>
                                <td width="72" bgcolor="#009900" class="rdoBanners Estilo13"><div align="center">DOSIS</div></td>
                                <td width="110" bgcolor="#009900" class="rdoBanners Estilo13"><div align="center">HEPATITIS A</div></td>
                                <td width="111" bgcolor="#009900" class="rdoBanners Estilo13"><div align="center">HEPATITIS B</div></td>
                                <td width="110" bgcolor="#009900" class="rdoBanners Estilo13"><div align="center">T&Eacute;TANO</div></td>
                                <td width="110" bgcolor="#009900" class="rdoBanners Estilo13"><div align="center">RABIA</div></td>
                                <td width="110" bgcolor="#009900" class="rdoBanners Estilo13">F. AMARILLA</td>
                                <td width="9" rowspan="6" bgcolor="#D4D3CA" class="rdoBanners Estilo13">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="center">Primera</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha3" type="text" class="lblForm" id="fecha32" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatia_1'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha3');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha8" type="text" class="lblForm" id="fecha8" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatib_1'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha8');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha18" type="text" class="lblForm" id="fecha18" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtetano_1'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha18');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha43" type="text" class="lblForm" id="fecha423" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vrabia_1'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha43');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha28" type="text" class="lblForm" id="fecha28" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vfamarilla_1'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha28');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="center">Segunda</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha4" type="text" class="lblForm" id="fecha42" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatia_2'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha4');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha9" type="text" class="lblForm" id="fecha9" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatib_2'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha9');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha19" type="text" class="lblForm" id="fecha19" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtetano_2'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha19');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha44" type="text" class="lblForm" id="fecha424" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vrabia_2'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha44');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha29" type="text" class="lblForm" id="fecha29" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vfamarilla_2'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha29');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="center">Tercera</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha5" type="text" class="lblForm" id="fecha5" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatia_3'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha5');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha10" type="text" class="lblForm" id="fecha10" onKeyUp=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatib_3'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha10');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha20" type="text" class="lblForm" id="fecha20" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtetano_3'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha20');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha45" type="text" class="lblForm" id="fecha425" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vrabia_3'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha45');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha30" type="text" class="lblForm" id="fecha30" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vfamarilla_3'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha30');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="center">Refuerzo</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha6" type="text" class="lblForm" id="fecha6" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatia_r'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha6');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha11" type="text" class="lblForm" id="fecha11" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatib_r'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha11');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha21" type="text" class="lblForm" id="fecha21" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtetano_r'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha21');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha46" type="text" class="lblForm" id="fecha426" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vrabia_r'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha46');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha31" type="text" class="lblForm" id="fecha31" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vfamarilla_r'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha31');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                              </tr>
                              <tr>
                                <td class="rdoBanners Estilo4"><div align="center">Inmunizado</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha7" type="text" class="lblForm" id="fecha7" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatia_e'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha7');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha12" type="text" class="lblForm" id="fecha12" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vhepatib_e'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha12');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                  <input name="fecha22" type="text" class="lblForm" id="fecha22" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtetano_e'])?>" size="12" readonly >
                                  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha22');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a>
                                  </div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">
                                  <div align="left">
                                    <input name="fecha47" type="text" class="lblForm" id="fecha47" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vrabia_e'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha47');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a>
                                  </div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha32" type="text" class="lblForm" id="fecha322" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vfamarilla_e'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha32');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr bgcolor="#009900" >
                          <td colspan="8">&nbsp;</td>
                        </tr>
                        <tr bgcolor="#D4D3CA">
                          <td colspan="8"><div align="center"></div>                            
                            
                            <table width="705" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr >
                                <td width="70" rowspan="6" bgcolor="#D4D3CA" class="rdoBanners Estilo13">&nbsp;</td>
                                <td width="72" bgcolor="#009900" class="rdoBanners Estilo13"><div align="center">DOSIS</div></td>
                                <td width="102" bgcolor="#009900" class="rdoBanners Estilo14"><div align="center">F. TIFOIDEA</div></td>
                                <td width="108" bgcolor="#009900" class="rdoBanners Estilo14"><div align="center">OTRAS</div></td>
                                <td width="118" bgcolor="#009900" class="rdoBanners Estilo14"><div align="center">INFLUENZA</div></td>
                                <td width="111" bgcolor="#009900" class="rdoBanners Estilo14">&nbsp;</td>
                                <td width="91" bgcolor="#009900" class="rdoBanners Estilo14">&nbsp;</td>
                                <td width="15" bgcolor="#009900" class="rdoBanners Estilo14">&nbsp;</td>
                              </tr>
                              <tr>
                                <td bgcolor="#FFFFFF" class="rdoBanners Estilo4"><div align="center">Primera</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha33" type="text" class="lblForm" id="fecha33" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtifoidea_1'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha33');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha38" type="text" class="lblForm" id="fecha38" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['votras_1'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha38');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha48" type="text" class="lblForm" id="fecha428" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vinfluenza_1'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha48');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td width="15" bgcolor="#009900" class="rdoBanners Estilo14">&nbsp;</td>
                              </tr>
                              <tr>
                                <td bgcolor="#FFFFFF" class="rdoBanners Estilo4"><div align="center">Segunda</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha34" type="text" class="lblForm" id="fecha34" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtifoidea_2'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha34');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha39" type="text" class="lblForm" id="fecha39" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['votras_2'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha39');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha49" type="text" class="lblForm" id="fecha429" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vinfluenza_2'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha49');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td width="15" bgcolor="#009900" class="rdoBanners Estilo14">&nbsp;</td>
                              </tr>
                              <tr>
                                <td bgcolor="#FFFFFF" class="rdoBanners Estilo4"><div align="center">Tercera</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha35" type="text" class="lblForm" id="fecha35" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtifoidea_3'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha35');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha40" type="text" class="lblForm" id="fecha40" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['votras_3'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha40');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha50" type="text" class="lblForm" id="fecha4210" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vinfluenza_3'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha50');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td width="15" bgcolor="#009900" class="rdoBanners Estilo14">&nbsp;</td>
                              </tr>
                              <tr>
                                <td bgcolor="#FFFFFF" class="rdoBanners Estilo4"><div align="center">Refuerzo</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha36" type="text" class="lblForm" id="fecha36" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtifoidea_r'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha36');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha41" type="text" class="lblForm" id="fecha41" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['votras_r'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha41');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha51" type="text" class="lblForm" id="fecha4211" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vinfluenza_r'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha51');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td width="15" bgcolor="#009900" class="rdoBanners Estilo14">&nbsp;</td>
                              </tr>
                              <tr>
                                <td bgcolor="#FFFFFF" class="rdoBanners Estilo4"><div align="center">Inmunizado</div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha37" type="text" class="lblForm" id="fecha37" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vtifoidea_e'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha37');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><div align="center">
                                    <input name="fecha42" type="text" class="lblForm" id="fecha422" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['votras_e'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha42');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></div></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4"><input name="fecha52" type="text" class="lblForm" id="fecha4212" onkeyup=fn(this.form,this) value="<? echo extraerfechanormal($filas['vinfluenza_e'])?>" size="12" readonly >
                                    <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha52');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a></td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td bgcolor="#009900" class="rdoBanners Estilo4">&nbsp;</td>
                                <td width="15" bgcolor="#009900" class="rdoBanners Estilo14">&nbsp;</td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr bgcolor="#009900" >
                          <td colspan="8"><div align="center"><span class="rdoBanners Estilo10"><span class="rdoBanners  Estilo12">ANTECEDENTES OCUPACIONALES</span></span></div></td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="685" border="1" align="center" cellpadding="0" cellspacing="0">
                              <tr class="rdoBanners">
                                <td width="147" rowspan="6" bgcolor="#D4D3CA">&nbsp;</td>
                                <td width="68" colspan="-1" bgcolor="#009900"><div align="center">EMPRESA</div></td>
                                <td width="72" colspan="-1" bgcolor="#009900"><div align="center">CARGO</div></td>
                                <td width="82" colspan="-1" bgcolor="#009900"><div align="center">TIEMPO</div></td>
                                <td width="61" colspan="-1" bgcolor="#009900"><div align="center">TURNO</div></td>
                                <td width="241" rowspan="6" bgcolor="#D4D3CA"><div align="center"></div></td>
                                </tr>
                              <tr  class="rdoBanners">
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="emp_1" type="text" class="lblForm" id="emp_1" value="<? echo $filas['empresa_1']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="carg_1" type="text" class="lblForm" id="carg_1" value="<? echo $filas['cargo_1']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="tiemp_1" type="text" class="lblForm" id="tiemp_1" value="<? echo $filas['tiempo_1']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900">
                                    <div align="center">
                                      <input name="turno_1" type="text" class="lblForm" id="turno_1" value="<? echo $filas['turno_1']?>" size="10">
                                    </div></td>
                                </tr>
                              <tr  class="rdoBanners">
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="emp_2" type="text" class="lblForm" id="emp_2" value="<? echo $filas['empresa_2']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="carg_2" type="text" class="lblForm" id="carg_2" value="<? echo $filas['cargo_2']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="tiemp_2" type="text" class="lblForm" id="tiemp_2" value="<? echo $filas['tiempo_2']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900">
                                    <div align="center">
                                      <input name="turno_2" type="text" class="lblForm" id="turno_2" value="<? echo $filas['turno_2']?>" size="10">
                                    </div></td>
                                </tr>
                              <tr  class="rdoBanners">
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="emp_3" type="text" class="lblForm" id="emp_3" value="<? echo $filas['empresa_3']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="carg_3" type="text" class="lblForm" id="carg_3" value="<? echo $filas['cargo_3']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="tiemp_3" type="text" class="lblForm" id="tiemp_3" value="<? echo $filas['tiempo_3']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900">
                                    <div align="center">
                                      <input name="turno_3" type="text" class="lblForm" id="turno_3" value="<? echo $filas['turno_3']?>" size="10">
                                    </div></td>
                                </tr>
                              <tr  class="rdoBanners">
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="emp_4" type="text" class="lblForm" id="emp_4" value="<? echo $filas['empresa_4']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="carg_4" type="text" class="lblForm" id="carg_42" value="<? echo $filas['cargo_4']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="tiemp_4" type="text" class="lblForm" id="tiemp_4" value="<? echo $filas['tiempo_4']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900">
                                    <div align="center">
                                      <input name="turno_4" type="text" class="lblForm" id="turno_4" value="<? echo $filas['turno_4']?>" size="10">
                                    </div></td>
                                </tr>
                              <tr  class="rdoBanners">
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="emp_5" type="text" class="lblForm" id="emp_5" value="<? echo $filas['empresa_5']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="carg_5" type="text" class="lblForm" id="carg_52" value="<? echo $filas['cargo_5']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900"><div align="center">
                                  <input name="tiemp_5" type="text" class="lblForm" id="tiemp_5" value="<? echo $filas['tiempo_5']?>" size="12">
                                </div></td>
                                <td colspan="-1" bgcolor="#009900">
                                    <div align="center">
                                      <input name="turno_5" type="text" class="lblForm" id="turno_5" value="<? echo $filas['turno_5']?>" size="10">
                                    </div></td>
                                </tr>
                              <tr bgcolor="#D4D3CA"  class="rdoBanners">
                                <td colspan="8">&nbsp;</td>
                                </tr>
                              
                          </table></td>
                        </tr>
                        <tr bgcolor="#009900" >
                          <td colspan="8"><div align="center" class="rdoBanners Estilo12">
                              <div align="center">FACTORES DE RIESGO</div>
                          </div></td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="748" border="1" cellspacing="0" cellpadding="0">
                            <tr bgcolor="#009900" class="rdoBanners">
                              <td colspan="2"><span class="Estilo4 Estilo21 Estilo24">F&Iacute;SICO</span></td>
                              <td colspan="2"><span class="Estilo27">QU&Iacute;MICO</span></td>
                              <td colspan="2"><span class="Estilo27">BIOL&Oacute;GICO</span></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td width="236">RUIDO</td>
                              <td width="20"><label>
                                <input name="frfisico_1" type="checkbox" id="frfisico_1" value="RUIDO" <?php if($filas['frfisico_1']=='RUIDO'){echo "checked";}?>>
                              </label></td>
                              <td width="188">GASES, GASE</td>
                              <td width="20"><input name="frquim_1" type="checkbox" id="frquim_1" value="GASES.GASE" <?php if($filas['frquim_1']=='GASES.GASE'){echo "checked";}?>></td>
                              <td width="219">HONGOS, VIRUS</td>
                              <td width="51"><input name="frbiolg_1" type="checkbox" id="frbiolg_1" value="HONGOS, VIRUS" <?php if($filas['frbiolg_1']=='HONGOS, VIRUS'){echo "checked";}?>></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>VIBRACIONES</td>
                              <td><input name="frfisico_2" type="checkbox" id="frfisico_2" value="VIBRACIONES" <?php if($filas['frfisico_2']=='VIBRACIONES'){echo "checked";}?>></td>
                              <td>GASES, VAPORES</td>
                              <td><input name="frquim_2" type="checkbox" id="frquim_2" value="GASES.VAPORES" <?php if($filas['frquim_2']=='GASES.VAPORES'){echo "checked";}?>></td>
                              <td>BACTERIAS</td>
                              <td><input name="frbiolg_2" type="checkbox" id="frbiolg_2" value="BACTERIAS" <?php if($filas['frbiolg_2']=='BACTERIAS'){echo "checked";}?>></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>RAD. IONIZANTES</td>
                              <td><input name="frfisico_3" type="checkbox" id="frfisico_3" value="RAD.IONIZANTE" <?php if($filas['frfisico_3']=='RAD.IONIZANTE'){echo "checked";}?>></td>
                              <td>AEROS. LIQUIDO</td>
                              <td><input name="frquim_3" type="checkbox" id="frquim_3" value="AEROS.LIQUITO" <?php if($filas['frquim_3']=='AEROS.LIQUITO'){echo "checked";}?>></td>
                              <td>VEGETALES</td>
                              <td><input name="frbiolg_3" type="checkbox" id="frbiolg_3" value="VEGETALES" <?php if($filas['frbiolg_3']=='VEGETALES'){echo "checked";}?>></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>RAD. NO IONIZANTES</td>
                              <td><input name="frfisico_4" type="checkbox" id="frfisico_4" value="RAD.NO IONIZANTE" <?php if($filas['frfisico_4']=='RAD.NO IONIZANTE'){echo "checked";}?>></td>
                              <td>AEROS.SOL. POLVOS</td>
                              <td><input name="frquim_4" type="checkbox" id="frquim_4" value="AEROS.SOL.POLVOS" <?php if($filas['frquim_4']=='AEROS.SOL.POLVOS'){echo "checked";}?>></td>
                              <td>ANI. VERTEBRADOS</td>
                              <td><input name="frbiolg_4" type="checkbox" id="frbiolg_4" value="ANI. INVERTEBRADOS" <?php if($filas['frbiolg_4']=='ANI. INVERTEBRADOS'){echo "checked";}?>></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>COND. CLIM&Aacute;TICAS</td>
                              <td><input name="frfisico_5" type="checkbox" id="frfisico_5" value="COND.CLIMATICAS" <?php if($filas['frfisico_5']=='COND.CLIMATICAS'){echo "checked";}?>></td>
                              <td>AEROS.SOL.HUMOS</td>
                              <td><input name="frquim_5" type="checkbox" id="frquim_5" value="AEROS.SOL.HUMOS" <?php if($filas['frquim_5']=='AEROS.SOL.HUMOS'){echo "checked";}?>></td>
                              <td>INSECTOS</td>
                              <td><input name="frbiolg_5" type="checkbox" id="frbiolg_5" value="INSECTOS" <?php if($filas['frbiolg_5']=='INSECTOS'){echo "checked";}?>></td>
                            </tr>
                            <tr bgcolor="#009900" class="rdoBanners">
                              <td colspan="2"><span class="Estilo27">DE INSEGURIDAD</span></td>
                              <td colspan="2"><span class="Estilo27">ERGON&Oacute;MICO</span></td>
                              <td colspan="2"><span class="Estilo27">PSICOSOCIAL</span></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>EL&Eacute;CTRICOS</td>
                              <td><input name="frdeinsg_1" type="checkbox" id="frdeinsg_1" value="ELECTRICOS" <?php if($filas['frdeinsg_1']=='ELECTRICOS'){echo "checked";}?>></td>
                              <td>CARGA DIN&Aacute;MICA</td>
                              <td><input name="frergo_1" type="checkbox" id="frergo_1" value="carga" <?php if($filas['frergo_1']=='carga'){echo "checked";}?>></td>
                              <td>M.AMB. LABORAL</td>
                              <td><input name="frpsico_1" type="checkbox" id="frpsico_1" value="M.AMB.LABORAL" <?php if($filas['frpsico_1']=='M.AMB.LABORAL'){echo "checked";}?>></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>MAN. HERTAS MANUA</td>
                              <td><input name="frdeinsg_2" type="checkbox" id="frdeinsg_2" value="manHertasmanua" <?php if($filas['frdeinsg_2']=='manHertasmanua'){echo "checked";}?>></td>
                              <td>CARGA EST&Aacute;TICA</td>
                              <td><input name="frergo_2" type="checkbox" id="frergo_2" value="cargaestatica" <?php if($filas['frergo_2']=='cargaestatica'){echo "checked";}?>></td>
                              <td>M.AMB. SOCIAL</td>
                              <td><input name="frpsico_2" type="checkbox" id="frpsico_2" value="M.AMB.SOCIAL" <?php if($filas['frpsico_2']=='M.AMB.SOCIAL'){echo "checked";}?>></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>MAN. EQUIPOS EN MOV</td>
                              <td><input name="frdeinsg_3" type="checkbox" id="frdeinsg_3" value="manequiposdemov" <?php if($filas['frdeinsg_3']=='manequiposdemov'){echo "checked";}?>></td>
                              <td colspan="2">&nbsp;</td>
                              <td>M.AMB.INDIVIDUA</td>
                              <td><input name="frpsico_3" type="checkbox" id="frpsico_3" value="M.AMB.INDIVIDUA" <?php if($filas['frpsico_3']=='M.AMB.INDIVIDUA'){echo "checked";}?>></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>PROYECCI&Oacute;N DE PART.</td>
                              <td><input name="frdeinsg_4" type="checkbox" id="frdeinsg_4" value="proyecdepar" <?php if($filas['frdeinsg_4']=='proyecdepar'){echo "checked";}?>></td>
                              <td colspan="2">&nbsp;</td>
                              <td colspan="2">&nbsp;</td>
                            </tr>
                            <tr class="rdoBanners">
                              <td>EXPLOSI&Oacute;N</td>
                              <td><input name="frdeinsg_5" type="checkbox" id="frdeinsg_5" value="explosion" <?php if($filas['frdeinsg_5']=='explosion'){echo "checked";}?>></td>
                              <td colspan="2">&nbsp;</td>
                              <td colspan="2">&nbsp;</td>
                            </tr>
                            <tr class="rdoBanners">
                              <td><span class="Estilo26">TRABAJOS HELITRANSPORTADOS</span></td>
                              <td><input name="trabaHelitrans" type="checkbox" id="trabaHelitrans" value="trabajhelitransportados" <?php if($filas['trabaHelitrans']=='trabajhelitransporta'){echo "checked";}?>></td>
                              <td><div align="center"><span class="Estilo17">OTROS</span></div></td>
                              <td><input name="frotros" type="checkbox" id="frotros" value="OTROS" <?php if($filas['frotros']=='OTROS'){echo "checked";}?>></td>
                              <td><span class="Estilo26">MANEJO INTEGRAL DE EXPLOSIVOS</span></td>
                              <td><input name="manejoideexplociones" type="checkbox" id="manejoideexplociones" value="MANEJO_I_EXPLOSIVO" <?php if($filas['manejoideexplociones']=='MANEJO_I_EXPLOSIVO'){echo "checked";}?>></td>
                            </tr>
                            <tr class="rdoBanners">
                              <td><span class="Estilo26">TRABAJO EN ALTURA</span></td>
                              <td><input name="traenaltura" type="checkbox" id="traenaltura" value="TRABAJOENALTURA" <?php if($filas['traenaltura']=='TRABAJOENALTURA'){echo "checked";}?>></td>
                              <td colspan="2">&nbsp;</td>
                              <td>&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
                              <tr class="rdoBanners">
                                <td>ESPECIFIQUE OTROS: </td>
                                <td colspan="4"><div align="left">
                                  <input name="especi_ot" type="text" class="lblForm" id="especi_ot" value="<?=$filas['especi_otros']?>" size="62">
                                </div></td>
                                <td>&nbsp;</td>
                              </tr>
                              <tr class="rdoBanners">
                                <td>OBSERVACIONES</td>
                                <td colspan="4"><div align="left">
                                  <textarea name="observ" cols="60" rows="2" class="lblForm" id="textarea2"><?=$filas['observaciones']?>
                                  </textarea>
                                </div></td>
                                <td>&nbsp;</td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr >
                          <td colspan="8">&nbsp;</td>
                        </tr>
                        <tr>
                          <td colspan="8" class="rdoBanners">Declaro que la respuestas anteriores han sido ofrecidas por mi sin coacci&oacute;n, que son verdaderas y que el medico examinador me ha explicado los t&eacute;rminos fuera de mi comprensi&oacute;n, en fe de lo cual firmo este documento en presencia del Medico examinador.</td>
                        </tr>
                        <tr >
                          <td colspan="8">&nbsp;</td>
                        </tr>
                        <tr>
                          <td colspan="8"><table width="720" border="1" align="left" cellpadding="0" cellspacing="0">
                              <tr bgcolor="#009900" class="rdoBanners">
                                <td width="183"><div align="right"><span class="Estilo12">Se firma en el mes de</span></div></td>
                                <td width="105" ><span class="Estilo12"><span class="Estilo4">
                                  <?php $mes = date("m");?>
                                  <select name="meses" class="lblForm" id="mes" >
                                    <?= getCboMeses($filas['mes_firma']);?>
                                  </select>
                                </span></span></td>
                                <td width="35"><div align="center"><span class="Estilo12">a los </span></div></td>
                                <td width="105" ><span class="Estilo12"><span class="Estilo4">
                                  <input name="alos_firma" type="text" class="lblForm" id="alos_firma" value="<? echo $filas['alos_firma']?>" size="20">
                                </span></span></td>
                                <td width="53"><div align="center"><span class="Estilo12">d&iacute;as de</span></div></td>
                                <td width="105" ><span class="Estilo12"><span class="Estilo4">
                                  <input name="diasde_firma" type="text" class="lblForm" id="diasde_firma" value="<? echo $filas['diasde_firma']?>" size="20">
                                </span></span></td>
                                <td width="163" ><span class="Estilo12"></span></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr >
                          <td colspan="8">&nbsp;</td>
                        </tr>
                        <tr>
                          <td width="89" bgcolor="#99CC99">&nbsp;</td>
                          <td width="68" bgcolor="#99CC99">&nbsp;</td>
                          <td width="111" bgcolor="#99CC99"><div align="center"> </div></td>
                          <td width="194" bgcolor="#99CC99"><input name="grabar" type="button" class="lblForm" id="grabar6" value=".:   Actualizar Ficha Medica   :." onClick="enviar_url(form1,'procesos/actualiza_fichamedica.php')"></td>
                          <td width="89" bgcolor="#99CC99"><div align="center"> </div></td>
                          <td width="89" bgcolor="#99CC99">&nbsp;</td>
                          <td width="80" bgcolor="#99CC99"><div align="center"> </div></td>
                          <td width="3" bgcolor="#99CC99">&nbsp;</td>
                        </tr>
                    </table></td>
                  </tr>
                </table>
                <?php 
		  }
		  $objclinico->Liberar($resul);
?>
                <div align="center"></div>
              </form>
            </div></td>
            <td background="estilo_tabla/parte_med_der.gif">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="estilo_tabla/parte_inf_izq.gif" width="25" height="25"></td>
            <td background="estilo_tabla/parte_inf_cen.gif">&nbsp;</td>
            <td><img src="estilo_tabla/parte_inf_der.gif" width="25" height="25"></td>
          </tr>
        </table>
    </div></td>
  </tr>
  <tr valign="top" class="lblCampo" >
    <td colspan="4">
      <div align="center"> </div></td>
  </tr>
</table>
<map name="Map">
  <area shape="circle" coords="9,10,8" href="fondo.php">
</map>
</body>
</html>
