<?php
  include("stilos/config.inc.php");	
  include("Funciones.php");  
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Registro de Examenes Clinicos - 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: 10px}
.Estilo2 {color: #000000}
.Estilo3 {font-size: 11px}
.Estilo4 {color: #000000; font-size: 11px; }
.Estilo5 {
	color: #000000;
	font-size: 10px;
	font-weight: bold;
}
-->
</style>
<SCRIPT language=JavaScript src="js/calendario.js"></SCRIPT>
<script>
function enviar_url(form,url){
	if (form1.fecha.value==""){
			alert("Debe Ingresar la Fecha.\n y es Obligatorio");
			btn_ver1.focus();
			return;	
	  						}
	if (form1.nom.value==""){
			alert("Debe Ingresar el Nombre del Trabajador.\n y es Obligatorio. \n presiona Buscar o Nuevo");
			btn_ver1.focus();
			return;	
	  						}
							
	if(form1.grabar.value)
					{
					form1.submit();
	    
					}
}
function volver(form){
  location.reload('fondo.php');
  
  }
</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;
		}
	}
}

function Limpiar(form)
{
		var next=0;
		var f=form;
		for(var i=0;i<f.length;i++) {
			if(f.item(i).type=='text'){
				f.item(i).value="";
						}
			}
}
</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>
<?php $url="registro_clinico.php?a=1";?>
<script language="JavaScript" type="text/JavaScript">
function MensajeEditar(m){
		if (m==1){window.alert("Se Guardó el Exámen satisfactoriamente")}
		if (m==2){
		     if(confirm("Ya! Existe Un Exámen Clínico Registrado para el Trabajador - Verifique en el Menú Modificaciones ->Exámen Clínico: \n ¿Si desea crear Un Registro Nuevo Presiones Aceptar? O \n Presione Cancelar Para Ver la Ficha Existente en el Menú Modificaciones"))
			 	{
				form1.submit();
				}
			 else{
				Limpiar(form1);
			    document.form1.dr_resp.focus();	
				window.location="<? echo $url ?>";
				  }

			 }
if(m==3){alert('Se Guardó Un Exámen Clínico Nuevo del Trabajador');}
}
</script>
<script>
var vent = null;
function foco() {
   if (vent != null)
       vent.focus();
}
function cerrar() {
   vent = null;
}

</script>
</head>
<?php
//if(!isset($param)){$param=2;}
if($aler==1){
     echo "<body onLoad='MensajeEditar(1)'background='imagenes/fondo.jpg'>";
	 $envio = 'grabar.php?param=0';
	} 
else {
     if(empty($aler)){echo "<body background='imagenes/fondo.jpg'>";
	 $envio = 'grabar.php?param=0';
	 }
     if($aler==2){echo "<body onLoad='MensajeEditar(2)'background='imagenes/fondo.jpg'>";
	 $envio = 'grabar.php?param=1';
	 }
	 if($aler==3){
     echo "<body onLoad='MensajeEditar(3)' background='imagenes/fondo.jpg'> ";
	 $envio = "grabar.php?param=0";
	 $mes = date("m");
	} 
}

?>
<form action="<?=$envio?>" method="post" name="form1">
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25" class="lblCampo">&nbsp;</td>
    <td class="lblCampo">&nbsp;</td>
    <td height="25" class="lblCampo">&nbsp;</td>
  </tr>
  <tr>
    <td width="25" height="25"><img src="estilo_tabla/parte_sup_izq.gif" width="25" height="25"></td>
    <td background="estilo_tabla/parte_sup_cen.gif">&nbsp;</td>
    <td width="25" height="25"><img src="estilo_tabla/parte_sup_der.gif" width="25" height="25" border="0" usemap="#Map"></td>
  </tr>
  <tr>
    <td background="estilo_tabla/parte_med_izq.gif">&nbsp;</td>
    <td background="estilo_tabla/parte_med_cen.gif"><table width="720" border="0" align="center" cellpadding="0" cellspacing="0" >
      <tr>
        <td width="2">&nbsp;</td>
        <td width="720" valign="top"><table width="720" border="0" align="center" cellpadding="0" cellspacing="0" >
            <tr>
              <td width="720" height="25" valign="top"><table width="720" border="0" cellpadding="0" cellspacing="0" class="filForm" id="apell_nom">
                  <tr>
                    <td colspan="7" class="trCabecera Estilo1"><div align="center" class="lblParrafo"><em>Ex&aacute;men Cl&iacute;nico</em></div></td>
                    </tr>
                  <tr>
                    <td width="169" class="trCabecera Estilo1"><div align="right" class="Estilo2">Doctor Responsable </div></td>
                    <td colspan="4" ><input name="dr_resp" type="text" class="lblForm" id="dr_resp" onKeyUp=fn(this.form,this) value="<?=$dr_resp?>" size="60"></td>
                    <td colspan="2" >&nbsp;</td>
                  </tr>
                  <tr>
                    <td class="trCabecera Estilo1"><div align="right" class="Estilo2">Documento de Id. del Paciente </div></td>
                    <td colspan="4" ><div align="left">
                        <table width="298" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="109"><div align="left">
                                <input name="doc_id" type="text" class="lblForm" id="doc_id" onkeyup=fn(this.form,this) value="<?=$doc_id?>" size="20" readonly>
                            </div></td>
                            <td width="10">&nbsp;</td>
                            <td width="40"><div align="left">
                                <input name="btn_ver1" type="button" class="botira" id="btn_ver1" style="<?=$stylo['st2']?>" value="Buscar" onClick="javascript:Abrir_Ventanapopup1('reg_clinico_ver.php',465,300)" >
                            </div></td>
                            <td width="10">&nbsp;</td>
                            <td width="129"><div align="left">
                                <input name="btn_ver12" type="button" class="botira" id="btn_ver12" style="<?=$stylo['st2']?>" value="Nuevo" onClick="javascript:Abrir_Ventanapopup2('cvp_personal.php',800,300)">
                            </div></td>
                          </tr>
                        </table>
                    </div></td>
                    <td colspan="2" >&nbsp;</td>
                  </tr>
                  <tr>
                    <td class="trCabecera Estilo1"><div align="right" class="Estilo2">Nombre del Paciente </div></td>
                    <td ><input name="nom" type="text" class="lblForm" id="nom" value="<?=$nom?>" readonly></td>
                    <td width="4" >&nbsp;</td>
                    <td width="34"  class="Estilo5">Fecha</td>
                    <td width="146" ><input name="fecha" type="text" class="lblForm" id="fecha2" onkeyup=fn(this.form,this) value="<? echo $fecha?>" size="12" readonly >
                        <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>
                    <td width="37" >&nbsp;</td>
                    <td width="121" >&nbsp;</td>
                  </tr>
                  <tr>
                    <td class="trCabecera Estilo1"><div align="right" class="Estilo2">Apellidos del Paciente </div></td>
                    <td colspan="4" ><input name="ape" type="text" class="lblForm" id="ape" value="<?=$ape?>" readonly></td>
                    <td colspan="2">&nbsp;</td>
                  </tr>
                  <tr>
                    <td class="trCabecera Estilo1"><div align="right" class="Estilo2">Edad del Paciente </div></td>
                    <td width="125" ><input name="edad" type="text" class="lblForm" id="edad" onkeyup=fn(this.form,this) value="<?=$edad?>"></td>
                    <td colspan="3" class="trCabecera"><div align="right" class="Estilo2">
                        <div align="center">Codigo de Laboratorio</div>
                    </div></td>
                    <td colspan="2" ><input name="codi" type="text" class="lblForm" id="codi" onKeyUp=fn(this.form,this) readonly></td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td><span class="trCabecera"> </span>
                  <table width="720" border="0" cellpadding="0" cellspacing="0" class="filForm">
                    <tr>
                      <td height="37" colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="center" class="Estilo2 Estilo3"><u>HEMATOLOGIA</u></div></td>
                      <td colspan="3" background="imagenes/fondo2.jpg" class="trCabecera"><div align="center" class="Estilo4"><u>INMUNOLOGIA</u></div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="center" class="Estilo4"><u>BIOQUIMICA </u></div></td>
                    </tr>
                    <tr>
                      <td width="99" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Grupo</div></td>
                      <td width="127" background="imagenes/fondo2.jpg" ><input name="grup" type="text" class="lblForm" id="grup" onkeyup=fn(this.form,this) value="<?=$grup?>"></td>
                      <td width="86" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">
                          <div align="right">RPR (S&iacute;filis)</div>
                      </div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" ><input name="rpr_sif" type="text" class="lblForm" id="rpr_sifi2" onKeyUp=fn(this.form,this) value="<?=$rpr_sif?>"></td>
                      <td width="95" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Glicemia</div></td>
                      <td width="155" background="imagenes/fondo2.jpg" ><span class="trCabecera">
                        <input name="glic" type="text" class="lblForm" id="glice3" onKeyUp=fn(this.form,this) value="<?=$glic?>">
                      </span></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Factor RH </div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="factor_rh" type="text" class="lblForm" id="fact_rh2" onKeyUp=fn(this.form,this) value="<?=$factor_rh?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Ant. de Superficie</div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" ><input name="art_sup" type="text" class="lblForm" id="art_super2" onKeyUp=fn(this.form,this) value="<?=$art_sup?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Urea</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="ur" type="text" class="lblForm" id="urea2" onKeyUp=fn(this.form,this) value="<?=$ur?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2"><strong>N&ordm; Leucocitos</strong></div></td>
                      <td background="imagenes/fondo2.jpg" ><span class="trCabecera">
                        <input name="n_leuc" type="text" class="lblForm" id="N_leuco3" onKeyUp=fn(this.form,this) value="<?=$n_leuc?>">
                      </span></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Parat&iacute;fico A </div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" ><span class="trCabecera">
                        <input name="para_a" type="text" class="lblForm" id="para_a4" onKeyUp=fn(this.form,this) value="<?=$Para_a?>">
                      </span></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Creatinina</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="crea" type="text" class="lblForm" id="crea3" onKeyUp=fn(this.form,this) value="<?=$crea?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Abastonados</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="abast" type="text" class="lblForm" id="abas3" onKeyUp=fn(this.form,this) value="<?=$abast?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Para&iacute;ifico B </div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" ><input name="para_b" type="text" class="lblForm" id="para_b2" onKeyUp=fn(this.form,this) value="<?=$Para_b?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">Colesterol</span></div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="cole" type="text" class="lblForm" id="cole" onKeyUp=fn(this.form,this) value="<?=$cole?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Segmentados</div></td>
                      <td background="imagenes/fondo2.jpg" ><span class="trCabecera">
                        <input name="segm" type="text" class="lblForm" id="segm3" onKeyUp=fn(this.form,this) value="<?=$segm?>">
                      </span></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">T&iacute;fico H </div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" ><input name="tif_h" type="text" class="lblForm" id="tifi_h4" onKeyUp=fn(this.form,this) value="<?=$tif_h?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">Trigliceridos</span></div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="trigli" type="text" class="lblForm" id="trigli" onKeyUp=fn(this.form,this) value="<?=$trigli?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Eosin&oacute;filos</div></td>
                      <td background="imagenes/fondo2.jpg" ><span class="Estilo2">
                        <input name="eosi" type="text" class="lblForm" id="eosi3" onKeyUp=fn(this.form,this) value="<?=$eosi?>">
                      </span></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">T&iacute;fico O </div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" ><input name="tif_o" type="text" class="lblForm" id="tifi_o3" onKeyUp=fn(this.form,this) value="<?=$tif_o?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">LDL</span></div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="ldl" type="text" class="lblForm" id="ldl" onKeyUp=fn(this.form,this) value="<?=$ldl?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Bas&oacute;filos</div></td>
                      <td background="imagenes/fondo2.jpg" ><span class="trCabecera">
                        <input name="basof" type="text" class="lblForm" id="baso4" onKeyUp=fn(this.form,this) value="<?=$basof?>">
                      </span></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Brucella AB </div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" ><input name="bru_ab" type="text" class="lblForm" id="brul_ab3" onKeyUp=fn(this.form,this) value="<?=$bru_ab?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">HDL</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="hdl" type="text" class="lblForm" id="hdl" onKeyUp=fn(this.form,this) value="<?=$hdl?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Monocitos</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="mono" type="text" class="lblForm" id="moni3" onKeyUp=fn(this.form,this) value="<?=$mono?>"></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">HIV</span></div></td>
                      <td background="imagenes/fondo2.jpg"  class="trCabecera"><input name="hiv" type="text" class="lblForm" id="brul_ab2" onKeyUp=fn(this.form,this) value="<?=$hiv?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">TGP</div></td>
                      <td background="imagenes/fondo2.jpg" ><span class="trCabecera">
                        <input name="tgp" type="text" class="lblForm" id="tgp3" onKeyUp=fn(this.form,this) value="<?=$tgp?>">
                      </span></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Linfocitos</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="linf" type="text" class="lblForm" id="linf2" onKeyUp=fn(this.form,this) value="<?=$linf?>"></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">BK (TBC) </span></div></td>
                      <td background="imagenes/fondo2.jpg"  class="trCabecera"><input name="bk" type="text" class="lblForm" id="brul_ab" onKeyUp=fn(this.form,this) value="<?=$bk?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">TGO</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="tgo" type="text" class="lblForm" id="tgo2" onKeyUp=fn(this.form,this) value="<?=$tgo?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Hemoglobina</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="hemo" type="text" class="lblForm" id="hemo2" onKeyUp=fn(this.form,this) value="<?=$hemo?>"></td>
                      <td colspan="5" bgcolor="#A4CFB4" class="trCabecera"><div align="center"><u><span class="Estilo4"><u>ORINA</u></span></u></div>                        <div align="center" class="Estilo4"></div></td>
                      </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Mielocitos</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="melo" type="text" class="lblForm" id="hemo2" onKeyUp=fn(this.form,this) value="<?=$melo?>"></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">Color Orina</span></div></td>
                      <td width="155" background="imagenes/fondo2.jpg"  class="trCabecera"><input name="color" type="text" class="lblForm" id="colo3" onKeyUp=fn(this.form,this) value="<?=$color?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">Cetonas</span></div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="cetom" type="text" class="lblForm" id="ceto2" onKeyUp=fn(this.form,this) value="<?=$cetom?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Metamielocitos</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="metam" type="text" class="lblForm" id="hemo2" onKeyUp=fn(this.form,this) value="<?=$metam?>"></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">Aspecto</span></div></td>
                      <td background="imagenes/fondo2.jpg"  class="trCabecera"><input name="aspe" type="text" class="lblForm" id="aspe2" onKeyUp=fn(this.form,this) value="<?=$aspe?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Nitritos</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="nitrit" type="text" class="lblForm" id="nitri2"onKeyUp=fn(this.form,this) value="<?=$nitrit?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Plaquetas</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="h_otros" type="text" class="lblForm" id="hemo2" onKeyUp=fn(this.form,this) value="<?=$h_otros?>"></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Densidad</div></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><input name="dens" type="text" class="lblForm" id="dens2" onKeyUp=fn(this.form,this) value="<?=$dens?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">C&eacute;lulas</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="celul" type="text" class="lblForm" id="celu2" onKeyUp=fn(this.form,this) value="<?=$celul?>"></td>
                    </tr>
                    <tr>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">PH</span></div></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><input name="ph" type="text" class="lblForm" id="ph2" onKeyUp=fn(this.form,this) value="<?=$ph?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Leucocitos</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="leuc" type="text" class="lblForm" id="leuc2" onKeyUp=fn(this.form,this) value="<?=$leuc?>"></td>
                    </tr>
                    <tr>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="center"><span class="Estilo2 Estilo3"><u>TOXICOLOGICO</u></span></div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Prote&iacute;nas </div></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><input name="prote" type="text" class="lblForm" id="prote2" onKeyUp=fn(this.form,this) value="<?=$prote?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Hematies</div></td>
                      <td background="imagenes/fondo2.jpg" ><input name="hemat" type="text" class="lblForm" id="hemat2" onKeyUp=fn(this.form,this) value="<?=$hemat?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">Test de Coca&iacute;na </span></div></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="left">
                        <input name="t_coca" type="text" class="lblForm" id="h_otros" onKeyUp=fn(this.form,this) value="<?=$t_coca?>">
                      </div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">Glucosa</span></div></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><input name="gluco" type="text" class="lblForm" id="gluc2" onKeyUp=fn(this.form,this) value="<?=$gluco?>"></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2">Otros</div></td>
                      <td background="imagenes/fondo2.jpg" bgcolor=""><input name="otros" type="text" class="lblForm" id="otro2" onKeyUp=fn(this.form,this) value="<?=$otros?>"></td>
                    </tr>
                    <tr>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">Test de Marihuana </span></div></td>
                      <td background="imagenes/fondo2.jpg" class="trCabecera"><div align="left">
                        <input name="t_mari" type="text" class="lblForm" id="h_otros2" onKeyUp=fn(this.form,this) value="<?=$t_mari?>">
                      </div></td>
                      <td colspan="3" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp; </td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      </tr>
                    <tr>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right" class="Estilo2"></div></td>
                      <td colspan="3" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"></div></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      </tr>
                    <tr>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      <td colspan="3" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                    </tr>
                    <tr>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><table cellspacing="0" cellpadding="0">
                    <tr><td width="97"><div align="right"><span class="Estilo2">Heces </span></div></td>
                      <td width="127" background="imagenes/fondo2.jpg">                        <div align="left">
                        <input name="heces" type="text" class="lblForm" id="heces" onKeyUp=fn(this.form,this) value="<?=$heces?>">                      
                      </div></td>
                    </table></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera"><div align="right"><span class="Estilo2">KOH EN LECHO UNGUEAL</span></div></td>
                      <td background="imagenes/fondo2.jpg"  class="trCabecera"><input name="koh" type="text" class="lblForm" id="k_l_u2" onKeyUp=fn(this.form,this) value="<?=$koh?>"></td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      </tr>
                    <tr>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      <td colspan="3" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      <td colspan="2" background="imagenes/fondo2.jpg" class="trCabecera">&nbsp;</td>
                      </tr>
                </table></td>
            </tr>
            <tr>
              <td><table width="720" border="1" cellpadding="1" cellspacing="1">
                  <tr>
                    <td><div align="center">
                    </div></td>
                    <td><div align="center">
                    </div></td>
                    <td><div align="center">
                    </div></td>
                  </tr>
                  <tr>
                    <td><div align="center">
                      <input name="nuevo" type="reset" class="lblForm" id="nuevo2" value=".:   Nuevo  :.">
                    </div></td>
                    <td><div align="center">
                      <input name="grabar" type="button" class="lblForm" id="grabar" value=".:   Grabar:." onClick="enviar_url(form1,'grabar.php')">
                    </div></td>
                    <td><div align="center">
                      <input name="salir" type="button" class="lblForm" id="salir3" value=".:   Salir  :." onClick="volver(this.form);">
                    </div></td>
                  </tr>
              </table>                </td>
            </tr>
        </table></td>
        <td width="71">&nbsp;</td>
      </tr>
    </table></td>
    <td background="estilo_tabla/parte_med_der.gif">&nbsp;</td>
  </tr>
  <tr>
    <td height="20"><img src="estilo_tabla/parte_inf_izq.gif" width="25" height="25"></td>
    <td background="estilo_tabla/parte_inf_cen.gif">&nbsp;</td>
    <td width="25" height="20"><img src="estilo_tabla/parte_inf_der.gif" width="25" height="25"></td>
  </tr>
</table>
</form>
<map name="Map">
  <area shape="circle" coords="13,11,11" href="fondo.php">
</map>
</body>
</html>
