
function scJQGeneralAdd() {
  $('input:text.sc-js-input').listen();
  $('input:password.sc-js-input').listen();
  $('textarea.sc-js-input').listen();

} // scJQGeneralAdd

function scFocusField(sField) {
  var $oField = $('#id_sc_field_' + sField);

  if (0 == $oField.length) {
    $oField = $('input[name=' + sField + ']');
  }

  if (0 == $oField.length && document.F1.elements[sField]) {
    $oField = $(document.F1.elements[sField]);
  }

  if (0 < $oField.length && 0 < $oField[0].offsetHeight && 0 < $oField[0].offsetWidth && !$oField[0].disabled) {
    $oField[0].focus();
  }
} // scFocusField

function scJQEventsAdd(iSeqRow) {
  $('#id_sc_field_invoice' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_invoice_onblur(this, iSeqRow) })
                                     .bind('focus', function() { sc_billing_item_costing_form_invoice_onfocus(this, iSeqRow) });
  $('#id_sc_field_item' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_item_onblur(this, iSeqRow) })
                                  .bind('focus', function() { sc_billing_item_costing_form_item_onfocus(this, iSeqRow) });
  $('#id_sc_field_date' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_date_onblur(this, iSeqRow) })
                                  .bind('focus', function() { sc_billing_item_costing_form_date_onfocus(this, iSeqRow) });
  $('#id_sc_field_bcode' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_bcode_onblur(this, iSeqRow) })
                                   .bind('focus', function() { sc_billing_item_costing_form_bcode_onfocus(this, iSeqRow) });
  $('#id_sc_field_lin' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_lin_onblur(this, iSeqRow) })
                                 .bind('focus', function() { sc_billing_item_costing_form_lin_onfocus(this, iSeqRow) });
  $('#id_sc_field_sq' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_sq_onblur(this, iSeqRow) })
                                .bind('focus', function() { sc_billing_item_costing_form_sq_onfocus(this, iSeqRow) });
  $('#id_sc_field_style' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_style_onblur(this, iSeqRow) })
                                   .bind('focus', function() { sc_billing_item_costing_form_style_onfocus(this, iSeqRow) });
  $('#id_sc_field_width' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_width_onblur(this, iSeqRow) })
                                   .bind('focus', function() { sc_billing_item_costing_form_width_onfocus(this, iSeqRow) });
  $('#id_sc_field_color' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_color_onblur(this, iSeqRow) })
                                   .bind('focus', function() { sc_billing_item_costing_form_color_onfocus(this, iSeqRow) });
  $('#id_sc_field_cust_order' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_cust_order_onblur(this, iSeqRow) })
                                        .bind('focus', function() { sc_billing_item_costing_form_cust_order_onfocus(this, iSeqRow) });
  $('#id_sc_field_our_order' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_our_order_onblur(this, iSeqRow) })
                                       .bind('focus', function() { sc_billing_item_costing_form_our_order_onfocus(this, iSeqRow) });
  $('#id_sc_field_price' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_price_onblur(this, iSeqRow) })
                                   .bind('focus', function() { sc_billing_item_costing_form_price_onfocus(this, iSeqRow) });
  $('#id_sc_field_unit' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_unit_onblur(this, iSeqRow) })
                                  .bind('focus', function() { sc_billing_item_costing_form_unit_onfocus(this, iSeqRow) });
  $('#id_sc_field_amount' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_amount_onblur(this, iSeqRow) })
                                    .bind('focus', function() { sc_billing_item_costing_form_amount_onfocus(this, iSeqRow) });
  $('#id_sc_field_descrip' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_descrip_onblur(this, iSeqRow) })
                                     .bind('focus', function() { sc_billing_item_costing_form_descrip_onfocus(this, iSeqRow) });
  $('#id_sc_field_dye_order' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_dye_order_onblur(this, iSeqRow) })
                                       .bind('focus', function() { sc_billing_item_costing_form_dye_order_onfocus(this, iSeqRow) });
  $('#id_sc_field_dye_lot' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_dye_lot_onblur(this, iSeqRow) })
                                     .bind('focus', function() { sc_billing_item_costing_form_dye_lot_onfocus(this, iSeqRow) });
  $('#id_sc_field_cases' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_cases_onblur(this, iSeqRow) })
                                   .bind('focus', function() { sc_billing_item_costing_form_cases_onfocus(this, iSeqRow) });
  $('#id_sc_field_cost' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_cost_onblur(this, iSeqRow) })
                                  .bind('focus', function() { sc_billing_item_costing_form_cost_onfocus(this, iSeqRow) });
  $('#id_sc_field_cost_yd' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_cost_yd_onblur(this, iSeqRow) })
                                     .bind('focus', function() { sc_billing_item_costing_form_cost_yd_onfocus(this, iSeqRow) });
  $('#id_sc_field_gp' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_gp_onblur(this, iSeqRow) })
                                .bind('focus', function() { sc_billing_item_costing_form_gp_onfocus(this, iSeqRow) });
  $('#id_sc_field_gp_yd' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_gp_yd_onblur(this, iSeqRow) })
                                   .bind('focus', function() { sc_billing_item_costing_form_gp_yd_onfocus(this, iSeqRow) });
  $('#id_sc_field_pc' + iSeqRow).bind('blur', function() { sc_billing_item_costing_form_pc_onblur(this, iSeqRow) })
                                .bind('focus', function() { sc_billing_item_costing_form_pc_onfocus(this, iSeqRow) });
} // scJQEventsAdd

function sc_billing_item_costing_form_invoice_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_invoice();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_invoice_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_item_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_item();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_item_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_date_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_date();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_date_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_bcode_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_bcode();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_bcode_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_lin_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_lin();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_lin_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_sq_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_sq();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_sq_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_style_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_style();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_style_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_width_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_width();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_width_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_color_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_color();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_color_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_cust_order_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_cust_order();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_cust_order_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_our_order_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_our_order();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_our_order_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_price_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_price();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_price_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_unit_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_unit();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_unit_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_amount_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_amount();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_amount_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_descrip_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_descrip();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_descrip_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_dye_order_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_dye_order();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_dye_order_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_dye_lot_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_dye_lot();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_dye_lot_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_cases_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_cases();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_cases_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_cost_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_cost();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_cost_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_cost_yd_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_cost_yd();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_cost_yd_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_gp_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_gp();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_gp_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_gp_yd_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_gp_yd();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_gp_yd_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

function sc_billing_item_costing_form_pc_onblur(oThis, iSeqRow) {
  do_ajax_billing_item_costing_form_validate_pc();
  scCssBlur(oThis);
}

function sc_billing_item_costing_form_pc_onfocus(oThis, iSeqRow) {
  scCssFocus(oThis);
}

var sc_jq_calendar_value = {};

function scJQCalendarAdd(iSeqRow) {
  $("#id_sc_field_date" + iSeqRow).datepicker({
    beforeShow: function(input, inst) {
      var $oField = $(this),
          aParts  = $oField.val().split(" "),
          sTime   = "";
      sc_jq_calendar_value["#id_sc_field_date" + iSeqRow] = $oField.val();
    },
    onClose: function(dateText, inst) {
    },
    showWeek: true,
    numberOfMonths: 1,
    changeMonth: true,
    changeYear: true,
    yearRange: 'c-5:c+5',
    dayNames: ['<?php        echo html_entity_decode($this->Ini->Nm_lang['lang_days_sund']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_mond']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_tued']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_wend']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_thud']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_frid']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_satd']);        ?>'],
    dayNamesMin: ['<?php     echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_sund']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_mond']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_tued']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_wend']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_thud']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_frid']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_satd']); ?>'],
    monthNamesShort: ['<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_janu']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_febr']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_marc']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_apri']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_mayy']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_june']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_july']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_augu']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_sept']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_octo']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_nove']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_dece']); ?>'],
    weekHeader: "<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_days_sem']); ?>",
    firstDay: <?php echo $this->jqueryCalendarWeekInit("" . $_SESSION['scriptcase']['reg_conf']['date_week_ini'] . ""); ?>,
    dateFormat: "<?php echo $this->jqueryCalendarDtFormat("" . str_replace(array('/', 'aaaa', $_SESSION['scriptcase']['reg_conf']['date_sep']), array('', 'yyyy', ''), $this->field_config['date']['date_format']) . "", "" . $_SESSION['scriptcase']['reg_conf']['date_sep'] . ""); ?>",
    showOtherMonths: true,
    showOn: "button",
    buttonImage: "<?php echo $this->jqueryIconFile('calendar'); ?>",
    buttonImageOnly: true
  });

  $("#id_sc_field_adate" + iSeqRow).datepicker({
    beforeShow: function(input, inst) {
      var $oField = $(this),
          aParts  = $oField.val().split(" "),
          sTime   = "";
      sc_jq_calendar_value["#id_sc_field_adate" + iSeqRow] = $oField.val();
    },
    onClose: function(dateText, inst) {
    },
    showWeek: true,
    numberOfMonths: 1,
    changeMonth: true,
    changeYear: true,
    yearRange: 'c-5:c+5',
    dayNames: ['<?php        echo html_entity_decode($this->Ini->Nm_lang['lang_days_sund']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_mond']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_tued']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_wend']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_thud']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_frid']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_satd']);        ?>'],
    dayNamesMin: ['<?php     echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_sund']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_mond']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_tued']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_wend']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_thud']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_frid']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_satd']); ?>'],
    monthNamesShort: ['<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_janu']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_febr']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_marc']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_apri']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_mayy']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_june']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_july']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_augu']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_sept']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_octo']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_nove']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_dece']); ?>'],
    weekHeader: "<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_days_sem']); ?>",
    firstDay: <?php echo $this->jqueryCalendarWeekInit("" . $_SESSION['scriptcase']['reg_conf']['date_week_ini'] . ""); ?>,
    dateFormat: "<?php echo $this->jqueryCalendarDtFormat("" . str_replace(array('/', 'aaaa', $_SESSION['scriptcase']['reg_conf']['date_sep']), array('', 'yyyy', ''), $this->field_config['adate']['date_format']) . "", "" . $_SESSION['scriptcase']['reg_conf']['date_sep'] . ""); ?>",
    showOtherMonths: true,
    showOn: "button",
    buttonImage: "<?php echo $this->jqueryIconFile('calendar'); ?>",
    buttonImageOnly: true
  });

  $("#id_sc_field_edate" + iSeqRow).datepicker({
    beforeShow: function(input, inst) {
      var $oField = $(this),
          aParts  = $oField.val().split(" "),
          sTime   = "";
      sc_jq_calendar_value["#id_sc_field_edate" + iSeqRow] = $oField.val();
    },
    onClose: function(dateText, inst) {
    },
    showWeek: true,
    numberOfMonths: 1,
    changeMonth: true,
    changeYear: true,
    yearRange: 'c-5:c+5',
    dayNames: ['<?php        echo html_entity_decode($this->Ini->Nm_lang['lang_days_sund']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_mond']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_tued']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_wend']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_thud']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_frid']);        ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_days_satd']);        ?>'],
    dayNamesMin: ['<?php     echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_sund']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_mond']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_tued']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_wend']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_thud']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_frid']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_substr_days_satd']); ?>'],
    monthNamesShort: ['<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_janu']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_febr']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_marc']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_apri']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_mayy']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_june']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_july']);   ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_augu']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_sept']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_octo']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_nove']); ?>','<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_mnth_dece']); ?>'],
    weekHeader: "<?php echo html_entity_decode($this->Ini->Nm_lang['lang_shrt_days_sem']); ?>",
    firstDay: <?php echo $this->jqueryCalendarWeekInit("" . $_SESSION['scriptcase']['reg_conf']['date_week_ini'] . ""); ?>,
    dateFormat: "<?php echo $this->jqueryCalendarDtFormat("" . str_replace(array('/', 'aaaa', $_SESSION['scriptcase']['reg_conf']['date_sep']), array('', 'yyyy', ''), $this->field_config['edate']['date_format']) . "", "" . $_SESSION['scriptcase']['reg_conf']['date_sep'] . ""); ?>",
    showOtherMonths: true,
    showOn: "button",
    buttonImage: "<?php echo $this->jqueryIconFile('calendar'); ?>",
    buttonImageOnly: true
  });

} // scJQCalendarAdd

function scJQUploadAdd(iSeqRow) {
} // scJQUploadAdd


function scJQElementsAdd(iLine) {
  scJQEventsAdd(iLine);
  scJQCalendarAdd(iLine);
  scJQUploadAdd(iLine);
} // scJQElementsAdd

