<div id="resumo_denuncia_form1" style='<?php echo ($this->tabCssClass["resumo_denuncia_form1"]['class'] == 'scTabInactive' ? 'display: none; width: 1px; height: 0px; overflow: scroll' : ''); ?>'>
<?php $sc_hidden_no = 1; $sc_hidden_yes = 0; ?>
   <a name="bloco_0"></a>
   <table width="100%" height="100%" cellpadding="0" cellspacing=0 class="scBlockRow scBlockRowFirst"><tr valign="top"><td width="100%" height="">
<div id="div_hidden_bloco_5" class="scBlockFrame"><!-- bloco_c -->
<?php
?>
<TABLE align="center" id="hidden_bloco_5" class="scFormTable scFormDataOdd<?php echo $this->classes_100perc_fields['table'] ?>" width="100%" style="height: 100%;"><?php $sStyleHidden_anexo_ouvd_doc1_1000_dumb = ('' == $sStyleHidden_anexo_ouvd_doc1_1000) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_anexo_ouvd_doc1_1000_dumb" style="<?php echo $sStyleHidden_anexo_ouvd_doc1_1000_dumb; ?>"></TD>
<?php $sStyleHidden_anexo_ouvd_doc2_1000_dumb = ('' == $sStyleHidden_anexo_ouvd_doc2_1000) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_anexo_ouvd_doc2_1000_dumb" style="<?php echo $sStyleHidden_anexo_ouvd_doc2_1000_dumb; ?>"></TD>
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


   <?php
    if (!isset($this->nm_new_label['andamento']))
    {
        $this->nm_new_label['andamento'] = "";
    }
?>
<?php
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $andamento = $this->andamento;
   $sStyleHidden_andamento = '';
   if (isset($this->nmgp_cmp_hidden['andamento']) && $this->nmgp_cmp_hidden['andamento'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['andamento']);
       $sStyleHidden_andamento = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_andamento = 'display: none;';
   $sStyleReadInp_andamento = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['andamento']) && $this->nmgp_cmp_readonly['andamento'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['andamento']);
       $sStyleReadLab_andamento = '';
       $sStyleReadInp_andamento = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['andamento']) && $this->nmgp_cmp_hidden['andamento'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="andamento" value="<?php echo $this->form_encode_input($andamento) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_andamento_line" id="hidden_field_data_andamento" style="<?php echo $sStyleHidden_andamento; ?>vertical-align: top;"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td width="100%" class="scFormDataFontOdd css_andamento_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat scFormLabelAboveOddFormat css_andamento_label" style=""><span id="id_label_andamento"><?php echo $this->nm_new_label['andamento']; ?></span></span><br>
<?php
 if (isset($_SESSION['scriptcase']['dashboard_scinit'][ $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['dashboard_info']['dashboard_app'] ][ $this->Ini->sc_lig_target['C_@scinf_andamento'] ]) && '' != $_SESSION['scriptcase']['dashboard_scinit'][ $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['dashboard_info']['dashboard_app'] ][ $this->Ini->sc_lig_target['C_@scinf_andamento'] ]) {
     $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['grid_DEN_2000_andamento_script_case_init'] = $_SESSION['scriptcase']['dashboard_scinit'][ $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['dashboard_info']['dashboard_app'] ][ $this->Ini->sc_lig_target['C_@scinf_andamento'] ];
 }
 else {
     $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['grid_DEN_2000_andamento_script_case_init'] = $this->Ini->sc_page;
 }
 $_SESSION['sc_session'][ $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['grid_DEN_2000_andamento_script_case_init'] ]['grid_DEN_2000_andamento']['embutida_form_full']  = true;
 $_SESSION['sc_session'][ $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['grid_DEN_2000_andamento_script_case_init'] ]['grid_DEN_2000_andamento']['embutida_form']       = true;
 $_SESSION['sc_session'][ $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['grid_DEN_2000_andamento_script_case_init'] ]['grid_DEN_2000_andamento']['embutida_pai']        = "resumo_denuncia";
 $_SESSION['sc_session'][ $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['grid_DEN_2000_andamento_script_case_init'] ]['grid_DEN_2000_andamento']['embutida_form_parms'] = "chave_den*scin" . $this->nmgp_dados_form['id_registro_1000'] . "*scoutSC_glo_par_usr_controlador*scinusr_controlador*scoutparam_id_den*scin" . $this->nmgp_dados_form['id_registro_1000'] . "*scoutNMSC_inicial*scininicio*scoutNMSC_cab*scinN*scoutlink_remove_margin*scinno*scoutlink_remove_border*scinno*scoutlink_remove_background*scinno*scout";
 if (isset($this->Ini->sc_lig_md5["grid_DEN_2000_andamento"]) && $this->Ini->sc_lig_md5["grid_DEN_2000_andamento"] == "S") {
     $Parms_Lig  = "chave_den*scin" . $this->nmgp_dados_form['id_registro_1000'] . "*scoutSC_glo_par_usr_controlador*scinusr_controlador*scoutparam_id_den*scin" . $this->nmgp_dados_form['id_registro_1000'] . "*scoutNMSC_inicial*scininicio*scoutNMSC_cab*scinN*scoutlink_remove_margin*scinno*scoutlink_remove_border*scinno*scoutlink_remove_background*scinno*scout";
     $Md5_Lig    = "@SC_par@" . $this->form_encode_input($this->Ini->sc_page) . "@SC_par@resumo_denuncia@SC_par@" . md5($Parms_Lig);
     $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['Lig_Md5'][md5($Parms_Lig)] = $Parms_Lig;
 } else {
     $Md5_Lig  = "chave_den*scin" . $this->nmgp_dados_form['id_registro_1000'] . "*scoutSC_glo_par_usr_controlador*scinusr_controlador*scoutparam_id_den*scin" . $this->nmgp_dados_form['id_registro_1000'] . "*scoutNMSC_inicial*scininicio*scoutNMSC_cab*scinN*scoutlink_remove_margin*scinno*scoutlink_remove_border*scinno*scoutlink_remove_background*scinno*scout";
 }
 $parms_lig_cons = "&nmgp_parms=" . $Md5_Lig;
 $sDetailSrc = ('novo' == $this->nmgp_opcao) ? 'resumo_denuncia_empty.htm' : $this->Ini->link_grid_DEN_2000_andamento_cons . '?script_case_init=' . $this->form_encode_input($this->Ini->sc_page) . '&script_case_detail=Y&sc_ifr_height=500' . $parms_lig_cons;
if (isset($this->Ini->sc_lig_target['C_@scinf_andamento']) && 'nmsc_iframe_liga_grid_DEN_2000_andamento' != $this->Ini->sc_lig_target['C_@scinf_andamento'])
{
    if ('novo' != $this->nmgp_opcao)
    {
        $sDetailSrc .= '&under_dashboard=1&dashboard_app=' . $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['dashboard_info']['dashboard_app'] . '&own_widget=' . $this->Ini->sc_lig_target['C_@scinf_andamento'] . '&parent_widget=' . $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['dashboard_info']['own_widget'];
        $sDetailSrc  = $this->addUrlParam($sDetailSrc, 'script_case_init', $_SESSION['sc_session'][$this->Ini->sc_page]['resumo_denuncia']['grid_DEN_2000_andamento_script_case_init']);
    }
?>
<script type="text/javascript">
$(function() {
    scOpenMasterDetail("<?php echo $this->Ini->sc_lig_target['C_@scinf_andamento'] ?>", "<?php echo $sDetailSrc; ?>");
});
</script>
<?php
}
else
{
?>
<iframe border="0" id="nmsc_iframe_liga_grid_DEN_2000_andamento"  marginWidth="0" marginHeight="0" frameborder="0" valign="top" height="500" width="100%" name="nmsc_iframe_liga_grid_DEN_2000_andamento"  scrolling="auto" src="<?php echo $sDetailSrc; ?>"></iframe>
<?php
}
?>
</td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_andamento_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_andamento_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>


    <TD class="scFormDataOdd" colspan="1" >&nbsp;</TD>





<?php if ($sc_hidden_yes > 0) { ?>


    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >&nbsp;</TD>





<?php } ?>
   </tr>
</TABLE></div><!-- bloco_f -->
   </td></tr></table>
   </div>
