<From>
<table border="0" height="40%" width="60%" align="center">
<script language="JavaScript">
var x=0;
function cambi(z){ if(z==1){
document.diagnosticos.observacion[x].disabled = false
x++;}
else{
document.diagnosticos.observacion[x-1].value = null
document.diagnosticos.Descripcion[x-1].value = null
document.diagnosticos.cie10[x-1].value = null
document.diagnosticos.observacion[x-1].disabled = true
x--;}
//alert(x);
}
</SCRIPT>
<td width="60%" valign="top"> <blockquote>
<fieldset>
<legend style='font-weight: Blue; color: #306396; border: 2'><b>Diagnostico</b></legend>
<table width="568" height="182" align="center">
<tr>
<th align="center" bordercolor="#306396" colspan="2"> <font color="#006B9F">Fecha
de diagnostico</font> <META http-equiv=Content-Type content="text/html; charset=windows-1252">
<!-Hoja de estilos del calendario -->
<LINK
title=win2k-cold-1 media=all
href="Calendario de pruebas_files/calendar-green.css" type=text/css
rel=stylesheet> <INPUT name="date" id=campo_fecha size="10" maxlength="10" width="5" align="middle" value="<?php echo date("d/m/Y");?>">
<INPUT id=lanzador align="middle" type=button value=...>
<!-- script que define y configura el calendario-->
<script type=text/javascript>
Calendar.setup({
inputField : "campo_fecha", // id del campo de texto
ifFormat : "%d/%m/%Y", // formato de la fecha, cuando se escriba en el campo de texto
button : "lanzador" // el id del botón que lanzará el calendario
});
</SCRIPT> </th>
</tr>
<tr>
<td width="7%" align="center" valign="top"> <br> <br> <script language="JavaScript">
function catalogocie (URL){
window.open(URL+ x,"CatalogoCie","width=950,height=700,top=20,left=40,scrollbars=NO,titlebar=NO,menubar=NO,toolbar=NO,directories=NO,location=NO,status=NO,resizable=NO")
}
</SCRIPT> <img src="listado.jpg" alt="Buscar Enfermedad" width="45%" onMouseOver="this.style.width='50%';" onMouseOut="this.style.width='45%';" onClick="catalogocie('http://localhost/sistemaclinica/catalogocie10.php?dir=')">
<br> <img src="mas.jpg" alt="Adicionar Enfermedad" width="45%" onMouseOver="this.style.width='50%';" onMouseOut="this.style.width='45%';" onClick="cambi(1)">
<br> <img src="menos.jpg" alt="Eliminar Enfermedad" width="45%" onMouseOver="this.style.width='50%';" onMouseOut="this.style.width='45%';" onClick="cambi(2)">
<br> </td>
<td align="left" valign="top"> <table width="100%" border="1">
<tr>
<td width="45%"><div style='font-weight: Blue; color: #306396;' align="center"><strong>Decripcion</strong></div></td>
<td width="40%"><div style='font-weight: Blue; color: #306396;' align="center"><strong>Observacion</strong></div></td>
<td width="15%"><div style='font-weight: Blue; color: #306396;' align="center"><strong>CIE
10</strong></div></td>
</tr>
<tr>
<td><input name="Descripcion" type="text" style="width:215px;" readonly></td>
<td><input name="observacion" type="text" size="30" maxlength="200" disabled></td>
<td><input name="cie10" type="text" size="7" maxlength="200" readonly></td>
</tr>
<tr>
<td><input name="Descripcion" type="text" style="width:215px;" readonly></td>
<td><input name="observacion" type="text" size="30" maxlength="200" disabled></td>
<td><input name="cie10" type="text" size="7" maxlength="200" readonly></td>
</tr>
<tr>
<td><input name="Descripcion" type="text" style="width:215px;" readonly></td>
<td><input name="observacion" type="text" size="30" maxlength="200" disabled></td>
<td><input name="cie10" type="text" size="7" maxlength="200" readonly></td>
</tr>
<tr>
<td><input name="Descripcion" type="text" style="width:215px;" readonly></td>
<td><input name="observacion" type="text" size="30" maxlength="200" disabled></td>
<td><input name="cie10" type="text" size="7" maxlength="200" readonly></td>
</tr>
</table></td>
</tr>
</table>
</fieldset></td>
</table>