<br><center> <br><br>
    <table BORDER='1' cellpadding="4" cellspacing="7">
        
         <tr>
            <td><br>
           <h2>DESERCIONES</h2> <br>
            </td>
        <tr>
 
        <tr>
            <td>
            <b>C&Oacute;DIGO</b>
            <input style='border-radius: 5px;font-weight:bold;text-align:center;' onblur="comprobar_codigo()"  type='text' id='codigo' size='2'>
            <input style='border-radius: 5px;font-weight:bold;text-align:center;' type='text' id='nombres' size='60' readonly="readonly">

            <b>ESTADO</b>
            <input style='border-radius: 5px;font-weight:bold;text-align:center;' type='text' id='estado' size='10' readonly="readonly">
            </td>
        <tr>
            <td>
            <b>DESERCI&Oacute;N</b>
            <input style='border-radius: 5px;font-weight:bold;text-align:center;' onclick="mostrar('d_id1','d_id2','desercion','350','300')" type='text' id='d_id1' size='2'>
            <input style='border-radius: 5px;font-weight:bold;text-align:center;' type='text' id='d_id2' size='40' readonly="readonly">
        
            <b>FECHA DESERCI&Oacute;N</b>
            <input type="text" style='border-radius: 5px;font-weight:bold;text-align:center;' id="fchadeser"  maxlength="10" value="06/06/2013"/>
                
                <script>

                var mydate=new Date();
                var year=mydate.getYear();
                if (year < 1000)
                year+=1900;
                var day=mydate.getDay();
                var month=mydate.getMonth()+1;
                if (month<10)
                month="0"+month;
                var daym=mydate.getDate();
                if (daym<10)
                daym="0"+daym;
                document.getElementById("fchadeser").value=daym+"/"+month+"/"+year;

                </script>
            </td>
        </tr>

        <tr>
            <td colspan="4">
                <b>OBSERVACIONES</b> &nbsp;
           
                
                <textarea style='border-radius: 5px;font-weight:bold;text-align:center;' id="obser" cols="80">

                </textarea>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="4"><br> <br>
                <input type="button" value="Grabar" class="button small green" onclick="guardar_desercion()">
                <input type="button" value="Reporte" class="button small green" onclick="reporte()">
                <input type="button" value="Limpiar" class="button small green" onclick="limpiardesercion()">
                <input type="button" value="Retornar" class="button small green" onclick="retornar_menu()">
            <br><br>
            </td>
        </tr>
    </table>
</center>


<div id='dialog' style='background-color:#003366; ' title='SELECCIONE ITEM' style="display:none;"></div>

