	<?php
		if (isset($con))
		{
	?>
	<!-- Modal -->
	<div class="modal fade" id="nuevoPasajes" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
	  <div class="modal-dialog modal-lg" role="document">
		<div class="modal-content" style="background-color: #AED6F1">
		  <div class="modal-header ">
			<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			<center><h4 class="modal-title" id="myModalLabel"><i class='glyphicon glyphicon-edit'></i> CONTROL PACIENTES TRIAJE </h4></center>
		  </div>
		  <div class="modal-body container">
		  	<div class=""> 
		  	<label for="triaje" class="">DNI PACIENTE :</label> 
			<input type="text" class="" id="dni1" name="dni1" size="20" style="text-align: left;" maxlength="8"><button  onclick='buscar()' title="BUSCAR" style="background-color: #f44336;">Buscar</button>
			</div>
			<form class="form-horizontal" method="post" id="guardar_categoria" name="guardar_categoria">
			<div class="col-sm-1" id="resultados_ajax"></div>
			  <div class="form-group table-responsive"  >
			<table style="text-align: left" class=" table-bordered" width="80">
				<!-- <caption>table title and/or explanatory text</caption> -->
				<thead>
					<tr >
						<td colspan="4" style="background-color: #908B8A"><label> - REGISTRO DE CONTROL EN TRIAJE</label></td>
					</tr>
				</thead>
				<tbody>
					<tr><div class=""> 
						<td ><label for="triaje" class="" > - DNI</label></td>
						<td colspan="" rowspan="" headers="">
						 
						  <input type="text" class="" id="dni" name="dni" size="30" style="text-align: center;" maxlength="8">
						</div>
						</td>
						<td style="background-color: #; color: black;"><label for="telefono" class="">- Telefono :</label>
						<div class=""></td><td style="background-color: #e7e7e7; color: black;"> <input type="text" class="" id="telefono" name="telefono" style="text-align: center;" maxlength="8">
						</div></td>
					</tr>
					<tr>
						<td><label for="triaje" class=""> NOMBRES</label></td><td><div class=""><input type="text" class="" id="apenom" name="apenom" maxlength="100" size="45"> 
						</div>
						</td>
						<td><label for="triaje" class=""> -  EDAD:</label></td><td><div class="">
						  <input type="text" class="" id="edad" name="edad"  maxlength="60" size="">
						</div></td>	
					</tr>
					<tr>
										
					</tr>
					<tr style="background-color: #AFEBF5">
						<th colspan="4"> - CONTROL DATOS TRIAJE  (Datos Complementarios)</th>
					</tr>
					<tr style="background-color: #AFEBF5">
						<td colspan="" rowspan="" headers="">  </td><td style="background-color: #AFEBF5"><label for="pulso" class="">  PULSO :</label><div class="" class=""></td><td style="background-color: #AFEBF5">
						  <input type="text" class="" id="pulso" name="pulso" style="text-align: center;" size="10">
						</div><td colspan="" rowspan="" headers="">FC</td>
						</td>

					</div>
				</td>
				</tr>
				<tr style="background-color: #AFEBF5">
						<td colspan="" rowspan="" headers="">  </td><td style="background-color: #AFEBF5"><label for="temperatura" class="">  TEMPERATURA :</label>
					<div class=""></td><td style="background-color: #AFEBF5">
				  <input type="text" class="" id="temperatura" name="temperatura" style="text-align: center;" size="10">
					</div></td><td colspan="" rowspan="" headers="">°C</td>
					</tr>
				<tr style="background-color: #AFEBF5">


						<td colspan="" rowspan="" headers="">  </td><td style="background-color: #AFEBF5"><label for="peso" class="">PESO :</label><div class=""></td><td style="background-color: #AFEBF5">
						  <input type="text" class="" id="peso" name="peso" style="text-align: center;" size="10">
						</div></td><td colspan="" rowspan="" headers="">KG</td>

						</tr>
					<tr style="background-color: #AFEBF5">
						<td colspan="" rowspan="" headers="">  </td><td style="background-color: #AFEBF5"><label for="talla" class=""> TALLA :</label>
						<div class=""></td><td style="background-color: #AFEBF5">
						  <input type="text" class="" id="talla" name="talla" size="10">
						</div></td><td colspan="" rowspan="" headers="">CM</td>
					
					</tr>

					<tr style="background-color: #AFEBF5">
						<td colspan="" rowspan="" headers="">  </td><td colspan=""><label for="presionart" class="">PRESIÓN ARTERIAL</label>
				<div class=""></td><td>
				  <input type="text" class="" id="presionart" name="presionart" style="text-align: left;" size="10">
				</div></td><td colspan="" rowspan="" headers="">mmHg</td>
						
				</td>
					</tr>
					<tr style="background-color: #AFEBF5">
						<td colspan="" rowspan="" headers="">  </td><td colspan=""><label for="saturacion" class=""> SATURACIÒN OXIGENO</label>
				<div class=""></td><td>
				  <input type="text" class="" id="saturacion" name="saturacion" style="text-align: left;" size="10">
				</div></td><td colspan="" rowspan="" headers="">%</td>
						
				</td>
					</tr>

				
					<!-- <tr >
						<th colspan="4" onClick="desplegar('tabla_a_desplegar')"> - TIENE ACOMPAÑANTE ? <button type="button">SI</button><button type="button">NO</button></th>
					</tr>
					<table border="" id="tabla_a_desplegar" style="display: none;" class="table table-bordered"> --> 

					<!-- </table>  -->
				</tbody>
			</table>
			
			
			</div>
		  </div>
		  
		  <div class="modal-footer">

			<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
			<button type="submit" class="btn btn-primary" id="guardar_datos">Guardar datos</button>
		  </div>
		  </form>
		  <!-- <button  onclick='limpiar()' title="BUSCAR" ><span class='glyphicon glyphicon-search'></span></button> -->
		</div>
	  </div>
	</div>
	<?php
		}
	?>
<!-- <script src="js/pasajes.js"></script> -->

<html> 
<head> 
<!--<script>
     $(document).ready( function () {
      $("input").on("keypress", function () {
       $input=$(this);
       setTimeout(function () {
        $input.val($input.val().toUpperCase());
       },50);
      })
     })
 </script>-->
<script type="teXt/javascript"> 
function desplegar(tabla_a_desplegar) { 
var tablA = document.getElementById(tabla_a_desplegar); 
// var estadOt = document.getElementById(estadoT); 

switch(tablA.style.display) { 
case "none": 
tablA.style.display = "block"; 
// estadOt.innerHTML = "Ocultar coneNido" 
break; 
default: 
tablA.style.display = "none"; 
// estadOt.innerHTML = "Mostrar coNteNido" 
break; 
} 
} 
</script> 

</head> 

</html> 