else
		{
			$in_classconfig->io_sql->rollback();
		}			
	}	
?>
<p>&nbsp;</p>
<div align="center">
  <table width="601" border="0" cellpadding="0" cellspacing="0" class="formato-blanco">
      <tr>
        <td width="601" height="163" valign="top">
<form name="form1" method="post" action="">
<p>
<?php 
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
	$io_fun_banco->uf_print_permisos($ls_permisos,$la_permisos,$ls_logusr,"location.href='sigespwindow_blank.php'");
	unset($io_fun_banco);
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
?></p>
<br>
<table width="566" border="0" align="center" cellpadding="0" cellspacing="0" class="formato-blanco">
              <tr class="titulo-ventana">
                <td height="22" colspan="3">Selecci&oacute;n de Formato de Impresi&oacute;n de Carta Orden</td>
              </tr>
              <tr class="formato-blanco">
                <td width="269" height="18">&nbsp;</td>
                <td width="295" colspan="2">&nbsp;</td>
              </tr>
              
              <tr class="formato-blanco">
                <td height="22"><div align="right">Formato de Impresi&oacute;n de Carta Orden </div>
		$rb_n="";
		$rb_p="checked";
		$rb_b="";			
	}
	if($ls_tipo=='B')
	{
		$rb_n="";
		$rb_p="";
		$rb_b="checked";			
	}

?>
  <form name="form1" method="post" action="">
  <?php 
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
	$io_fun_banco->uf_print_permisos($ls_permisos,$la_permisos,$ls_logusr,"close();");
	unset($io_fun_banco);
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
  ?>
  <br>
  <table width="780" border="0" align="center" cellpadding="0" cellspacing="0" class="formato-blanco">
    <tr class="titulo-ventana">
      <td colspan="4"><?php print $ls_nombre;?>
      <input name="nombre" type="hidden" id="nombre" value="<?php print  $ls_nombre;?>">
      <input name="tip_mov" type="hidden" id="tip_mov" value="<?php print $ls_tip_mov;?>"></td>
    </tr>
    <tr>
      <td colspan="4">
	  <input name="status_doc" type="hidden" id="status_doc">&nbsp;</td>
    </tr>
    <tr>