function Inicializar()
 {
     $retorno = 'Novo';
     @session_start();
     $this->pessoa_logada = $_SESSION['id_pessoa'];
     @session_write_close();
     $this->cod_servidor = $_GET['ref_cod_servidor'];
     $this->ref_cod_instituicao = $_GET['ref_cod_instituicao'];
     $obj_permissoes = new clsPermissoes();
     $obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 7, 'educar_servidor_lst.php');
     if (is_numeric($this->cod_servidor) && is_numeric($this->ref_cod_instituicao)) {
         $obj = new clsPmieducarServidor($this->cod_servidor, NULL, NULL, NULL, NULL, NULL, NULL, $this->ref_cod_instituicao);
         $registro = $obj->detalhe();
         if ($registro) {
             $this->ref_cod_subnivel = $registro['ref_cod_subnivel'];
             $obj_subnivel = new clsPmieducarSubnivel($this->ref_cod_subnivel);
             $det_subnivel = $obj_subnivel->detalhe();
             if ($det_subnivel) {
                 $this->ref_cod_nivel = $det_subnivel['ref_cod_nivel'];
             }
             if ($this->ref_cod_nivel) {
                 $obj_nivel = new clsPmieducarNivel($this->ref_cod_nivel);
                 $det_nivel = $obj_nivel->detalhe();
                 $this->ref_cod_categoria = $det_nivel['ref_cod_categoria_nivel'];
             }
             $retorno = 'Editar';
         }
     } else {
         echo sprintf('<script>window.parent.fechaExpansivel("%s");</script>', $_GET['div']);
         die;
     }
     return $retorno;
 }