$strTabMetas .= '</table>';
        //AÇÕES
        $arrDados = DaoPrazoDemanda::listarAcoesPpa($idPrazo);
        $strTabAcoes = '<table class="display" id="tblAcoes"><thead><tr>
							<th class="' . $strClasseTh . '">Programa</th>
							<th class="' . $strClasseTh . '" style="width: 40%;">A&ccedil;&atilde;o</th>
							<th class="' . $strClasseTh . '" style="width: 10%;">Exerc&iacute;cio</th>
							<th class="' . $strClasseTh . '" style="width: 10%;">Op&ccedil;&otilde;es</th>
						</tr></thead>';
        $numTam = count($arrDados);
        $tr = '<tr class="even">';
        if ($arrDados && $numTam > 0) {
            for ($i = 0; $i < $numTam; $i++) {
                $tr = $tr == '<tr class="odd">' ? '<tr class="even">' : '<tr class="odd">';
                $strTabAcoes .= $tr . '<td class="tdLeft tdMetaPPA">' . quebrarTexto($arrDados[$i]['PROGRAMA'], 60) . '</td>';
                $strTabAcoes .= '<td class="tdLeft">' . quebrarTexto($arrDados[$i]['ACAO'], 60) . '</td>';
                $strTabAcoes .= '<td>' . $arrDados[$i]['EXERCICIO'] . '</td>';
                $strTabAcoes .= '<td>';
                if (!$leitura) {
                    $strTabAcoes .= '<img onclick="excluirVinculoPPA(\'acao\', ' . $arrDados[$i]['ID'] . ');" src="imagens/fam/delete.png" class="imgBotao16" title="Excluir Vínculo PPA" />';
                }
                $strTabAcoes .= '<img onclick="detalharAcao(' . $arrDados[$i]['ID'] . ');" src="imagens/fam/magnifier.png" class="imgBotao16" title="Detalhar Vínculo PPA" /></td>';
                $strTabAcoes .= '</tr>';
            }
        }
        $strTabAcoes .= '</table>';
        echo '<div id="tabsPPA"><ul>';
        echo '<li><a href="#divTabMetas">Objetivos / Metas</a></li>';
        echo '<li><a href="#divTabAcoes">A&ccedil;&otilde;es</a></li>';
        echo '</ul>';
        echo '<div id="divTabMetas">' . $strTabMetas . '</div>';
        $strCabTabela = '<table class="display" id="tblObjetivosMetas"><thead><tr>
							<th class="' . $strClasseTh . '">Programa</th>
							<th class="' . $strClasseTh . '" style="width: 22%;">Objetivo</th>
							<th class="' . $strClasseTh . '" style="width: 22%;">Meta</th>
							<th class="' . $strClasseTh . '" style="width: 10%;">Exerc&iacute;cio</th>
							<th class="' . $strClasseTh . '" style="width: 10%;">Op&ccedil;&otilde;es</th>
						</tr></thead>';
        $numTam = count($arrDados);
        $strCorpoTabela = '';
        $tr = '<tr class="even">';
        if ($arrDados && $numTam > 0) {
            for ($i = 0; $i < $numTam; $i++) {
                $tr = $tr == '<tr class="odd">' ? '<tr class="even">' : '<tr class="odd">';
                $strCorpoTabela .= $tr . '<td class="tdLeft tdMetaPPA">' . quebrarTexto($arrDados[$i]['PROGRAMA'], 60) . '</td>';
                $strCorpoTabela .= '<td class="tdLeft">' . quebrarTexto($arrDados[$i]['OBJETIVO'], 30) . '</td>';
                $strCorpoTabela .= '<td class="tdLeft">' . quebrarTexto($arrDados[$i]['META'], 30) . '</td>';
                $strCorpoTabela .= '<td>' . $arrDados[$i]['EXERCICIO'] . '</td>';
                $strCorpoTabela .= '<td>';
                if (!$leitura) {
                    $strCorpoTabela .= '<img onclick="excluirMetaPPA(' . $arrDados[$i]['ID'] . ');" src="imagens/fam/delete.png" class="imgBotao16" title="Excluir Vínculo PPA" />';
                }
                $strCorpoTabela .= '<img onclick="detalharDadosSiop(' . $arrDados[$i]['ID'] . ');" src="imagens/fam/magnifier.png" class="imgBotao16" title="Detalhar Vínculo PPA" /></td>';
                $strCorpoTabela .= '</tr>';
            }
        }
    } elseif ($lista == 'anexos') {
        $arrDados = DaoPrazoDemanda::listarArquivosAnexos($idPrazo);
        $strCabTabela = "\n\t\t\t\t<table class='display' id='tblAnexos'>\n\t\t\t\t<tr>\n                \t<th class='{$strClasseTh}' width=60%>Arquivo</th>\n\t\t\t\t\t<th class='{$strClasseTh}' width=30%>Usuario</th>\n\t\t\t\t\t<th class='{$strClasseTh}' width=30%>Data</th>\n\t\t\t\t\t<th class='{$strClasseTh}' width=10%>Excluir</th>\n\t\t\t\t</tr>\n\t\t";
        $numTam = count($arrDados);
        $classTr = 'even';
        $strCorpoTabela = $tr;