include "classes/db_proctransfer_classe.php";
include "classes/db_proctransferproc_classe.php";
include "classes/db_proctransand_classe.php";
include "classes/db_proctransferintand_classe.php";
include "classes/db_proctransferint_classe.php";
include "classes/db_procandamint_classe.php";
include "classes/db_procandamintand_classe.php";
include "classes/db_arqproc_classe.php";
include "classes/db_arqandam_classe.php";
include "dbforms/db_funcoes.php";
db_postmemory($HTTP_SERVER_VARS);
db_postmemory($HTTP_POST_VARS);
$clprotprocesso = new cl_protprocesso();
$clprocandam = new cl_procandam();
$clproctransfer = new cl_proctransfer();
$clproctransferproc = new cl_proctransferproc();
$clproctransand = new cl_proctransand();
$clproctransferintand = new cl_proctransferintand();
$clproctransferint = new cl_proctransferint();
$clprocandamint = new cl_procandamint();
$clprocandamintand = new cl_procandamintand();
$clarqproc = new cl_arqproc();
$clarqandam = new cl_arqandam();
$cod_procandamint = 0;
$arquiv = false;
$arqant = false;
// seleciona o nome da instituição pelo código do processo e coloca o resultado na váriavel $nomeinstabrev
$sql = "select nomeinstabrev from db_config where codigo = ";
$sql .= " (select p58_instit from protprocesso where p58_codproc = {$codproc})";
$sRetorno = pg_query($sql);
$rsResultado = pg_fetch_assoc($sRetorno);
 *  detalhes.                                                         
 *                                                                    
 *  Voce deve ter recebido uma copia da Licenca Publica Geral GNU     
 *  junto com este programa; se nao, escreva para a Free Software     
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA          
 *  02111-1307, USA.                                                  
 *  
 *  Copia da licenca no diretorio licenca/licenca_en.txt 
 *                                licenca/licenca_pt.txt 
 */
require_once "libs/db_stdlib.php";
require_once "libs/db_sql.php";
require_once "libs/db_utils.php";
require_once "classes/db_proctransferproc_classe.php";
$oGet = db_utils::postMemory($_GET);
$clProcTransferProc = new cl_proctransferproc();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<link rel="stylesheet" type="text/css" href="include/estilodai.css" >
	<script language="JavaScript" src="scripts/db_script.js"></script>
	<script language="JavaScript" src="scripts/prototype.js"></script>
	<style type="text/css">
    <?php 
db_estilosite();
?>
  	
	</style>
</head>
<body bgcolor="<?php