<div id="greige_grstyle2_form_form3" 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_3"><!-- bloco_c -->
<?php
?>
<TABLE align="center" id="hidden_bloco_3" class="scFormTable" width="100%" style="height: 100%;"><?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['date']))
           {
               $this->nmgp_cmp_readonly['date'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['lbs_rack']))
           {
               $this->nmgp_cmp_readonly['lbs_rack'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['racks_lb']))
           {
               $this->nmgp_cmp_readonly['racks_lb'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['bot_weight']))
           {
               $this->nmgp_cmp_readonly['bot_weight'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['bot_percen']))
           {
               $this->nmgp_cmp_readonly['bot_percen'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['top_weight']))
           {
               $this->nmgp_cmp_readonly['top_weight'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['top_percen']))
           {
               $this->nmgp_cmp_readonly['top_percen'] = 'on';
           }
?>
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_l3d" style="<?php echo $sStyleHidden_l3d; ?>;"><span id="id_label_l3d"><?php echo $this->nm_new_label['l3d']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3d']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3d'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_l3d" style="<?php echo $sStyleHidden_l3d; ?>;"><table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["l3d"]) &&  $this->nmgp_cmp_readonly["l3d"] == "on") { 

 ?>
<input type=hidden name="l3d" value="<?php echo NM_encode_input($l3d) . "\">" . $l3d . ""; ?>
<?php } else { ?>
<span id="id_read_on_l3d" class="sc-ui-readonly-l3d" style=";<?php echo $sStyleReadLab_l3d; ?>"><?php echo NM_encode_input($this->l3d); ?></span><span id="id_read_off_l3d" style="white-space: nowrap;<?php echo $sStyleReadInp_l3d; ?>">
 <input class="sc-js-input scFormObjectOdd" style="text-align:left;" id="id_sc_field_l3d" type=text name="l3d" value="<?php echo NM_encode_input($l3d) ?>"
 size=6 alt="{datatype: 'integer', maxLength: 6, thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['l3d']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['l3d']['symbol_fmt']; ?>, allowNegative: false, onlyNegative: false, alignment: 'left', enterTab: true, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"></span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_l3d_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_l3d_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


   <?php
    if (!isset($this->nm_new_label['l3_yarn']))
    {
        $this->nm_new_label['l3_yarn'] = "L3 YARN";
    }
?>
<?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);
   $l3_yarn = $this->l3_yarn;
   $sStyleHidden_l3_yarn = '';
   if (isset($this->nmgp_cmp_hidden['l3_yarn']) && $this->nmgp_cmp_hidden['l3_yarn'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['l3_yarn']);
       $sStyleHidden_l3_yarn = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_l3_yarn = 'display: none;';
   $sStyleReadInp_l3_yarn = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['l3_yarn']) && $this->nmgp_cmp_readonly['l3_yarn'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['l3_yarn']);
       $sStyleReadLab_l3_yarn = '';
       $sStyleReadInp_l3_yarn = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['l3_yarn']) && $this->nmgp_cmp_hidden['l3_yarn'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="l3_yarn" value="<?php echo NM_encode_input($l3_yarn) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_l3_yarn" style="<?php echo $sStyleHidden_l3_yarn; ?>;"><span id="id_label_l3_yarn"><?php echo $this->nm_new_label['l3_yarn']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_yarn']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_yarn'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_l3_yarn" style="<?php echo $sStyleHidden_l3_yarn; ?>;"><table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["l3_yarn"]) &&  $this->nmgp_cmp_readonly["l3_yarn"] == "on") { 

 ?>
<input type=hidden name="l3_yarn" value="<?php echo NM_encode_input($l3_yarn) . "\">" . $l3_yarn . ""; ?>
<?php } else { ?>
<span id="id_read_on_l3_yarn" class="sc-ui-readonly-l3_yarn" style=";<?php echo $sStyleReadLab_l3_yarn; ?>"><?php echo NM_encode_input($this->l3_yarn); ?></span><span id="id_read_off_l3_yarn" style="white-space: nowrap;<?php echo $sStyleReadInp_l3_yarn; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_l3_yarn" type=text name="l3_yarn" value="<?php echo NM_encode_input($l3_yarn) ?>"
 size=20 maxlength=20 alt="{datatype: 'text', maxLength: 20, allowedChars: '', lettersCase: '', enterTab: true, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"></span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_l3_yarn_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_l3_yarn_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


   <?php
    if (!isset($this->nm_new_label['l3_patter']))
    {
        $this->nm_new_label['l3_patter'] = "L3 PATTER";
    }
?>
<?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);
   $l3_patter = $this->l3_patter;
   $sStyleHidden_l3_patter = '';
   if (isset($this->nmgp_cmp_hidden['l3_patter']) && $this->nmgp_cmp_hidden['l3_patter'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['l3_patter']);
       $sStyleHidden_l3_patter = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_l3_patter = 'display: none;';
   $sStyleReadInp_l3_patter = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['l3_patter']) && $this->nmgp_cmp_readonly['l3_patter'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['l3_patter']);
       $sStyleReadLab_l3_patter = '';
       $sStyleReadInp_l3_patter = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['l3_patter']) && $this->nmgp_cmp_hidden['l3_patter'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="l3_patter" value="<?php echo NM_encode_input($l3_patter) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_l3_patter" style="<?php echo $sStyleHidden_l3_patter; ?>;"><span id="id_label_l3_patter"><?php echo $this->nm_new_label['l3_patter']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_patter']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_patter'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_l3_patter" style="<?php echo $sStyleHidden_l3_patter; ?>;"><table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["l3_patter"]) &&  $this->nmgp_cmp_readonly["l3_patter"] == "on") { 

 ?>
<input type=hidden name="l3_patter" value="<?php echo NM_encode_input($l3_patter) . "\">" . $l3_patter . ""; ?>
<?php } else { ?>
<span id="id_read_on_l3_patter" class="sc-ui-readonly-l3_patter" style=";<?php echo $sStyleReadLab_l3_patter; ?>"><?php echo NM_encode_input($this->l3_patter); ?></span><span id="id_read_off_l3_patter" style="white-space: nowrap;<?php echo $sStyleReadInp_l3_patter; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_l3_patter" type=text name="l3_patter" value="<?php echo NM_encode_input($l3_patter) ?>"
 size=38 maxlength=38 alt="{datatype: 'text', maxLength: 38, allowedChars: '', lettersCase: '', enterTab: true, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"></span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_l3_patter_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_l3_patter_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 * 2; ?>" >&nbsp;</TD>

<?php } 
?> 
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l3_weight']))
           {
               $this->nmgp_cmp_readonly['l3_weight'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l3_percen']))
           {
               $this->nmgp_cmp_readonly['l3_percen'] = 'on';
           }
?>


   <?php
    if (!isset($this->nm_new_label['l3_thread']))
    {
        $this->nm_new_label['l3_thread'] = "L3 THREAD";
    }
?>
<?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);
   $l3_thread = $this->l3_thread;
   $sStyleHidden_l3_thread = '';
   if (isset($this->nmgp_cmp_hidden['l3_thread']) && $this->nmgp_cmp_hidden['l3_thread'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['l3_thread']);
       $sStyleHidden_l3_thread = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_l3_thread = 'display: none;';
   $sStyleReadInp_l3_thread = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['l3_thread']) && $this->nmgp_cmp_readonly['l3_thread'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['l3_thread']);
       $sStyleReadLab_l3_thread = '';
       $sStyleReadInp_l3_thread = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['l3_thread']) && $this->nmgp_cmp_hidden['l3_thread'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="l3_thread" value="<?php echo NM_encode_input($l3_thread) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_l3_thread" style="<?php echo $sStyleHidden_l3_thread; ?>;"><span id="id_label_l3_thread"><?php echo $this->nm_new_label['l3_thread']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_thread']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_thread'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_l3_thread" style="<?php echo $sStyleHidden_l3_thread; ?>;"><table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["l3_thread"]) &&  $this->nmgp_cmp_readonly["l3_thread"] == "on") { 

 ?>
<input type=hidden name="l3_thread" value="<?php echo NM_encode_input($l3_thread) . "\">" . $l3_thread . ""; ?>
<?php } else { ?>
<span id="id_read_on_l3_thread" class="sc-ui-readonly-l3_thread" style=";<?php echo $sStyleReadLab_l3_thread; ?>"><?php echo NM_encode_input($this->l3_thread); ?></span><span id="id_read_off_l3_thread" style="white-space: nowrap;<?php echo $sStyleReadInp_l3_thread; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_l3_thread" type=text name="l3_thread" value="<?php echo NM_encode_input($l3_thread) ?>"
 size=15 maxlength=15 alt="{datatype: 'text', maxLength: 15, allowedChars: '', lettersCase: '', enterTab: true, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"></span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_l3_thread_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_l3_thread_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


   <?php
    if (!isset($this->nm_new_label['l3_runnrs']))
    {
        $this->nm_new_label['l3_runnrs'] = "L3 RUNNRS";
    }
?>
<?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);
   $l3_runnrs = $this->l3_runnrs;
   $sStyleHidden_l3_runnrs = '';
   if (isset($this->nmgp_cmp_hidden['l3_runnrs']) && $this->nmgp_cmp_hidden['l3_runnrs'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['l3_runnrs']);
       $sStyleHidden_l3_runnrs = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_l3_runnrs = 'display: none;';
   $sStyleReadInp_l3_runnrs = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['l3_runnrs']) && $this->nmgp_cmp_readonly['l3_runnrs'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['l3_runnrs']);
       $sStyleReadLab_l3_runnrs = '';
       $sStyleReadInp_l3_runnrs = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['l3_runnrs']) && $this->nmgp_cmp_hidden['l3_runnrs'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="l3_runnrs" value="<?php echo NM_encode_input($l3_runnrs) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_l3_runnrs" style="<?php echo $sStyleHidden_l3_runnrs; ?>;"><span id="id_label_l3_runnrs"><?php echo $this->nm_new_label['l3_runnrs']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_runnrs']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_runnrs'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_l3_runnrs" style="<?php echo $sStyleHidden_l3_runnrs; ?>;"><table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["l3_runnrs"]) &&  $this->nmgp_cmp_readonly["l3_runnrs"] == "on") { 

 ?>
<input type=hidden name="l3_runnrs" value="<?php echo NM_encode_input($l3_runnrs) . "\">" . $l3_runnrs . ""; ?>
<?php } else { ?>
<span id="id_read_on_l3_runnrs" class="sc-ui-readonly-l3_runnrs" style=";<?php echo $sStyleReadLab_l3_runnrs; ?>"><?php echo NM_encode_input($this->l3_runnrs); ?></span><span id="id_read_off_l3_runnrs" style="white-space: nowrap;<?php echo $sStyleReadInp_l3_runnrs; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_l3_runnrs" type=text name="l3_runnrs" value="<?php echo NM_encode_input($l3_runnrs) ?>"
 size=10 alt="{datatype: 'decimal', maxLength: 10, precision: 3, decimalSep: '<?php echo str_replace("'", "\'", $this->field_config['l3_runnrs']['symbol_dec']); ?>', thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['l3_runnrs']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['l3_runnrs']['symbol_fmt']; ?>, manualDecimals: false, allowNegative: false, onlyNegative: false, enterTab: true, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"></span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_l3_runnrs_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_l3_runnrs_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


   <?php
    if (!isset($this->nm_new_label['l3_weight']))
    {
        $this->nm_new_label['l3_weight'] = "L3 WEIGHT";
    }
?>
<?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);
   $l3_weight = $this->l3_weight;
   $sStyleHidden_l3_weight = '';
   if (isset($this->nmgp_cmp_hidden['l3_weight']) && $this->nmgp_cmp_hidden['l3_weight'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['l3_weight']);
       $sStyleHidden_l3_weight = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_l3_weight = 'display: none;';
   $sStyleReadInp_l3_weight = '';
   if (/*($this->nmgp_opcao != "novo" && $this->nmgp_opc_ant != "incluir") || */(isset($this->nmgp_cmp_readonly["l3_weight"]) &&  $this->nmgp_cmp_readonly["l3_weight"] == "on"))
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['l3_weight']);
       $sStyleReadLab_l3_weight = '';
       $sStyleReadInp_l3_weight = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['l3_weight']) && $this->nmgp_cmp_hidden['l3_weight'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="l3_weight" value="<?php echo NM_encode_input($l3_weight) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_l3_weight" style="<?php echo $sStyleHidden_l3_weight; ?>;"><span id="id_label_l3_weight"><?php echo $this->nm_new_label['l3_weight']; ?></span></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_l3_weight" style="<?php echo $sStyleHidden_l3_weight; ?>;"><table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php if ($bTestReadOnly && ($this->nmgp_opcao != "novo" && $this->nmgp_opc_ant != "incluir") || (isset($this->nmgp_cmp_readonly["l3_weight"]) &&  $this->nmgp_cmp_readonly["l3_weight"] == "on")) { 

 ?>
<input type=hidden name="l3_weight" value="<?php echo NM_encode_input($l3_weight) . "\"><span id=\"id_ajax_label_l3_weight\">" . $l3_weight . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_l3_weight" class="sc-ui-readonly-l3_weight" style=";<?php echo $sStyleReadLab_l3_weight; ?>"><?php echo NM_encode_input($this->l3_weight); ?></span><span id="id_read_off_l3_weight" style="white-space: nowrap;<?php echo $sStyleReadInp_l3_weight; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_l3_weight" type=text name="l3_weight" value="<?php echo NM_encode_input($l3_weight) ?>"
 size=10 alt="{datatype: 'decimal', maxLength: 10, precision: 4, decimalSep: '<?php echo str_replace("'", "\'", $this->field_config['l3_weight']['symbol_dec']); ?>', thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['l3_weight']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['l3_weight']['symbol_fmt']; ?>, manualDecimals: false, allowNegative: false, onlyNegative: false, enterTab: true, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"></span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_l3_weight_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_l3_weight_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 * 2; ?>" >&nbsp;</TD>

<?php } 
?> 
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l4d']))
           {
               $this->nmgp_cmp_readonly['l4d'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l4_yarn']))
           {
               $this->nmgp_cmp_readonly['l4_yarn'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l4_patter']))
           {
               $this->nmgp_cmp_readonly['l4_patter'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l4_thread']))
           {
               $this->nmgp_cmp_readonly['l4_thread'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l4_runnrs']))
           {
               $this->nmgp_cmp_readonly['l4_runnrs'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l4_weight']))
           {
               $this->nmgp_cmp_readonly['l4_weight'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l4_percen']))
           {
               $this->nmgp_cmp_readonly['l4_percen'] = 'on';
           }
?>


   <?php
    if (!isset($this->nm_new_label['l3_percen']))
    {
        $this->nm_new_label['l3_percen'] = "L3 PERCEN";
    }
?>
<?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);
   $l3_percen = $this->l3_percen;
   $sStyleHidden_l3_percen = '';
   if (isset($this->nmgp_cmp_hidden['l3_percen']) && $this->nmgp_cmp_hidden['l3_percen'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['l3_percen']);
       $sStyleHidden_l3_percen = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_l3_percen = 'display: none;';
   $sStyleReadInp_l3_percen = '';
   if (/*($this->nmgp_opcao != "novo" && $this->nmgp_opc_ant != "incluir") || */(isset($this->nmgp_cmp_readonly["l3_percen"]) &&  $this->nmgp_cmp_readonly["l3_percen"] == "on"))
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['l3_percen']);
       $sStyleReadLab_l3_percen = '';
       $sStyleReadInp_l3_percen = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['l3_percen']) && $this->nmgp_cmp_hidden['l3_percen'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="l3_percen" value="<?php echo NM_encode_input($l3_percen) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_l3_percen" style="<?php echo $sStyleHidden_l3_percen; ?>;"><span id="id_label_l3_percen"><?php echo $this->nm_new_label['l3_percen']; ?></span></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_l3_percen" style="<?php echo $sStyleHidden_l3_percen; ?>;"><table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php if ($bTestReadOnly && ($this->nmgp_opcao != "novo" && $this->nmgp_opc_ant != "incluir") || (isset($this->nmgp_cmp_readonly["l3_percen"]) &&  $this->nmgp_cmp_readonly["l3_percen"] == "on")) { 

 ?>
<input type=hidden name="l3_percen" value="<?php echo NM_encode_input($l3_percen) . "\"><span id=\"id_ajax_label_l3_percen\">" . $l3_percen . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_l3_percen" class="sc-ui-readonly-l3_percen" style=";<?php echo $sStyleReadLab_l3_percen; ?>"><?php echo NM_encode_input($this->l3_percen); ?></span><span id="id_read_off_l3_percen" style="white-space: nowrap;<?php echo $sStyleReadInp_l3_percen; ?>">
 <input class="sc-js-input scFormObjectOdd" style="text-align:left;" id="id_sc_field_l3_percen" type=text name="l3_percen" value="<?php echo NM_encode_input($l3_percen) ?>"
 size=6 alt="{datatype: 'decimal', maxLength: 6, precision: 2, decimalSep: '<?php echo str_replace("'", "\'", $this->field_config['l3_percen']['symbol_dec']); ?>', thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['l3_percen']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['l3_percen']['symbol_fmt']; ?>, manualDecimals: false, allowNegative: false, onlyNegative: false, alignment: 'left', enterTab: true, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"></span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_l3_percen_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_l3_percen_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


   <?php
    if (!isset($this->nm_new_label['l3_ends']))
    {
        $this->nm_new_label['l3_ends'] = "L3 ENDS";
    }
?>
<?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);
   $l3_ends = $this->l3_ends;
   $sStyleHidden_l3_ends = '';
   if (isset($this->nmgp_cmp_hidden['l3_ends']) && $this->nmgp_cmp_hidden['l3_ends'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['l3_ends']);
       $sStyleHidden_l3_ends = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_l3_ends = 'display: none;';
   $sStyleReadInp_l3_ends = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['l3_ends']) && $this->nmgp_cmp_readonly['l3_ends'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['l3_ends']);
       $sStyleReadLab_l3_ends = '';
       $sStyleReadInp_l3_ends = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['l3_ends']) && $this->nmgp_cmp_hidden['l3_ends'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="l3_ends" value="<?php echo NM_encode_input($l3_ends) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_l3_ends" style="<?php echo $sStyleHidden_l3_ends; ?>;"><span id="id_label_l3_ends"><?php echo $this->nm_new_label['l3_ends']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_ends']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle2_form']['php_cmp_required']['l3_ends'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_l3_ends" style="<?php echo $sStyleHidden_l3_ends; ?>;"><table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px">
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["l3_ends"]) &&  $this->nmgp_cmp_readonly["l3_ends"] == "on") { 

 ?>
<input type=hidden name="l3_ends" value="<?php echo NM_encode_input($l3_ends) . "\">" . $l3_ends . ""; ?>
<?php } else { ?>
<span id="id_read_on_l3_ends" class="sc-ui-readonly-l3_ends" style=";<?php echo $sStyleReadLab_l3_ends; ?>"><?php echo NM_encode_input($this->l3_ends); ?></span><span id="id_read_off_l3_ends" style="white-space: nowrap;<?php echo $sStyleReadInp_l3_ends; ?>">
 <input class="sc-js-input scFormObjectOdd" style="text-align:left;" id="id_sc_field_l3_ends" type=text name="l3_ends" value="<?php echo NM_encode_input($l3_ends) ?>"
 size=6 alt="{datatype: 'integer', maxLength: 6, thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['l3_ends']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['l3_ends']['symbol_fmt']; ?>, allowNegative: false, onlyNegative: false, alignment: 'left', enterTab: true, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"></span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_l3_ends_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_l3_ends_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


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

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


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

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