<?
	include("stilos/config.inc.php");
	include("clases/BDConexion.php");
	include("clases/clsclinico.php");
	include("Funciones.php");
	$objclinico=new clsclinico;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stilos/Estilos.css" rel="stylesheet" type="text/css">
<SCRIPT language=JavaScript src="js/calendario.js"></SCRIPT>
<script language="JavaScript" type="text/JavaScript">
function MensajeEditar(m){
if (m==1){document.form1.datos.focus(); window.alert("Se Actualizo el la Medicina Satisfactoriamente");
		  }
}
function volver(form){
  location.reload('fondo.php');
  
  					}
</script>
<style type="text/css">
<!--
.Estilo3 {color: #FFFFFF}
.Estilo4 {color: #000000; font-size: 10px; }
.Estilo5 {font-size: 12px}
-->
</style>
</head>



<body onLoad='document.form1.datos.focus();' background='imagenes/fondo.jpg'> 
    
<form name="form1" method="post" action="um_traslado_med_report_print_dir.php">
  <table width="727" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>&nbsp;</td>
      <td valign="bottom">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td width="25"><img src="estilo_tabla/parte_sup_izq.gif" width="25" height="25"></td>
      <td width="677" background="estilo_tabla/parte_sup_cen.gif" valign="bottom">
        <div align="left" class="lblTitulo" ><span class="lblSubTitulo Estilo3">Buscar Medicina:</span></div></td>
      <td width="25"><img src="estilo_tabla/parte_sup_der.gif" width="25" height="25" border="0" usemap="#MapMapMap"></td>
    </tr>
    <tr>
      <td width="25" background="estilo_tabla/parte_med_izq.gif">&nbsp;</td>
      <td width="677" height="86" background="estilo_tabla/parte_med_cen.gif"><div align="center">
          <table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td colspan="4">&nbsp;</td>
              <td width="388"><div align="right"></div></td>
            </tr>
            <tr bgcolor="#2F8523">
              <td class="lblCampo">&nbsp;</td>
              <td bgcolor="#2F8523">&nbsp;</td>
              <td colspan="3">&nbsp;</td>
            </tr>
            <tr bgcolor="#2F8523">
              <td width="4" class="lblCampo">&nbsp;</td>
              <td width="206" bgcolor="#2F8523">
                <div align="left"> <span class="Estilo5"> <span class="lblParrafo  Estilo3">Buscar</span></span><br>
              </div></td>
              <td colspan="3">
                <div align="left">
                  <select name="sel" id="select2">
                    <option value="0">Todos</option>
                    <option value="medicina">Medicina</option>
                    <option value="cod_med">Codigo</option>
                  </select>
                  <input name="datos" type="text" class="lblForm" value="<? echo $datos;?>" size="50">
                  <span class="rdoBanners Estilo4">
                  <input name="Submit" type="submit" style="<?=$stylo['st2']?>" class="botira" value=".:Buscar:.">
              </span> </div></td>
            </tr>
            <tr bgcolor="#2F8523">
              <td class="lblCampo">&nbsp;</td>
              <td bgcolor="#2F8523"><div align="left"><span class="lblParrafo  Estilo3">Fecha</span></div></td>
              <td colspan="3"><div align="left">
                <input name="fecha1" type="text" class="lblForm" id="fecha1" value="<? if(!isset($fecha1)){echo date("d-m-Y");}else{echo $fecha1;}?>" size="13" readonly>
			  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha1');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a>
              <span class="Estilo3">
              <input name="fecha2" type="text" class="lblForm" id="fecha_med2" value="<? if(!isset($fecha2)){echo date("d-m-Y");}else{echo $fecha2;}?>" size="13" readonly>
			  <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha2');"><img src="imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"></a>
              </span> </div></td>
            </tr>
            <tr bgcolor="#2F8523">
              <td class="lblCampo">&nbsp;</td>
              <td bgcolor="#2F8523"><div align="left"> </div></td>
              <td colspan="3"><div align="left" class="rdoBanners Estilo4">
                  <?php //if(isset($locacion)){$val=$locacion;}; echo $objclinico->CombolugarMed('lugar',$val)?>
              </div></td>
            </tr>
            <tr>
              <td height="20" colspan="5"><hr size="0"></td>
            </tr>
            <tr>
              <td height="19" colspan="5"><div align="center"></div>
                  <div align="center">
                    <table width="332" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="156"><div align="center">
                          <input type="submit" name="Submit2" value="Mostrar Consulta" style="<?=$stylo['st2']?>" class="botira" >
                        </div></td>
                        <td width="144"><div align="center">
                          <input name="salir" type="button" style="<?=$stylo['st2']?>" class="botira" id="salir2" value=".:   Salir  :." onClick="volver(this.form);">
                        </div></td>
                      </tr>
                    </table>
                  </div>
                  <div align="center"></div>
                  <div align="center"></div>
                  <div align="center"></div></td>
            </tr>
          </table>
      </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>
  <map name="MapMapMap">
    <area shape="circle" coords="11,10,9" href="fondo.php">
  </map>
</form>
<map name="MapMap">
  <area shape="circle" coords="11,10,9" href="fondo.php">
</map>
</html>
