<div id="beam_warppo_beam_form_form2" style='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"><tr valign="top"><td width="100%" height="">
<div id="div_hidden_bloco_4"><!-- bloco_c -->
<?php
?>
<TABLE align="center" id="hidden_bloco_4" class="scFormTable" width="100%" style="height: 100%;"><?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['order_amt']))
           {
               $this->nmgp_cmp_readonly['order_amt'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['mdvalue']))
           {
               $this->nmgp_cmp_readonly['mdvalue'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['lbs_recd']))
           {
               $this->nmgp_cmp_readonly['lbs_recd'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['lbs_open']))
           {
               $this->nmgp_cmp_readonly['lbs_open'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['lbs_knit']))
           {
               $this->nmgp_cmp_readonly['lbs_knit'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['lbs_sold']))
           {
               $this->nmgp_cmp_readonly['lbs_sold'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['inventory']))
           {
               $this->nmgp_cmp_readonly['inventory'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['lbs_allocd']))
           {
               $this->nmgp_cmp_readonly['lbs_allocd'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['lbs_avail']))
           {
               $this->nmgp_cmp_readonly['lbs_avail'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['cost_lb_y']))
           {
               $this->nmgp_cmp_readonly['cost_lb_y'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['cost_lb_w']))
           {
               $this->nmgp_cmp_readonly['cost_lb_w'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['cost_lb_t']))
           {
               $this->nmgp_cmp_readonly['cost_lb_t'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['tv']))
           {
               $this->nmgp_cmp_readonly['tv'] = 'on';
           }
?>
   <tr>


    <TD colspan="1" height="20" class="scFormBlock">
     <TABLE style="padding: 0px; spacing: 0px; border-width: 0px;" width="100%" height="100%">
      <TR>
       <TD align="" valign="" class="scFormBlockFont"><?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "<table style=\"border-collapse: collapse; height: 100%; width: 100%\"><tr><td style=\"vertical-align: middle; border-width: 0px; padding: 0px 2px 0px 0px\"><img src=\"" . $this->Ini->path_icones . "/" . $this->Ini->Block_img_col . "\" style=\"border: 0px; float: left\" class=\"sc-ui-block-control\"></td><td style=\"border-width: 0px; padding: 0px; width: 100%\" class=\"scFormBlockAlign\">"; } ?>Top Useage<?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "</td></tr></table>"; } ?></TD>
       
      </TR>
     </TABLE>
    </TD>





   </tr>
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


   <?php
    if (!isset($this->nm_new_label['topuse']))
    {
        $this->nm_new_label['topuse'] = "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $topuse = $this->topuse;
   $sStyleHidden_topuse = '';
   if (isset($this->nmgp_cmp_hidden['topuse']) && $this->nmgp_cmp_hidden['topuse'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['topuse']);
       $sStyleHidden_topuse = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_topuse = 'display: none;';
   $sStyleReadInp_topuse = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['topuse']) && $this->nmgp_cmp_readonly['topuse'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['topuse']);
       $sStyleReadLab_topuse = '';
       $sStyleReadInp_topuse = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['topuse']) && $this->nmgp_cmp_hidden['topuse'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="topuse" value="<?php echo NM_encode_input($topuse) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_topuse" style="<?php echo $sStyleHidden_topuse; ?>vertical-align: top;;"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td width="100%" class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php
 $_SESSION['sc_session'][$this->Ini->sc_page]['beam_TopUse_grid']['embutida_form']       = true;
 $_SESSION['sc_session'][$this->Ini->sc_page]['beam_TopUse_grid']['embutida_form_parms'] = "var_warppo?#?" . $this->nmgp_dados_form['p_o_number'] . "?@?NMSC_inicial?#?inicio?@?NMSC_cab?#?N?@?";
 $parms_lig_cons = "&nmgp_parms=var_warppo*scin" . $this->nmgp_dados_form['p_o_number'] . "*scoutNMSC_inicial*scininicio*scoutNMSC_cab*scinN*scout";
 $sDetailSrc = ('novo' == $this->nmgp_opcao) ? 'beam_warppo_beam_form_empty.htm' : $this->Ini->link_beam_TopUse_grid_cons . '?script_case_init=' . NM_encode_input($this->Ini->sc_page) . '&script_case_session=' . session_id() . '&script_case_detail=Y' . $parms_lig_cons;
?>
<iframe border="0" id="nmsc_iframe_liga_beam_TopUse_grid"  marginWidth="0" marginHeight="0" frameborder="0" valign="top" height="100" width="100%" name="nmsc_iframe_liga_beam_TopUse_grid"  scrolling="auto" src="<?php echo $sDetailSrc; ?>"></iframe>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_topuse_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_topuse_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






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


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





<?php } 
?> 






   </tr>
<?php $sc_hidden_no = 1; ?>
</TABLE></div><!-- bloco_f -->
   </td>
   </tr></table>
   <a name="bloco_5"></a>
   <table width="100%" height="100%" cellpadding="0"><tr valign="top"><td width="100%" height="">
<div id="div_hidden_bloco_5"><!-- bloco_c -->
<TABLE align="center" id="hidden_bloco_5" class="scFormTable" width="100%" style="height: 100%;">   <tr>


    <TD colspan="1" height="20" class="scFormBlock">
     <TABLE style="padding: 0px; spacing: 0px; border-width: 0px;" width="100%" height="100%">
      <TR>
       <TD align="" valign="" class="scFormBlockFont"><?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "<table style=\"border-collapse: collapse; height: 100%; width: 100%\"><tr><td style=\"vertical-align: middle; border-width: 0px; padding: 0px 2px 0px 0px\"><img src=\"" . $this->Ini->path_icones . "/" . $this->Ini->Block_img_col . "\" style=\"border: 0px; float: left\" class=\"sc-ui-block-control\"></td><td style=\"border-width: 0px; padding: 0px; width: 100%\" class=\"scFormBlockAlign\">"; } ?>Bottom Useage<?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "</td></tr></table>"; } ?></TD>
       
      </TR>
     </TABLE>
    </TD>





   </tr>
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


   <?php
    if (!isset($this->nm_new_label['botuse']))
    {
        $this->nm_new_label['botuse'] = "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $botuse = $this->botuse;
   $sStyleHidden_botuse = '';
   if (isset($this->nmgp_cmp_hidden['botuse']) && $this->nmgp_cmp_hidden['botuse'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['botuse']);
       $sStyleHidden_botuse = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_botuse = 'display: none;';
   $sStyleReadInp_botuse = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['botuse']) && $this->nmgp_cmp_readonly['botuse'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['botuse']);
       $sStyleReadLab_botuse = '';
       $sStyleReadInp_botuse = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['botuse']) && $this->nmgp_cmp_hidden['botuse'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="botuse" value="<?php echo NM_encode_input($botuse) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_botuse" style="<?php echo $sStyleHidden_botuse; ?>vertical-align: top;;"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td width="100%" class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php
 $_SESSION['sc_session'][$this->Ini->sc_page]['beam_BotUse_grid']['embutida_form']       = true;
 $_SESSION['sc_session'][$this->Ini->sc_page]['beam_BotUse_grid']['embutida_form_parms'] = "var_warppo?#?" . $this->nmgp_dados_form['p_o_number'] . "?@?";
 $parms_lig_cons = "&nmgp_parms=var_warppo*scin" . $this->nmgp_dados_form['p_o_number'] . "*scout";
 $sDetailSrc = ('novo' == $this->nmgp_opcao) ? 'beam_warppo_beam_form_empty.htm' : $this->Ini->link_beam_BotUse_grid_cons . '?script_case_init=' . NM_encode_input($this->Ini->sc_page) . '&script_case_session=' . session_id() . '&script_case_detail=Y' . $parms_lig_cons;
?>
<iframe border="0" id="nmsc_iframe_liga_beam_BotUse_grid"  marginWidth="0" marginHeight="0" frameborder="0" valign="top" height="100" width="100%" name="nmsc_iframe_liga_beam_BotUse_grid"  scrolling="auto" src="<?php echo $sDetailSrc; ?>"></iframe>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_botuse_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_botuse_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






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


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





<?php } 
?> 
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['tcost']))
           {
               $this->nmgp_cmp_readonly['tcost'] = 'on';
           }
?>






   </td></tr></table>
   </tr>
</TABLE></div><!-- bloco_f -->
   </div>
