/* mungan.ryu pgm106-109 */
if(info.SYSTEM_ID == "iPECS eMG80" || info.SYSTEM_ID == "iPECS eMG800") {
    var no_of_feature_buttons = 51;
    var v_1 = {key: "pgm106_ext_pz1", title: langs.getText("common","ext_pagezone")+" - 1", tr:[{order: 1}, {label: langs.getText("common","ext_pagezone")+" - 1"}, {name: "FFNP_4", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_2 = {};
    var v_3 = {key: "pgm106_ext_all", title: langs.getText("p106","ext_all"), tr:[{order: 1}, {label: langs.getText("p106","ext_all")}, {name: "FFNP_6", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_4 = {key: "pgm106_ame", title: langs.getText("p106","ame"), tr:[{order: 1}, {label: langs.getText("p106","ame")}, {name: "FFNP_"+(no_of_feature_buttons+2), value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_5 = {key: "pgm106_door_open1", title: langs.getText("common","dooropen")+" 1", tr:[{order: 1}, {label: langs.getText("common","dooropen")+" 1"}, {name: "FFNP_49", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_6 = {key: "pgm106_door_open2", title: langs.getText("common","dooropen")+" 2", tr:[{order: 1}, {label: langs.getText("common","dooropen")+" 2"}, {name: "FFNP_50", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_7 = {};
    var v_8 = {};
} else {
    var no_of_feature_buttons = 53;
    var v_1 = {key: "pgm106_ext_pz1", title: langs.getText("common","ext_pagezone")+" - 1", tr:[{order: 1}, {label: langs.getText("common","ext_pagezone")+" - 1"}, {name: "FFNP_4", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_2 = {key: "pgm106_ext_pz2", title: langs.getText("common","ext_pagezone")+" - 2", tr:[{order: 1}, {label: langs.getText("common","ext_pagezone")+" - 2"}, {name: "FFNP_5", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_3 = {key: "pgm106_ext_all", title: langs.getText("p106","ext_all"), tr:[{order: 1}, {label: langs.getText("p106","ext_all")}, {name: "FFNP_6", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_4 = {key: "pgm106_ame", title: langs.getText("p106","ame"), tr:[{order: 1}, {label: langs.getText("p106","ame")}, {name: "FFNP_"+(no_of_feature_buttons+2), value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_5 = {key: "pgm106_door_open1", title: langs.getText("common","dooropen")+" 1", tr:[{order: 1}, {label: langs.getText("common","dooropen")+" 1"}, {name: "FFNP_49", value: "", textfield: [{max: 4}], message: "", cont:0}]}
    var v_6 = {key: "pgm106_door_open2", title: langs.getText("common","dooropen")+" 2", tr:[{order: 1}, {label: langs.getText("common","dooropen")+" 2"}, {name: "FFNP_50", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_7 = {key: "pgm106_door_open3", title: langs.getText("common","dooropen")+" 3", tr:[{order: 1}, {label: langs.getText("common","dooropen")+" 3"}, {name: "FFNP_51", value: "", textfield: [{max: 4}], message: "", cont:0}]};
    var v_8 = {key: "pgm106_door_open4", title: langs.getText("common","dooropen")+" 4", tr:[{order: 1}, {label: langs.getText("common","dooropen")+" 4"}, {name: "FFNP_52", value: "", textfield: [{max: 4}], message: "", cont:0}]};
}

define(
	{elements:[
		{name:"tab1", tab: [
            {key: "pgm106_save", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_p106_save auth_write"}]}, 
            {key: "pgm106_mktbl", title: langs.getText("common","mktbl"), table: [{label: langs.getText("common","order"), sort: "num"}, {label: langs.getText("common","attr"), sort: "str"}, {label: langs.getText("common","val")}]},
            {key: "pgm106_int_page", title: langs.getText("common","int_pagezone"), tr:[{order: 1}, {label: langs.getText("common","int_pagezone")}, {name: "FFNPR_1_START", value: "", textfield: [{max: 4}], message: "", cont:0}, {label: " - ", cont: 1}, {name: "FFNPR_1_END", value: "", textfield: [{max: 4}], message: "", cont:1}]},
            {key: "pgm106_int_all", title: langs.getText("p106","int_all"), tr:[{order: 1}, {label: langs.getText("p106","int_all")}, {name: "FFNP_2", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_meet_me", title: langs.getText("p106","meet_me"), tr:[{order: 1}, {label: langs.getText("p106","meet_me")}, {name: "FFNP_3", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            v_1,
            v_2,
            v_3,
            {key: "pgm106_all_call", title: langs.getText("common","all_call_page"), tr:[{order: 1}, {label: langs.getText("common","all_call_page")}, {name: "FFNP_7", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_smdr_account", title: langs.getText("p106","smdr_account"), tr:[{order: 1}, {label: langs.getText("p106","smdr_account")}, {name: "FFNP_8", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_flash_comm", title: langs.getText("p106","flash_comm"), tr:[{order: 1}, {label: langs.getText("p106","flash_comm")}, {name: "FFNP_9", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_slt_redial", title: langs.getText("p106","slt_redial"), tr:[{order: 1}, {label: langs.getText("p106","slt_redial")}, {name: "FFNP_10", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_dnd", title: langs.getText("p106","dnd"), tr:[{order: 1}, {label: langs.getText("p106","dnd")}, {name: "FFNP_11", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_call_forward", title: langs.getText("common","callfw"), tr:[{order: 1}, {label: langs.getText("common","callfw")}, {name: "FFNP_12", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_speed_dial", title: langs.getText("p106","speed_dial"), tr:[{order: 1}, {label: langs.getText("p106","speed_dial")}, {name: "FFNP_13", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_act_message_wait", title: langs.getText("p106","act_message_wait"), tr:[{order: 1}, {label: langs.getText("p106","act_message_wait")}, {name: "FFNP_14", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_message_wait", title: langs.getText("p106","message_wait"), tr:[{order: 1}, {label: langs.getText("p106","message_wait")}, {name: "FFNP_15", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_slt_spa", title: langs.getText("p106","slt_spa"), tr:[{order: 1}, {label: langs.getText("p106","slt_spa")}, {name: "FFNP_16", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_dnd_cancel", title: langs.getText("p106","dnd_cancel"), tr:[{order: 1}, {label: langs.getText("p106","dnd_cancel")}, {name: "FFNP_17", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_slt_hold", title: langs.getText("p106","slt_hold"), tr:[{order: 1}, {label: langs.getText("p106","slt_hold")}, {name: "FFNP_18", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_slt_pgm", title: langs.getText("p106","slt_pgm"), tr:[{order: 1}, {label: langs.getText("p106","slt_pgm")}, {name: "FFNP_19", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_attend_unavail", title: langs.getText("p106","attend_unavail"), tr:[{order: 1}, {label: langs.getText("p106","attend_unavail")}, {name: "FFNP_20", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            v_4,
            {key: "pgm106_alarm_reset", title: langs.getText("p106","alarm_reset"), tr:[{order: 1}, {label: langs.getText("p106","alarm_reset")}, {name: "FFNP_21", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_grp_call", title: langs.getText("p106","grp_call"), tr:[{order: 1}, {label: langs.getText("p106","grp_call")}, {name: "FFNP_22", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_uni_night", title: langs.getText("p106","uni_night"), tr:[{order: 1}, {label: langs.getText("p106","uni_night")}, {name: "FFNP_23", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acc_code", title: langs.getText("p106","acc_code"), tr:[{order: 1}, {label: langs.getText("p106","acc_code")}, {name: "FFNP_24", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_walk_cos", title: langs.getText("p106","walk_cos"), tr:[{order: 1}, {label: langs.getText("p106","walk_cos")}, {name: "FFNP_25", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_duty", title: langs.getText("p106","acd_duty"), tr:[{order: 1}, {label: langs.getText("p106","acd_duty")}, {name: "FFNP_26", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_login", title: langs.getText("p106","acd_login"), tr:[{order: 1}, {label: langs.getText("p106","acd_login")}, {name: "FFNP_27", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_logout", title: langs.getText("p106","acd_logout"), tr:[{order: 1}, {label: langs.getText("p106","acd_logout")}, {name: "FFNP_28", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_help", title: langs.getText("p106","acd_help"), tr:[{order: 1}, {label: langs.getText("p106","acd_help")}, {name: "FFNP_29", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_display", title: langs.getText("p106","acd_display"), tr:[{order: 1}, {label: langs.getText("p106","acd_display")}, {name: "FFNP_30", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_status", title: langs.getText("p106","acd_status"), tr:[{order: 1}, {label: langs.getText("p106","acd_status")}, {name: "FFNP_31", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_monitor", title: langs.getText("p106","acd_monitor"), tr:[{order: 1}, {label: langs.getText("p106","acd_monitor")}, {name: "FFNP_32", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_answer", title: langs.getText("p106","acd_answer"), tr:[{order: 1}, {label: langs.getText("p106","acd_answer")}, {name: "FFNP_33", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_noanswer", title: langs.getText("p106","acd_noanswer"), tr:[{order: 1}, {label: langs.getText("p106","acd_noanswer")}, {name: "FFNP_34", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_campon", title: langs.getText("p106","campon"), tr:[{order: 1}, {label: langs.getText("p106","campon")}, {name: "FFNP_35", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_call_park", title: langs.getText("p106","call_park"), tr:[{order: 1}, {label: langs.getText("p106","call_park")}, {name: "FFNPR_2_START", value: "", textfield: [{max: 4}], message: "", cont:0}, {label: " - ", cont: 1}, {name: "FFNPR_2_END", value: "", textfield: [{max: 4}], message: "", cont:1}]},
            {key: "pgm106_sta_grp", title: langs.getText("p106","sta_grp"), tr:[{order: 1}, {label: langs.getText("p106","sta_grp")}, {name: "FFNPR_3_START", value: "", textfield: [{max: 4}], message: "", cont:0}, {label: " - ", cont: 1}, {name: "FFNPR_3_END", value: "", textfield: [{max: 4}], message: "", cont:1}]},
            {key: "pgm106_sta_usr", title: langs.getText("p106","sta_usr"), tr:[{order: 1}, {label: langs.getText("p106","sta_usr")}, {name: "FFNP_38", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_call_ring", title: langs.getText("p106","call_ring"), tr:[{order: 1}, {label: langs.getText("p106","call_ring")}, {name: "FFNP_39", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_direct_pickup", title: langs.getText("p106","direct_pickup"), tr:[{order: 1}, {label: langs.getText("p106","direct_pickup")}, {name: "FFNP_40", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acc_grp", title: langs.getText("p106","acc_grp"), tr:[{order: 1}, {label: langs.getText("p106","acc_grp")}, {name: "FFNP_"+(no_of_feature_buttons+15), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acc_indi1", title: langs.getText("p106","acc_indi"), tr:[{order: 1}, {label: langs.getText("p106","acc_indi")}, {name: "FFNP_42", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acc_held", title: langs.getText("p106","acc_held"), tr:[{order: 1}, {label: langs.getText("p106","acc_held")}, {name: "FFNP_43", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acc_held_indi", title: langs.getText("p106","acc_held_indi"), tr:[{order: 1}, {label: langs.getText("p106","acc_held_indi")}, {name: "FFNP_44", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acc_first", title: langs.getText("p106","acc_first"), tr:[{order: 1}, {label: langs.getText("p106","acc_first")}, {name: "FFNP_45", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_att_call", title: langs.getText("p106","att_call"), tr:[{order: 1}, {label: langs.getText("p106","att_call")}, {name: "FFNP_46", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_vm_enable", title: langs.getText("p106","vm_enable"), tr:[{order: 1}, {label: langs.getText("p106","vm_enable")}, {name: "FFNP_47", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_vm_cancel", title: langs.getText("p106","vm_cancel"), tr:[{order: 1}, {label: langs.getText("p106","vm_cancel")}, {name: "FFNP_48", value: "", textfield: [{max: 4}], message: "", cont:0}]},
            v_5,
            v_6,
            v_7,
            v_8,
            {key: "pgm106_mcid_req", title: langs.getText("p106","mcid_req"), tr:[{order: 1}, {label: langs.getText("p106","mcid_req")}, {name: "FFNP_"+(no_of_feature_buttons+1), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_unsuper_conf", title: langs.getText("p106","unsuper_conf"), tr:[{order: 1}, {label: langs.getText("p106","unsuper_conf")}, {name: "FFNP_"+(no_of_feature_buttons+3), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_ptt", title: langs.getText("p106","ptt"), tr:[{order: 1}, {label: langs.getText("p106","ptt")}, {name: "FFNP_"+(no_of_feature_buttons+4), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_agp_login", title: langs.getText("p106","acd_agp_login"), tr:[{order: 1}, {label: langs.getText("p106","acd_agp_login")}, {name: "FFNP_"+(no_of_feature_buttons+5), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_agp_logout", title: langs.getText("p106","acd_agp_logout"), tr:[{order: 1}, {label: langs.getText("p106","acd_agp_logout")}, {name: "FFNP_"+(no_of_feature_buttons+6), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_ags_login", title: langs.getText("p106","acd_ags_login"), tr:[{order: 1}, {label: langs.getText("p106","acd_ags_login")}, {name: "FFNP_"+(no_of_feature_buttons+7), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_ags_logout", title: langs.getText("p106","acd_ags_logout"), tr:[{order: 1}, {label: langs.getText("p106","acd_ags_logout")}, {name: "FFNP_"+(no_of_feature_buttons+8), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_wrapup", title: langs.getText("p106","wrapup"), tr:[{order: 1}, {label: langs.getText("p106","wrapup")}, {name: "FFNP_"+(no_of_feature_buttons+9), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_tnet", title: langs.getText("p106","tnet"), tr:[{order: 1}, {label: langs.getText("p106","tnet")}, {name: "FFNP_"+(no_of_feature_buttons+10), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_ent_room", title: langs.getText("p106","ent_room"), tr:[{order: 1}, {label: langs.getText("p106","ent_room")}, {name: "FFNP_"+(no_of_feature_buttons+11), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_ent_grp", title: langs.getText("p106","ent_grp"), tr:[{order: 1}, {label: langs.getText("p106","ent_grp")}, {name: "FFNP_"+(no_of_feature_buttons+12), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_sta_icr", title: langs.getText("p106","sta_icr"), tr:[{order: 1}, {label: langs.getText("p106","sta_icr")}, {name: "FFNP_"+(no_of_feature_buttons+13), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_pick_grp", title: langs.getText("p106","pick_grp"), tr:[{order: 1}, {label: langs.getText("p106","pick_grp")}, {name: "FFNP_"+(no_of_feature_buttons+14), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_emerge_pg", title: langs.getText("p106","emerge_pg"), tr:[{order: 1}, {label: langs.getText("p106","emerge_pg")}, {name: "FFNP_"+(no_of_feature_buttons+16), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_remote_ctl", title: langs.getText("p106","remote_ctl"), tr:[{order: 1}, {label: langs.getText("p106","remote_ctl")}, {name: "FFNP_"+(no_of_feature_buttons+17), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_agent_duty", title: langs.getText("p106","agent_duty"), tr:[{order: 1}, {label: langs.getText("p106","agent_duty")}, {name: "FFNP_"+(no_of_feature_buttons+18), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_slt_acnr", title: langs.getText("p106","slt_acnr"), tr:[{order: 1}, {label: langs.getText("p106","slt_acnr")}, {name: "FFNP_"+(no_of_feature_buttons+19), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_acd_super_ring", title: langs.getText("p106","acd_super_ring"), tr:[{order: 1}, {label: langs.getText("p106","acd_super_ring")}, {name: "FFNP_"+(no_of_feature_buttons+20), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_com_dir", title: langs.getText("p106","com_dir"), tr:[{order: 1}, {label: langs.getText("p106","com_dir")}, {name: "FFNP_"+(no_of_feature_buttons+21), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_isdn_hold", title: langs.getText("p106","isdn_hold"), tr:[{order: 1}, {label: langs.getText("p106","isdn_hold")}, {name: "FFNP_"+(no_of_feature_buttons+22), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_isdn_conf", title: langs.getText("p106","isdn_conf"), tr:[{order: 1}, {label: langs.getText("p106","isdn_conf")}, {name: "FFNP_"+(no_of_feature_buttons+23), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_force_ch", title: langs.getText("p106","force_ch"), tr:[{order: 1}, {label: langs.getText("p106","force_ch")}, {name: "FFNP_"+(no_of_feature_buttons+24), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_override_dnd", title: langs.getText("p106","override_dnd"), tr:[{order: 1}, {label: langs.getText("p106","override_dnd")}, {name: "FFNP_"+(no_of_feature_buttons+25), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_cancel_cb", title: langs.getText("p106","cancel_cb"), tr:[{order: 1}, {label: langs.getText("p106","cancel_cb")}, {name: "FFNP_"+(no_of_feature_buttons+26), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_trans_vsf", title: langs.getText("p106","trans_vsf"), tr:[{order: 1}, {label: langs.getText("p106","trans_vsf")}, {name: "FFNP_"+(no_of_feature_buttons+27), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_ccr", title: "CCR", tr:[{order: 1}, {label: "CCR"}, {name: "FFNP_"+(no_of_feature_buttons+28), value: "", textfield: [{max: 4}], message: "", cont:0}]},
            {key: "pgm106_sys_join", title: langs.getText("common","ucs_sys_conf_join"), tr:[{order: 1}, {label: langs.getText("common","ucs_sys_conf_join")}, {name: "FFNP_"+(no_of_feature_buttons+29), value: "", textfield: [{max: 4}], message: "", cont:0}]}
		]}
	]}
);
