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) { switch ($oField[0].name) { case 'image': case 'style': case 'name': case 'width': case 'comment': case 'fiber': case 'desc': case 'line': case 'dept': case 'odesc': case 'hand': case 'date': case 'mindye': case 'minord': case 'yarn1': case 'per1': case 'yarn2': case 'per2': case 'yarn3': case 'per3': case 'yarn4': case 'per4': case 'del1': case 'del2': case 'del3': case 'end1': case 'end2': case 'end3': case 'end4': case 'end5': sc_exib_ocult_pag('line_form_form0'); break; case 'price': case 'med': case 'dark': case 'nprice': case 'npdate': sc_exib_ocult_pag('line_form_form1'); break; case 'memo': case 'smemo': sc_exib_ocult_pag('line_form_form2'); break; case 'yds': case 'lbs': case 'dye': case 'gc': case 'fc': case 'spec': case 'gshort': sc_exib_ocult_pag('line_form_form3'); break; case 'ytdd': case 'ytdy': case 'mtdd': case 'mtdy': case 'histy': case 'histd': case 'update': case 'avprice': case 'lastyry': case 'lastyrd': case 'dyeleft': sc_exib_ocult_pag('line_form_form4'); break; case 'ozsquare': case 'ozlin': case 'sqlb': case 'cpi': case 'wpi': case 'finwt': case 'meterkilo': case 'meter2kilo': case 'grammeter': case 'grammeter2': case 'stdputup': case 'stdtube': sc_exib_ocult_pag('line_form_form5'); break; case 'date1': case 'date2': case 'date3': case 'date4': case 'date5': case 'date6': case 'name1': case 'name2': case 'name3': case 'name4': case 'name5': case 'name6': case 'method1': case 'method2': case 'method3': case 'method4': case 'method5': case 'method6': case 'test1': case 'test2': case 'test3': case 'test4': case 'lot1': case 'lot2': case 'lot3': case 'lot4': case 'lot5': case 'lot6': case 'result1': case 'result2': case 'result3': case 'result4': case 'result5': case 'result6': case 'sname1': case 'sname2': case 'sname3': case 'smethod1': case 'smethod2': case 'smethod3': case 'sstd1': case 'sstd2': case 'sstd3': case 'stol1': case 'stol2': case 'stol3': sc_exib_ocult_pag('line_form_form6'); break; case 'conv2': case 'conv3': case 'conv': case 'stdcost': case 'stdgp': case 'sprice': case 'avcost': case 'stdcosting': sc_exib_ocult_pag('line_form_form7'); break; case 'machine': case 'cgs': case 'gs': case 'k': case 'grstyle': sc_exib_ocult_pag('line_form_form8'); break; case 'lbbo': case 'bo': sc_exib_ocult_pag('line_form_form9'); break; } } 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_style' + iSeqRow).bind('blur', function() { sc_line_form_style_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_style_onfocus(this, iSeqRow) }); $('#id_sc_field_name' + iSeqRow).bind('blur', function() { sc_line_form_name_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_name_onfocus(this, iSeqRow) }); $('#id_sc_field_width' + iSeqRow).bind('blur', function() { sc_line_form_width_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_width_onfocus(this, iSeqRow) }); $('#id_sc_field_fiber' + iSeqRow).bind('blur', function() { sc_line_form_fiber_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_fiber_onfocus(this, iSeqRow) }); $('#id_sc_field_desc' + iSeqRow).bind('blur', function() { sc_line_form_desc_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_desc_onfocus(this, iSeqRow) }); $('#id_sc_field_odesc' + iSeqRow).bind('blur', function() { sc_line_form_odesc_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_odesc_onfocus(this, iSeqRow) }); $('#id_sc_field_price' + iSeqRow).bind('blur', function() { sc_line_form_price_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_price_onfocus(this, iSeqRow) }); $('#id_sc_field_med' + iSeqRow).bind('blur', function() { sc_line_form_med_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_med_onfocus(this, iSeqRow) }); $('#id_sc_field_dark' + iSeqRow).bind('blur', function() { sc_line_form_dark_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_dark_onfocus(this, iSeqRow) }); $('#id_sc_field_hand' + iSeqRow).bind('blur', function() { sc_line_form_hand_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_hand_onfocus(this, iSeqRow) }); $('#id_sc_field_sprice' + iSeqRow).bind('blur', function() { sc_line_form_sprice_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_sprice_onfocus(this, iSeqRow) }); $('#id_sc_field_nprice' + iSeqRow).bind('blur', function() { sc_line_form_nprice_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_nprice_onfocus(this, iSeqRow) }); $('#id_sc_field_npdate' + iSeqRow).bind('blur', function() { sc_line_form_npdate_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_npdate_onfocus(this, iSeqRow) }); $('#id_sc_field_end1' + iSeqRow).bind('blur', function() { sc_line_form_end1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_end1_onfocus(this, iSeqRow) }); $('#id_sc_field_end2' + iSeqRow).bind('blur', function() { sc_line_form_end2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_end2_onfocus(this, iSeqRow) }); $('#id_sc_field_end3' + iSeqRow).bind('blur', function() { sc_line_form_end3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_end3_onfocus(this, iSeqRow) }); $('#id_sc_field_date' + iSeqRow).bind('blur', function() { sc_line_form_date_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_date_onfocus(this, iSeqRow) }); $('#id_sc_field_gs' + iSeqRow).bind('blur', function() { sc_line_form_gs_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_gs_onfocus(this, iSeqRow) }); $('#id_sc_field_k' + iSeqRow).bind('blur', function() { sc_line_form_k_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_k_onfocus(this, iSeqRow) }); $('#id_sc_field_mindye' + iSeqRow).bind('blur', function() { sc_line_form_mindye_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_mindye_onfocus(this, iSeqRow) }); $('#id_sc_field_minord' + iSeqRow).bind('blur', function() { sc_line_form_minord_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_minord_onfocus(this, iSeqRow) }); $('#id_sc_field_cpi' + iSeqRow).bind('blur', function() { sc_line_form_cpi_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_cpi_onfocus(this, iSeqRow) }); $('#id_sc_field_wpi' + iSeqRow).bind('blur', function() { sc_line_form_wpi_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_wpi_onfocus(this, iSeqRow) }); $('#id_sc_field_finwt' + iSeqRow).bind('blur', function() { sc_line_form_finwt_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_finwt_onfocus(this, iSeqRow) }); $('#id_sc_field_machine' + iSeqRow).bind('blur', function() { sc_line_form_machine_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_machine_onfocus(this, iSeqRow) }); $('#id_sc_field_stdcost' + iSeqRow).bind('blur', function() { sc_line_form_stdcost_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_stdcost_onfocus(this, iSeqRow) }); $('#id_sc_field_stdgp' + iSeqRow).bind('blur', function() { sc_line_form_stdgp_onblur(this, iSeqRow) }) .bind('change', function() { sc_line_form_stdgp_onchange(this, iSeqRow) }) .bind('focus', function() { sc_line_form_stdgp_onfocus(this, iSeqRow) }); $('#id_sc_field_avcost' + iSeqRow).bind('blur', function() { sc_line_form_avcost_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_avcost_onfocus(this, iSeqRow) }); $('#id_sc_field_end4' + iSeqRow).bind('blur', function() { sc_line_form_end4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_end4_onfocus(this, iSeqRow) }); $('#id_sc_field_end5' + iSeqRow).bind('blur', function() { sc_line_form_end5_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_end5_onfocus(this, iSeqRow) }); $('#id_sc_field_yds' + iSeqRow).bind('blur', function() { sc_line_form_yds_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_yds_onfocus(this, iSeqRow) }); $('#id_sc_field_lbs' + iSeqRow).bind('blur', function() { sc_line_form_lbs_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lbs_onfocus(this, iSeqRow) }); $('#id_sc_field_lbbo' + iSeqRow).bind('blur', function() { sc_line_form_lbbo_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lbbo_onfocus(this, iSeqRow) }); $('#id_sc_field_dye' + iSeqRow).bind('blur', function() { sc_line_form_dye_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_dye_onfocus(this, iSeqRow) }); $('#id_sc_field_bo' + iSeqRow).bind('blur', function() { sc_line_form_bo_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_bo_onfocus(this, iSeqRow) }); $('#id_sc_field_gc' + iSeqRow).bind('blur', function() { sc_line_form_gc_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_gc_onfocus(this, iSeqRow) }); $('#id_sc_field_conv' + iSeqRow).bind('blur', function() { sc_line_form_conv_onblur(this, iSeqRow) }) .bind('change', function() { sc_line_form_conv_onchange(this, iSeqRow) }) .bind('focus', function() { sc_line_form_conv_onfocus(this, iSeqRow) }); $('#id_sc_field_fc' + iSeqRow).bind('blur', function() { sc_line_form_fc_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_fc_onfocus(this, iSeqRow) }); $('#id_sc_field_comment' + iSeqRow).bind('blur', function() { sc_line_form_comment_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_comment_onfocus(this, iSeqRow) }); $('#id_sc_field_spec' + iSeqRow).bind('blur', function() { sc_line_form_spec_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_spec_onfocus(this, iSeqRow) }); $('#id_sc_field_memo' + iSeqRow).bind('blur', function() { sc_line_form_memo_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_memo_onfocus(this, iSeqRow) }); $('#id_sc_field_ytdd' + iSeqRow).bind('blur', function() { sc_line_form_ytdd_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_ytdd_onfocus(this, iSeqRow) }); $('#id_sc_field_ytdy' + iSeqRow).bind('blur', function() { sc_line_form_ytdy_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_ytdy_onfocus(this, iSeqRow) }); $('#id_sc_field_mtdd' + iSeqRow).bind('blur', function() { sc_line_form_mtdd_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_mtdd_onfocus(this, iSeqRow) }); $('#id_sc_field_mtdy' + iSeqRow).bind('blur', function() { sc_line_form_mtdy_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_mtdy_onfocus(this, iSeqRow) }); $('#id_sc_field_histy' + iSeqRow).bind('blur', function() { sc_line_form_histy_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_histy_onfocus(this, iSeqRow) }); $('#id_sc_field_histd' + iSeqRow).bind('blur', function() { sc_line_form_histd_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_histd_onfocus(this, iSeqRow) }); $('#id_sc_field_update' + iSeqRow).bind('blur', function() { sc_line_form_update_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_update_onfocus(this, iSeqRow) }); $('#id_sc_field_avprice' + iSeqRow).bind('blur', function() { sc_line_form_avprice_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_avprice_onfocus(this, iSeqRow) }); $('#id_sc_field_lastyry' + iSeqRow).bind('blur', function() { sc_line_form_lastyry_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lastyry_onfocus(this, iSeqRow) }); $('#id_sc_field_lastyrd' + iSeqRow).bind('blur', function() { sc_line_form_lastyrd_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lastyrd_onfocus(this, iSeqRow) }); $('#id_sc_field_gshort' + iSeqRow).bind('blur', function() { sc_line_form_gshort_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_gshort_onfocus(this, iSeqRow) }); $('#id_sc_field_conv2' + iSeqRow).bind('blur', function() { sc_line_form_conv2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_conv2_onfocus(this, iSeqRow) }); $('#id_sc_field_conv3' + iSeqRow).bind('blur', function() { sc_line_form_conv3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_conv3_onfocus(this, iSeqRow) }); $('#id_sc_field_dept' + iSeqRow).bind('blur', function() { sc_line_form_dept_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_dept_onfocus(this, iSeqRow) }); $('#id_sc_field_dyeleft' + iSeqRow).bind('blur', function() { sc_line_form_dyeleft_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_dyeleft_onfocus(this, iSeqRow) }); $('#id_sc_field_line' + iSeqRow).bind('blur', function() { sc_line_form_line_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_line_onfocus(this, iSeqRow) }); $('#id_sc_field_yarn1' + iSeqRow).bind('blur', function() { sc_line_form_yarn1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_yarn1_onfocus(this, iSeqRow) }); $('#id_sc_field_per1' + iSeqRow).bind('blur', function() { sc_line_form_per1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_per1_onfocus(this, iSeqRow) }); $('#id_sc_field_yarn2' + iSeqRow).bind('blur', function() { sc_line_form_yarn2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_yarn2_onfocus(this, iSeqRow) }); $('#id_sc_field_per2' + iSeqRow).bind('blur', function() { sc_line_form_per2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_per2_onfocus(this, iSeqRow) }); $('#id_sc_field_yarn3' + iSeqRow).bind('blur', function() { sc_line_form_yarn3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_yarn3_onfocus(this, iSeqRow) }); $('#id_sc_field_per3' + iSeqRow).bind('blur', function() { sc_line_form_per3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_per3_onfocus(this, iSeqRow) }); $('#id_sc_field_yarn4' + iSeqRow).bind('blur', function() { sc_line_form_yarn4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_yarn4_onfocus(this, iSeqRow) }); $('#id_sc_field_per4' + iSeqRow).bind('blur', function() { sc_line_form_per4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_per4_onfocus(this, iSeqRow) }); $('#id_sc_field_ozsquare' + iSeqRow).bind('blur', function() { sc_line_form_ozsquare_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_ozsquare_onfocus(this, iSeqRow) }); $('#id_sc_field_ozlin' + iSeqRow).bind('blur', function() { sc_line_form_ozlin_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_ozlin_onfocus(this, iSeqRow) }); $('#id_sc_field_sqlb' + iSeqRow).bind('blur', function() { sc_line_form_sqlb_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_sqlb_onfocus(this, iSeqRow) }); $('#id_sc_field_meterkilo' + iSeqRow).bind('blur', function() { sc_line_form_meterkilo_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_meterkilo_onfocus(this, iSeqRow) }); $('#id_sc_field_meter2kilo' + iSeqRow).bind('blur', function() { sc_line_form_meter2kilo_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_meter2kilo_onfocus(this, iSeqRow) }); $('#id_sc_field_grammeter' + iSeqRow).bind('blur', function() { sc_line_form_grammeter_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_grammeter_onfocus(this, iSeqRow) }); $('#id_sc_field_grammeter2' + iSeqRow).bind('blur', function() { sc_line_form_grammeter2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_grammeter2_onfocus(this, iSeqRow) }); $('#id_sc_field_del1' + iSeqRow).bind('blur', function() { sc_line_form_del1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_del1_onfocus(this, iSeqRow) }); $('#id_sc_field_del2' + iSeqRow).bind('blur', function() { sc_line_form_del2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_del2_onfocus(this, iSeqRow) }); $('#id_sc_field_del3' + iSeqRow).bind('blur', function() { sc_line_form_del3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_del3_onfocus(this, iSeqRow) }); $('#id_sc_field_stdputup' + iSeqRow).bind('blur', function() { sc_line_form_stdputup_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_stdputup_onfocus(this, iSeqRow) }); $('#id_sc_field_stdtube' + iSeqRow).bind('blur', function() { sc_line_form_stdtube_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_stdtube_onfocus(this, iSeqRow) }); $('#id_sc_field_date1' + iSeqRow).bind('blur', function() { sc_line_form_date1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_date1_onfocus(this, iSeqRow) }); $('#id_sc_field_date2' + iSeqRow).bind('blur', function() { sc_line_form_date2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_date2_onfocus(this, iSeqRow) }); $('#id_sc_field_date3' + iSeqRow).bind('blur', function() { sc_line_form_date3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_date3_onfocus(this, iSeqRow) }); $('#id_sc_field_date4' + iSeqRow).bind('blur', function() { sc_line_form_date4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_date4_onfocus(this, iSeqRow) }); $('#id_sc_field_date5' + iSeqRow).bind('blur', function() { sc_line_form_date5_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_date5_onfocus(this, iSeqRow) }); $('#id_sc_field_date6' + iSeqRow).bind('blur', function() { sc_line_form_date6_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_date6_onfocus(this, iSeqRow) }); $('#id_sc_field_name1' + iSeqRow).bind('blur', function() { sc_line_form_name1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_name1_onfocus(this, iSeqRow) }); $('#id_sc_field_name2' + iSeqRow).bind('blur', function() { sc_line_form_name2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_name2_onfocus(this, iSeqRow) }); $('#id_sc_field_name3' + iSeqRow).bind('blur', function() { sc_line_form_name3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_name3_onfocus(this, iSeqRow) }); $('#id_sc_field_name4' + iSeqRow).bind('blur', function() { sc_line_form_name4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_name4_onfocus(this, iSeqRow) }); $('#id_sc_field_name5' + iSeqRow).bind('blur', function() { sc_line_form_name5_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_name5_onfocus(this, iSeqRow) }); $('#id_sc_field_name6' + iSeqRow).bind('blur', function() { sc_line_form_name6_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_name6_onfocus(this, iSeqRow) }); $('#id_sc_field_method1' + iSeqRow).bind('blur', function() { sc_line_form_method1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_method1_onfocus(this, iSeqRow) }); $('#id_sc_field_method2' + iSeqRow).bind('blur', function() { sc_line_form_method2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_method2_onfocus(this, iSeqRow) }); $('#id_sc_field_method3' + iSeqRow).bind('blur', function() { sc_line_form_method3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_method3_onfocus(this, iSeqRow) }); $('#id_sc_field_method4' + iSeqRow).bind('blur', function() { sc_line_form_method4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_method4_onfocus(this, iSeqRow) }); $('#id_sc_field_method5' + iSeqRow).bind('blur', function() { sc_line_form_method5_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_method5_onfocus(this, iSeqRow) }); $('#id_sc_field_method6' + iSeqRow).bind('blur', function() { sc_line_form_method6_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_method6_onfocus(this, iSeqRow) }); $('#id_sc_field_test1' + iSeqRow).bind('blur', function() { sc_line_form_test1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_test1_onfocus(this, iSeqRow) }); $('#id_sc_field_test2' + iSeqRow).bind('blur', function() { sc_line_form_test2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_test2_onfocus(this, iSeqRow) }); $('#id_sc_field_test3' + iSeqRow).bind('blur', function() { sc_line_form_test3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_test3_onfocus(this, iSeqRow) }); $('#id_sc_field_test4' + iSeqRow).bind('blur', function() { sc_line_form_test4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_test4_onfocus(this, iSeqRow) }); $('#id_sc_field_lot1' + iSeqRow).bind('blur', function() { sc_line_form_lot1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lot1_onfocus(this, iSeqRow) }); $('#id_sc_field_lot2' + iSeqRow).bind('blur', function() { sc_line_form_lot2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lot2_onfocus(this, iSeqRow) }); $('#id_sc_field_lot3' + iSeqRow).bind('blur', function() { sc_line_form_lot3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lot3_onfocus(this, iSeqRow) }); $('#id_sc_field_lot4' + iSeqRow).bind('blur', function() { sc_line_form_lot4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lot4_onfocus(this, iSeqRow) }); $('#id_sc_field_lot5' + iSeqRow).bind('blur', function() { sc_line_form_lot5_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lot5_onfocus(this, iSeqRow) }); $('#id_sc_field_lot6' + iSeqRow).bind('blur', function() { sc_line_form_lot6_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_lot6_onfocus(this, iSeqRow) }); $('#id_sc_field_result1' + iSeqRow).bind('blur', function() { sc_line_form_result1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_result1_onfocus(this, iSeqRow) }); $('#id_sc_field_result2' + iSeqRow).bind('blur', function() { sc_line_form_result2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_result2_onfocus(this, iSeqRow) }); $('#id_sc_field_result3' + iSeqRow).bind('blur', function() { sc_line_form_result3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_result3_onfocus(this, iSeqRow) }); $('#id_sc_field_result4' + iSeqRow).bind('blur', function() { sc_line_form_result4_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_result4_onfocus(this, iSeqRow) }); $('#id_sc_field_result5' + iSeqRow).bind('blur', function() { sc_line_form_result5_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_result5_onfocus(this, iSeqRow) }); $('#id_sc_field_result6' + iSeqRow).bind('blur', function() { sc_line_form_result6_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_result6_onfocus(this, iSeqRow) }); $('#id_sc_field_sname1' + iSeqRow).bind('blur', function() { sc_line_form_sname1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_sname1_onfocus(this, iSeqRow) }); $('#id_sc_field_sname2' + iSeqRow).bind('blur', function() { sc_line_form_sname2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_sname2_onfocus(this, iSeqRow) }); $('#id_sc_field_sname3' + iSeqRow).bind('blur', function() { sc_line_form_sname3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_sname3_onfocus(this, iSeqRow) }); $('#id_sc_field_smethod1' + iSeqRow).bind('blur', function() { sc_line_form_smethod1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_smethod1_onfocus(this, iSeqRow) }); $('#id_sc_field_smethod2' + iSeqRow).bind('blur', function() { sc_line_form_smethod2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_smethod2_onfocus(this, iSeqRow) }); $('#id_sc_field_smethod3' + iSeqRow).bind('blur', function() { sc_line_form_smethod3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_smethod3_onfocus(this, iSeqRow) }); $('#id_sc_field_sstd1' + iSeqRow).bind('blur', function() { sc_line_form_sstd1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_sstd1_onfocus(this, iSeqRow) }); $('#id_sc_field_sstd2' + iSeqRow).bind('blur', function() { sc_line_form_sstd2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_sstd2_onfocus(this, iSeqRow) }); $('#id_sc_field_sstd3' + iSeqRow).bind('blur', function() { sc_line_form_sstd3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_sstd3_onfocus(this, iSeqRow) }); $('#id_sc_field_stol1' + iSeqRow).bind('blur', function() { sc_line_form_stol1_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_stol1_onfocus(this, iSeqRow) }); $('#id_sc_field_stol2' + iSeqRow).bind('blur', function() { sc_line_form_stol2_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_stol2_onfocus(this, iSeqRow) }); $('#id_sc_field_stol3' + iSeqRow).bind('blur', function() { sc_line_form_stol3_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_stol3_onfocus(this, iSeqRow) }); $('#id_sc_field_cgs' + iSeqRow).bind('blur', function() { sc_line_form_cgs_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_cgs_onfocus(this, iSeqRow) }); $('#id_sc_field_smemo' + iSeqRow).bind('blur', function() { sc_line_form_smemo_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_smemo_onfocus(this, iSeqRow) }); $('#id_sc_field_grstyle' + iSeqRow).bind('blur', function() { sc_line_form_grstyle_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_grstyle_onfocus(this, iSeqRow) }); $('#id_sc_field_stdcosting' + iSeqRow).bind('blur', function() { sc_line_form_stdcosting_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_stdcosting_onfocus(this, iSeqRow) }); $('#id_sc_field_image' + iSeqRow).bind('blur', function() { sc_line_form_image_onblur(this, iSeqRow) }) .bind('focus', function() { sc_line_form_image_onfocus(this, iSeqRow) }); } // scJQEventsAdd function sc_line_form_style_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_style(); scCssBlur(oThis); } function sc_line_form_style_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_name_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_name(); scCssBlur(oThis); } function sc_line_form_name_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_width_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_width(); scCssBlur(oThis); } function sc_line_form_width_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_fiber_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_fiber(); scCssBlur(oThis); } function sc_line_form_fiber_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_desc_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_desc(); scCssBlur(oThis); } function sc_line_form_desc_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_odesc_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_odesc(); scCssBlur(oThis); } function sc_line_form_odesc_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_price_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_price(); scCssBlur(oThis); } function sc_line_form_price_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_med_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_med(); scCssBlur(oThis); } function sc_line_form_med_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_dark_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_dark(); scCssBlur(oThis); } function sc_line_form_dark_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_hand_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_hand(); scCssBlur(oThis); } function sc_line_form_hand_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_sprice_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_sprice(); scCssBlur(oThis); } function sc_line_form_sprice_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_nprice_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_nprice(); scCssBlur(oThis); } function sc_line_form_nprice_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_npdate_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_npdate(); scCssBlur(oThis); } function sc_line_form_npdate_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_end1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_end1(); scCssBlur(oThis); } function sc_line_form_end1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_end2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_end2(); scCssBlur(oThis); } function sc_line_form_end2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_end3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_end3(); scCssBlur(oThis); } function sc_line_form_end3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_date_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_date(); scCssBlur(oThis); } function sc_line_form_date_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_gs_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_gs(); scCssBlur(oThis); } function sc_line_form_gs_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_k_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_k(); scCssBlur(oThis); } function sc_line_form_k_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_mindye_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_mindye(); scCssBlur(oThis); } function sc_line_form_mindye_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_minord_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_minord(); scCssBlur(oThis); } function sc_line_form_minord_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_cpi_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_cpi(); scCssBlur(oThis); } function sc_line_form_cpi_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_wpi_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_wpi(); scCssBlur(oThis); } function sc_line_form_wpi_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_finwt_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_finwt(); scCssBlur(oThis); } function sc_line_form_finwt_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_machine_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_machine(); scCssBlur(oThis); } function sc_line_form_machine_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_stdcost_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_stdcost(); scCssBlur(oThis); } function sc_line_form_stdcost_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_stdgp_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_stdgp(); scCssBlur(oThis); } function sc_line_form_stdgp_onchange(oThis, iSeqRow) { do_ajax_line_form_event_stdgp_onchange(); } function sc_line_form_stdgp_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_avcost_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_avcost(); scCssBlur(oThis); } function sc_line_form_avcost_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_end4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_end4(); scCssBlur(oThis); } function sc_line_form_end4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_end5_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_end5(); scCssBlur(oThis); } function sc_line_form_end5_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_yds_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_yds(); scCssBlur(oThis); } function sc_line_form_yds_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lbs_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lbs(); scCssBlur(oThis); } function sc_line_form_lbs_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lbbo_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lbbo(); scCssBlur(oThis); } function sc_line_form_lbbo_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_dye_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_dye(); scCssBlur(oThis); } function sc_line_form_dye_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_bo_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_bo(); scCssBlur(oThis); } function sc_line_form_bo_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_gc_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_gc(); scCssBlur(oThis); } function sc_line_form_gc_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_conv_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_conv(); scCssBlur(oThis); } function sc_line_form_conv_onchange(oThis, iSeqRow) { do_ajax_line_form_event_conv_onchange(); } function sc_line_form_conv_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_fc_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_fc(); scCssBlur(oThis); } function sc_line_form_fc_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_comment_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_comment(); scCssBlur(oThis); } function sc_line_form_comment_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_spec_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_spec(); scCssBlur(oThis); } function sc_line_form_spec_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_memo_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_memo(); scCssBlur(oThis); } function sc_line_form_memo_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_ytdd_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_ytdd(); scCssBlur(oThis); } function sc_line_form_ytdd_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_ytdy_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_ytdy(); scCssBlur(oThis); } function sc_line_form_ytdy_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_mtdd_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_mtdd(); scCssBlur(oThis); } function sc_line_form_mtdd_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_mtdy_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_mtdy(); scCssBlur(oThis); } function sc_line_form_mtdy_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_histy_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_histy(); scCssBlur(oThis); } function sc_line_form_histy_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_histd_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_histd(); scCssBlur(oThis); } function sc_line_form_histd_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_update_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_update(); scCssBlur(oThis); } function sc_line_form_update_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_avprice_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_avprice(); scCssBlur(oThis); } function sc_line_form_avprice_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lastyry_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lastyry(); scCssBlur(oThis); } function sc_line_form_lastyry_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lastyrd_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lastyrd(); scCssBlur(oThis); } function sc_line_form_lastyrd_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_gshort_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_gshort(); scCssBlur(oThis); } function sc_line_form_gshort_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_conv2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_conv2(); scCssBlur(oThis); } function sc_line_form_conv2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_conv3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_conv3(); scCssBlur(oThis); } function sc_line_form_conv3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_dept_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_dept(); scCssBlur(oThis); } function sc_line_form_dept_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_dyeleft_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_dyeleft(); scCssBlur(oThis); } function sc_line_form_dyeleft_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_line_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_line(); scCssBlur(oThis); } function sc_line_form_line_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_yarn1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_yarn1(); scCssBlur(oThis); } function sc_line_form_yarn1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_per1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_per1(); scCssBlur(oThis); } function sc_line_form_per1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_yarn2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_yarn2(); scCssBlur(oThis); } function sc_line_form_yarn2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_per2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_per2(); scCssBlur(oThis); } function sc_line_form_per2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_yarn3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_yarn3(); scCssBlur(oThis); } function sc_line_form_yarn3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_per3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_per3(); scCssBlur(oThis); } function sc_line_form_per3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_yarn4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_yarn4(); scCssBlur(oThis); } function sc_line_form_yarn4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_per4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_per4(); scCssBlur(oThis); } function sc_line_form_per4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_ozsquare_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_ozsquare(); scCssBlur(oThis); } function sc_line_form_ozsquare_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_ozlin_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_ozlin(); scCssBlur(oThis); } function sc_line_form_ozlin_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_sqlb_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_sqlb(); scCssBlur(oThis); } function sc_line_form_sqlb_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_meterkilo_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_meterkilo(); scCssBlur(oThis); } function sc_line_form_meterkilo_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_meter2kilo_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_meter2kilo(); scCssBlur(oThis); } function sc_line_form_meter2kilo_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_grammeter_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_grammeter(); scCssBlur(oThis); } function sc_line_form_grammeter_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_grammeter2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_grammeter2(); scCssBlur(oThis); } function sc_line_form_grammeter2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_del1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_del1(); scCssBlur(oThis); } function sc_line_form_del1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_del2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_del2(); scCssBlur(oThis); } function sc_line_form_del2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_del3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_del3(); scCssBlur(oThis); } function sc_line_form_del3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_stdputup_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_stdputup(); scCssBlur(oThis); } function sc_line_form_stdputup_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_stdtube_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_stdtube(); scCssBlur(oThis); } function sc_line_form_stdtube_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_date1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_date1(); scCssBlur(oThis); } function sc_line_form_date1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_date2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_date2(); scCssBlur(oThis); } function sc_line_form_date2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_date3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_date3(); scCssBlur(oThis); } function sc_line_form_date3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_date4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_date4(); scCssBlur(oThis); } function sc_line_form_date4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_date5_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_date5(); scCssBlur(oThis); } function sc_line_form_date5_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_date6_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_date6(); scCssBlur(oThis); } function sc_line_form_date6_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_name1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_name1(); scCssBlur(oThis); } function sc_line_form_name1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_name2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_name2(); scCssBlur(oThis); } function sc_line_form_name2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_name3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_name3(); scCssBlur(oThis); } function sc_line_form_name3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_name4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_name4(); scCssBlur(oThis); } function sc_line_form_name4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_name5_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_name5(); scCssBlur(oThis); } function sc_line_form_name5_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_name6_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_name6(); scCssBlur(oThis); } function sc_line_form_name6_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_method1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_method1(); scCssBlur(oThis); } function sc_line_form_method1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_method2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_method2(); scCssBlur(oThis); } function sc_line_form_method2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_method3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_method3(); scCssBlur(oThis); } function sc_line_form_method3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_method4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_method4(); scCssBlur(oThis); } function sc_line_form_method4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_method5_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_method5(); scCssBlur(oThis); } function sc_line_form_method5_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_method6_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_method6(); scCssBlur(oThis); } function sc_line_form_method6_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_test1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_test1(); scCssBlur(oThis); } function sc_line_form_test1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_test2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_test2(); scCssBlur(oThis); } function sc_line_form_test2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_test3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_test3(); scCssBlur(oThis); } function sc_line_form_test3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_test4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_test4(); scCssBlur(oThis); } function sc_line_form_test4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lot1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lot1(); scCssBlur(oThis); } function sc_line_form_lot1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lot2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lot2(); scCssBlur(oThis); } function sc_line_form_lot2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lot3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lot3(); scCssBlur(oThis); } function sc_line_form_lot3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lot4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lot4(); scCssBlur(oThis); } function sc_line_form_lot4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lot5_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lot5(); scCssBlur(oThis); } function sc_line_form_lot5_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_lot6_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_lot6(); scCssBlur(oThis); } function sc_line_form_lot6_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_result1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_result1(); scCssBlur(oThis); } function sc_line_form_result1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_result2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_result2(); scCssBlur(oThis); } function sc_line_form_result2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_result3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_result3(); scCssBlur(oThis); } function sc_line_form_result3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_result4_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_result4(); scCssBlur(oThis); } function sc_line_form_result4_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_result5_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_result5(); scCssBlur(oThis); } function sc_line_form_result5_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_result6_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_result6(); scCssBlur(oThis); } function sc_line_form_result6_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_sname1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_sname1(); scCssBlur(oThis); } function sc_line_form_sname1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_sname2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_sname2(); scCssBlur(oThis); } function sc_line_form_sname2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_sname3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_sname3(); scCssBlur(oThis); } function sc_line_form_sname3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_smethod1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_smethod1(); scCssBlur(oThis); } function sc_line_form_smethod1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_smethod2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_smethod2(); scCssBlur(oThis); } function sc_line_form_smethod2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_smethod3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_smethod3(); scCssBlur(oThis); } function sc_line_form_smethod3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_sstd1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_sstd1(); scCssBlur(oThis); } function sc_line_form_sstd1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_sstd2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_sstd2(); scCssBlur(oThis); } function sc_line_form_sstd2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_sstd3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_sstd3(); scCssBlur(oThis); } function sc_line_form_sstd3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_stol1_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_stol1(); scCssBlur(oThis); } function sc_line_form_stol1_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_stol2_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_stol2(); scCssBlur(oThis); } function sc_line_form_stol2_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_stol3_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_stol3(); scCssBlur(oThis); } function sc_line_form_stol3_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_cgs_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_cgs(); scCssBlur(oThis); } function sc_line_form_cgs_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_smemo_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_smemo(); scCssBlur(oThis); } function sc_line_form_smemo_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_grstyle_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_grstyle(); scCssBlur(oThis); } function sc_line_form_grstyle_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_stdcosting_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_stdcosting(); scCssBlur(oThis); } function sc_line_form_stdcosting_onfocus(oThis, iSeqRow) { scCssFocus(oThis); } function sc_line_form_image_onblur(oThis, iSeqRow) { do_ajax_line_form_validate_image(); scCssBlur(oThis); } function sc_line_form_image_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: ['