uf_limpiarvariables();
    $ls_rbtipocat = $io_saf->uf_select_valor_config($ls_codemp);
    switch ($ls_rbtipocat) {
        case '0':
            uf_limpiarvariables();
            break;
        case '1':
            $ls_rbcsc = "checked";
            $ls_disabled = "disabled";
            break;
        case '2':
            $ls_rbcgr = "checked";
            $ls_disabled = "disabled";
            break;
    }
    $io_saf->uf_load_config("SAF", "DEPRECIACION", "AFECTACION_DEPRECIACION", $ls_tipafedep);
    switch ($ls_tipafedep) {
        case 'P':
            $ls_rbdeppre = "checked";
            $ls_distipafe = "disabled";
            $ls_rbdepcon = "";
            break;
        case 'C':
            $ls_rbdeppre = "";
            $ls_rbdepcon = "checked";
            $ls_distipafe = "disabled";
            break;
    }
}
if ($ls_operacion == "NUEVO") {
    uf_limpiarvariables();
  <tr class="formato-blanco">
    <td height="18" style="text-align:right">Valor de Rescate</td>
    <td width="371" height="22"><input name="txtvalres" type="text" id="txtvalres" value="<?php 
print $ls_valres;
?>
" size="20" style="text-align:right " onKeyPress="return(ue_formatonumero(this,'.',',',event));"></td>
    <td width="82">&nbsp;</td>
  </tr>
  <tr class="formato-blanco">
    <td height="13" colspan="3" style="text-align:center"><strong>Cuentas para registrar la depreciacion del activo </strong></td>
  </tr>
  <tr class="formato-blanco">
    <td height="28" colspan="3"><div align="center">
      <table width="578" border="0" cellpadding="0" cellspacing="0" class="formato-blanco">
        <?php 
$io_saf->uf_load_config("SAF", "DEPRECIACION", "AFECTACION_DEPRECIACION", $ls_tipafedep);
//Tipo de Afectacion de la Depreciación.
if (empty($ls_tipafedep) || $ls_tipafedep == 'P') {
    ?>
		<tr>
          <td align="right"><?php 
    print $ls_nomestpro1;
    ?>
</td>
          <td height="22"><div align="left">
            <input name="txtcodestpro1" type="text" id="txtcodestpro1" style="text-align:center" value="<?php 
    print $ls_codestpro1;
    ?>
" size="<?php 
    print $li_len1 + 10;
    ?>