<div id="greige_grstyle_ro2_form_form1" 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_1"><!-- bloco_c -->
<?php
?>
<TABLE align="center" id="hidden_bloco_1" class="scFormTable" width="100%" style="height: 100%;"><?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['gr_style']))
           {
               $this->nmgp_cmp_readonly['gr_style'] = 'on';
           }
?>
<?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['type']))
           {
               $this->nmgp_cmp_readonly['type'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['width']))
           {
               $this->nmgp_cmp_readonly['width'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['gauge']))
           {
               $this->nmgp_cmp_readonly['gauge'] = '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['old_style']))
           {
               $this->nmgp_cmp_readonly['old_style'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['new_style']))
           {
               $this->nmgp_cmp_readonly['new_style'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['bd']))
           {
               $this->nmgp_cmp_readonly['bd'] = 'on';
           }
?>
<?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['bot_yarn']))
           {
               $this->nmgp_cmp_readonly['bot_yarn'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['bot_ends']))
           {
               $this->nmgp_cmp_readonly['bot_ends'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['bot_patter']))
           {
               $this->nmgp_cmp_readonly['bot_patter'] = 'on';
           }
?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_bd" style="<?php echo $sStyleHidden_bd; ?>;"><span id="id_label_bd"><?php echo $this->nm_new_label['bd']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bd']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bd'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_bd" style="<?php echo $sStyleHidden_bd; ?>;"><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["bd"]) &&  $this->nmgp_cmp_readonly["bd"] == "on")) { 

 ?>
<input type=hidden name="bd" value="<?php echo NM_encode_input($bd) . "\"><span id=\"id_ajax_label_bd\">" . $bd . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_bd" class="sc-ui-readonly-bd" style=";<?php echo $sStyleReadLab_bd; ?>"><?php echo NM_encode_input($this->bd); ?></span><span id="id_read_off_bd" style="white-space: nowrap;<?php echo $sStyleReadInp_bd; ?>">
 <input class="sc-js-input scFormObjectOdd" style="text-align:left;" id="id_sc_field_bd" type=text name="bd" value="<?php echo NM_encode_input($bd) ?>"
 size=6 alt="{datatype: 'integer', maxLength: 6, thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['bd']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['bd']['symbol_fmt']; ?>, allowNegative: false, onlyNegative: false, alignment: 'left', enterTab: false, 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_bd_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_bd_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_bot_yarn" style="<?php echo $sStyleHidden_bot_yarn; ?>;"><span id="id_label_bot_yarn"><?php echo $this->nm_new_label['bot_yarn']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_yarn']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_yarn'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_bot_yarn" style="<?php echo $sStyleHidden_bot_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" && $this->nmgp_opc_ant != "incluir") || (isset($this->nmgp_cmp_readonly["bot_yarn"]) &&  $this->nmgp_cmp_readonly["bot_yarn"] == "on")) { 

 ?>
<input type=hidden name="bot_yarn" value="<?php echo NM_encode_input($bot_yarn) . "\"><span id=\"id_ajax_label_bot_yarn\">" . $bot_yarn . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_bot_yarn" class="sc-ui-readonly-bot_yarn" style=";<?php echo $sStyleReadLab_bot_yarn; ?>"><?php echo NM_encode_input($this->bot_yarn); ?></span><span id="id_read_off_bot_yarn" style="white-space: nowrap;<?php echo $sStyleReadInp_bot_yarn; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_bot_yarn" type=text name="bot_yarn" value="<?php echo NM_encode_input($bot_yarn) ?>"
 size=20 maxlength=20 alt="{datatype: 'text', maxLength: 20, allowedChars: '', lettersCase: '', enterTab: false, 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_bot_yarn_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_bot_yarn_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_bot_ends" style="<?php echo $sStyleHidden_bot_ends; ?>;"><span id="id_label_bot_ends"><?php echo $this->nm_new_label['bot_ends']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_ends']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_ends'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_bot_ends" style="<?php echo $sStyleHidden_bot_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" && $this->nmgp_opc_ant != "incluir") || (isset($this->nmgp_cmp_readonly["bot_ends"]) &&  $this->nmgp_cmp_readonly["bot_ends"] == "on")) { 

 ?>
<input type=hidden name="bot_ends" value="<?php echo NM_encode_input($bot_ends) . "\"><span id=\"id_ajax_label_bot_ends\">" . $bot_ends . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_bot_ends" class="sc-ui-readonly-bot_ends" style=";<?php echo $sStyleReadLab_bot_ends; ?>"><?php echo NM_encode_input($this->bot_ends); ?></span><span id="id_read_off_bot_ends" style="white-space: nowrap;<?php echo $sStyleReadInp_bot_ends; ?>">
 <input class="sc-js-input scFormObjectOdd" style="text-align:left;" id="id_sc_field_bot_ends" type=text name="bot_ends" value="<?php echo NM_encode_input($bot_ends) ?>"
 size=6 alt="{datatype: 'integer', maxLength: 6, thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['bot_ends']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['bot_ends']['symbol_fmt']; ?>, allowNegative: false, onlyNegative: false, alignment: 'left', enterTab: false, 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_bot_ends_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_bot_ends_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['bot_thread']))
           {
               $this->nmgp_cmp_readonly['bot_thread'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['bot_runnrs']))
           {
               $this->nmgp_cmp_readonly['bot_runnrs'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['bot_weight']))
           {
               $this->nmgp_cmp_readonly['bot_weight'] = 'on';
           }
?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_bot_patter" style="<?php echo $sStyleHidden_bot_patter; ?>;"><span id="id_label_bot_patter"><?php echo $this->nm_new_label['bot_patter']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_patter']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_patter'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_bot_patter" style="<?php echo $sStyleHidden_bot_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" && $this->nmgp_opc_ant != "incluir") || (isset($this->nmgp_cmp_readonly["bot_patter"]) &&  $this->nmgp_cmp_readonly["bot_patter"] == "on")) { 

 ?>
<input type=hidden name="bot_patter" value="<?php echo NM_encode_input($bot_patter) . "\"><span id=\"id_ajax_label_bot_patter\">" . $bot_patter . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_bot_patter" class="sc-ui-readonly-bot_patter" style=";<?php echo $sStyleReadLab_bot_patter; ?>"><?php echo NM_encode_input($this->bot_patter); ?></span><span id="id_read_off_bot_patter" style="white-space: nowrap;<?php echo $sStyleReadInp_bot_patter; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_bot_patter" type=text name="bot_patter" value="<?php echo NM_encode_input($bot_patter) ?>"
 size=38 maxlength=38 alt="{datatype: 'text', maxLength: 38, allowedChars: '', lettersCase: '', enterTab: false, 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_bot_patter_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_bot_patter_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_bot_thread" style="<?php echo $sStyleHidden_bot_thread; ?>;"><span id="id_label_bot_thread"><?php echo $this->nm_new_label['bot_thread']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_thread']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_thread'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_bot_thread" style="<?php echo $sStyleHidden_bot_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" && $this->nmgp_opc_ant != "incluir") || (isset($this->nmgp_cmp_readonly["bot_thread"]) &&  $this->nmgp_cmp_readonly["bot_thread"] == "on")) { 

 ?>
<input type=hidden name="bot_thread" value="<?php echo NM_encode_input($bot_thread) . "\"><span id=\"id_ajax_label_bot_thread\">" . $bot_thread . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_bot_thread" class="sc-ui-readonly-bot_thread" style=";<?php echo $sStyleReadLab_bot_thread; ?>"><?php echo NM_encode_input($this->bot_thread); ?></span><span id="id_read_off_bot_thread" style="white-space: nowrap;<?php echo $sStyleReadInp_bot_thread; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_bot_thread" type=text name="bot_thread" value="<?php echo NM_encode_input($bot_thread) ?>"
 size=15 maxlength=15 alt="{datatype: 'text', maxLength: 15, allowedChars: '', lettersCase: '', enterTab: false, 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_bot_thread_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_bot_thread_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_bot_runnrs" style="<?php echo $sStyleHidden_bot_runnrs; ?>;"><span id="id_label_bot_runnrs"><?php echo $this->nm_new_label['bot_runnrs']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_runnrs']) || $_SESSION['sc_session'][$this->Ini->sc_page]['greige_grstyle_ro2_form']['php_cmp_required']['bot_runnrs'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_bot_runnrs" style="<?php echo $sStyleHidden_bot_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" && $this->nmgp_opc_ant != "incluir") || (isset($this->nmgp_cmp_readonly["bot_runnrs"]) &&  $this->nmgp_cmp_readonly["bot_runnrs"] == "on")) { 

 ?>
<input type=hidden name="bot_runnrs" value="<?php echo NM_encode_input($bot_runnrs) . "\"><span id=\"id_ajax_label_bot_runnrs\">" . $bot_runnrs . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_bot_runnrs" class="sc-ui-readonly-bot_runnrs" style=";<?php echo $sStyleReadLab_bot_runnrs; ?>"><?php echo NM_encode_input($this->bot_runnrs); ?></span><span id="id_read_off_bot_runnrs" style="white-space: nowrap;<?php echo $sStyleReadInp_bot_runnrs; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_bot_runnrs" type=text name="bot_runnrs" value="<?php echo NM_encode_input($bot_runnrs) ?>"
 size=10 alt="{datatype: 'decimal', maxLength: 10, precision: 3, decimalSep: '<?php echo str_replace("'", "\'", $this->field_config['bot_runnrs']['symbol_dec']); ?>', thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['bot_runnrs']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['bot_runnrs']['symbol_fmt']; ?>, manualDecimals: false, allowNegative: false, onlyNegative: false, enterTab: false, 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_bot_runnrs_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_bot_runnrs_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['bot_percen']))
           {
               $this->nmgp_cmp_readonly['bot_percen'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['td']))
           {
               $this->nmgp_cmp_readonly['td'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['top_yarn']))
           {
               $this->nmgp_cmp_readonly['top_yarn'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['top_ends']))
           {
               $this->nmgp_cmp_readonly['top_ends'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['top_patter']))
           {
               $this->nmgp_cmp_readonly['top_patter'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['top_thread']))
           {
               $this->nmgp_cmp_readonly['top_thread'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['top_runnrs']))
           {
               $this->nmgp_cmp_readonly['top_runnrs'] = '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 ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l3d']))
           {
               $this->nmgp_cmp_readonly['l3d'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l3_yarn']))
           {
               $this->nmgp_cmp_readonly['l3_yarn'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l3_patter']))
           {
               $this->nmgp_cmp_readonly['l3_patter'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l3_thread']))
           {
               $this->nmgp_cmp_readonly['l3_thread'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l3_runnrs']))
           {
               $this->nmgp_cmp_readonly['l3_runnrs'] = 'on';
           }
?>
<?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 ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l3_ends']))
           {
               $this->nmgp_cmp_readonly['l3_ends'] = 'on';
           }
?>
<?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 ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['l4_ends']))
           {
               $this->nmgp_cmp_readonly['l4_ends'] = 'on';
           }
?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_bot_weight" style="<?php echo $sStyleHidden_bot_weight; ?>;"><span id="id_label_bot_weight"><?php echo $this->nm_new_label['bot_weight']; ?></span></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_bot_weight" style="<?php echo $sStyleHidden_bot_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["bot_weight"]) &&  $this->nmgp_cmp_readonly["bot_weight"] == "on")) { 

 ?>
<input type=hidden name="bot_weight" value="<?php echo NM_encode_input($bot_weight) . "\"><span id=\"id_ajax_label_bot_weight\">" . $bot_weight . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_bot_weight" class="sc-ui-readonly-bot_weight" style=";<?php echo $sStyleReadLab_bot_weight; ?>"><?php echo NM_encode_input($this->bot_weight); ?></span><span id="id_read_off_bot_weight" style="white-space: nowrap;<?php echo $sStyleReadInp_bot_weight; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_bot_weight" type=text name="bot_weight" value="<?php echo NM_encode_input($bot_weight) ?>"
 size=10 alt="{datatype: 'decimal', maxLength: 10, precision: 4, decimalSep: '<?php echo str_replace("'", "\'", $this->field_config['bot_weight']['symbol_dec']); ?>', thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['bot_weight']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['bot_weight']['symbol_fmt']; ?>, manualDecimals: false, allowNegative: false, onlyNegative: false, enterTab: false, 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_bot_weight_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_bot_weight_text"></span></td></tr></table></td></tr></table></TD>
   <?php }?>


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

    <TD class="scFormLabelOdd scUiLabelWidthFix" id="hidden_field_label_bot_percen" style="<?php echo $sStyleHidden_bot_percen; ?>;"><span id="id_label_bot_percen"><?php echo $this->nm_new_label['bot_percen']; ?></span></TD>
    <TD class="scFormDataOdd" id="hidden_field_data_bot_percen" style="<?php echo $sStyleHidden_bot_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["bot_percen"]) &&  $this->nmgp_cmp_readonly["bot_percen"] == "on")) { 

 ?>
<input type=hidden name="bot_percen" value="<?php echo NM_encode_input($bot_percen) . "\"><span id=\"id_ajax_label_bot_percen\">" . $bot_percen . "</span>"; ?>
<?php } else { ?>
<span id="id_read_on_bot_percen" class="sc-ui-readonly-bot_percen" style=";<?php echo $sStyleReadLab_bot_percen; ?>"><?php echo NM_encode_input($this->bot_percen); ?></span><span id="id_read_off_bot_percen" style="white-space: nowrap;<?php echo $sStyleReadInp_bot_percen; ?>">
 <input class="sc-js-input scFormObjectOdd" style="text-align:left;" id="id_sc_field_bot_percen" type=text name="bot_percen" value="<?php echo NM_encode_input($bot_percen) ?>"
 size=6 alt="{datatype: 'decimal', maxLength: 6, precision: 2, decimalSep: '<?php echo str_replace("'", "\'", $this->field_config['bot_percen']['symbol_dec']); ?>', thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['bot_percen']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['bot_percen']['symbol_fmt']; ?>, manualDecimals: false, allowNegative: false, onlyNegative: false, alignment: 'left', enterTab: false, 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_bot_percen_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_bot_percen_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>
