
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_sm_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_sm__onblur(this, iSeqRow) })
                                 .bind('change', function() { sc_sell_sampit_form_sm__onchange(this, iSeqRow) })
                                 .bind('focus', function() { sc_sell_sampit_form_sm__onfocus(this, iSeqRow) });
  $('#id_sc_field_smit_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_smit__onblur(this, iSeqRow) })
                                   .bind('change', function() { sc_sell_sampit_form_smit__onchange(this, iSeqRow) })
                                   .bind('focus', function() { sc_sell_sampit_form_smit__onfocus(this, iSeqRow) });
  $('#id_sc_field_factor_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_factor__onblur(this, iSeqRow) })
                                     .bind('change', function() { sc_sell_sampit_form_factor__onchange(this, iSeqRow) })
                                     .bind('focus', function() { sc_sell_sampit_form_factor__onfocus(this, iSeqRow) });
  $('#id_sc_field_terms_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_terms__onblur(this, iSeqRow) })
                                    .bind('change', function() { sc_sell_sampit_form_terms__onchange(this, iSeqRow) })
                                    .bind('focus', function() { sc_sell_sampit_form_terms__onfocus(this, iSeqRow) });
  $('#id_sc_field_salesman_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_salesman__onblur(this, iSeqRow) })
                                       .bind('change', function() { sc_sell_sampit_form_salesman__onchange(this, iSeqRow) })
                                       .bind('focus', function() { sc_sell_sampit_form_salesman__onfocus(this, iSeqRow) });
  $('#id_sc_field_our_order_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_our_order__onblur(this, iSeqRow) })
                                        .bind('change', function() { sc_sell_sampit_form_our_order__onchange(this, iSeqRow) })
                                        .bind('focus', function() { sc_sell_sampit_form_our_order__onfocus(this, iSeqRow) });
  $('#id_sc_field_invoice_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_invoice__onblur(this, iSeqRow) })
                                      .bind('change', function() { sc_sell_sampit_form_invoice__onchange(this, iSeqRow) })
                                      .bind('focus', function() { sc_sell_sampit_form_invoice__onfocus(this, iSeqRow) });
  $('#id_sc_field_bl_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_bl__onblur(this, iSeqRow) })
                                 .bind('change', function() { sc_sell_sampit_form_bl__onchange(this, iSeqRow) })
                                 .bind('focus', function() { sc_sell_sampit_form_bl__onfocus(this, iSeqRow) });
  $('#id_sc_field_sdate_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_sdate__onblur(this, iSeqRow) })
                                    .bind('change', function() { sc_sell_sampit_form_sdate__onchange(this, iSeqRow) })
                                    .bind('focus', function() { sc_sell_sampit_form_sdate__onfocus(this, iSeqRow) });
  $('#id_sc_field_p_o_number_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_p_o_number__onblur(this, iSeqRow) })
                                         .bind('change', function() { sc_sell_sampit_form_p_o_number__onchange(this, iSeqRow) })
                                         .bind('focus', function() { sc_sell_sampit_form_p_o_number__onfocus(this, iSeqRow) });
  $('#id_sc_field_lyards_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_lyards__onblur(this, iSeqRow) })
                                     .bind('change', function() { sc_sell_sampit_form_lyards__onchange(this, iSeqRow) })
                                     .bind('focus', function() { sc_sell_sampit_form_lyards__onfocus(this, iSeqRow) });
  $('#id_sc_field_syards_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_syards__onblur(this, iSeqRow) })
                                     .bind('change', function() { sc_sell_sampit_form_syards__onchange(this, iSeqRow) })
                                     .bind('focus', function() { sc_sell_sampit_form_syards__onfocus(this, iSeqRow) });
  $('#id_sc_field_style_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_style__onblur(this, iSeqRow) })
                                    .bind('change', function() { sc_sell_sampit_form_style__onchange(this, iSeqRow) })
                                    .bind('focus', function() { sc_sell_sampit_form_style__onfocus(this, iSeqRow) });
  $('#id_sc_field_color_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_color__onblur(this, iSeqRow) })
                                    .bind('change', function() { sc_sell_sampit_form_color__onchange(this, iSeqRow) })
                                    .bind('focus', function() { sc_sell_sampit_form_color__onfocus(this, iSeqRow) });
  $('#id_sc_field_width_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_width__onblur(this, iSeqRow) })
                                    .bind('change', function() { sc_sell_sampit_form_width__onchange(this, iSeqRow) })
                                    .bind('focus', function() { sc_sell_sampit_form_width__onfocus(this, iSeqRow) });
  $('#id_sc_field_dye_lot_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_dye_lot__onblur(this, iSeqRow) })
                                      .bind('change', function() { sc_sell_sampit_form_dye_lot__onchange(this, iSeqRow) })
                                      .bind('focus', function() { sc_sell_sampit_form_dye_lot__onfocus(this, iSeqRow) });
  $('#id_sc_field_price_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_price__onblur(this, iSeqRow) })
                                    .bind('change', function() { sc_sell_sampit_form_price__onchange(this, iSeqRow) })
                                    .bind('focus', function() { sc_sell_sampit_form_price__onfocus(this, iSeqRow) });
  $('#id_sc_field_unit_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_unit__onblur(this, iSeqRow) })
                                   .bind('change', function() { sc_sell_sampit_form_unit__onchange(this, iSeqRow) })
                                   .bind('focus', function() { sc_sell_sampit_form_unit__onfocus(this, iSeqRow) });
  $('#id_sc_field_custno_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_custno__onblur(this, iSeqRow) })
                                     .bind('change', function() { sc_sell_sampit_form_custno__onchange(this, iSeqRow) })
                                     .bind('focus', function() { sc_sell_sampit_form_custno__onfocus(this, iSeqRow) });
  $('#id_sc_field_it_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_it__onblur(this, iSeqRow) })
                                 .bind('change', function() { sc_sell_sampit_form_it__onchange(this, iSeqRow) })
                                 .bind('focus', function() { sc_sell_sampit_form_it__onfocus(this, iSeqRow) });
  $('#id_sc_field_desc_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_desc__onblur(this, iSeqRow) })
                                   .bind('change', function() { sc_sell_sampit_form_desc__onchange(this, iSeqRow) })
                                   .bind('focus', function() { sc_sell_sampit_form_desc__onfocus(this, iSeqRow) });
  $('#id_sc_field_approx_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_approx__onblur(this, iSeqRow) })
                                     .bind('change', function() { sc_sell_sampit_form_approx__onchange(this, iSeqRow) })
                                     .bind('focus', function() { sc_sell_sampit_form_approx__onfocus(this, iSeqRow) });
  $('#id_sc_field_sdye_lot_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_sdye_lot__onblur(this, iSeqRow) })
                                       .bind('change', function() { sc_sell_sampit_form_sdye_lot__onchange(this, iSeqRow) })
                                       .bind('focus', function() { sc_sell_sampit_form_sdye_lot__onfocus(this, iSeqRow) });
  $('#id_sc_field_syds_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_syds__onblur(this, iSeqRow) })
                                   .bind('change', function() { sc_sell_sampit_form_syds__onchange(this, iSeqRow) })
                                   .bind('focus', function() { sc_sell_sampit_form_syds__onfocus(this, iSeqRow) });
  $('#id_sc_field_finish_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_finish__onblur(this, iSeqRow) })
                                     .bind('change', function() { sc_sell_sampit_form_finish__onchange(this, iSeqRow) })
                                     .bind('focus', function() { sc_sell_sampit_form_finish__onfocus(this, iSeqRow) });
  $('#id_sc_field_finish_no_' + iSeqRow).bind('blur', function() { sc_sell_sampit_form_finish_no__onblur(this, iSeqRow) })
                                        .bind('change', function() { sc_sell_sampit_form_finish_no__onchange(this, iSeqRow) })
                                        .bind('focus', function() { sc_sell_sampit_form_finish_no__onfocus(this, iSeqRow) });
} // scJQEventsAdd

function sc_sell_sampit_form_sm__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_sm_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_sm__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_smit__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_smit_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_smit__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_factor__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_factor_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_factor__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_terms__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_terms_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_terms__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_salesman__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_salesman_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_salesman__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_our_order__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_our_order_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_our_order__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_invoice__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_invoice_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_invoice__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_bl__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_bl_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_bl__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_sdate__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_sdate_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_sdate__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_p_o_number__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_p_o_number_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_p_o_number__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_lyards__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_lyards_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_lyards__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_syards__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_syards_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_syards__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_style__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_style_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_style__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_color__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_color_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_color__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_width__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_width_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_width__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_dye_lot__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_dye_lot_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_dye_lot__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_price__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_price_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_price__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_unit__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_unit_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_unit__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_custno__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_custno_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_custno__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_it__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_it_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_it__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_desc__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_desc_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_desc__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_approx__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_approx_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_approx__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_sdye_lot__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_sdye_lot_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_sdye_lot__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_syds__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_syds_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_syds__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_finish__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_finish_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_finish__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

function sc_sell_sampit_form_finish_no__onblur(oThis, iSeqRow) {
  do_ajax_sell_sampit_form_validate_finish_no_(iSeqRow);
  scCssBlur(oThis, iSeqRow);
}

function sc_sell_sampit_form_finish_no__onchange(oThis, iSeqRow) {
  nm_check_insert(iSeqRow);
}

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

var sc_jq_calendar_value = {};

function scJQCalendarAdd(iSeqRow) {
  $("#id_sc_field_sdate_" + iSeqRow).datepicker({
    beforeShow: function(input, inst) {
      var $oField = $(this),
          aParts  = $oField.val().split(" "),
          sTime   = "";
      sc_jq_calendar_value["#id_sc_field_sdate_" + 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['sdate_']['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

