define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgms017_button", button: [{btn: langs.getText("common","btn_init"), btn_type: "btn_save auth_write"}]},
            {key: "pgms017_preload", preload: [{name: "RANGE_TYPE_1", range_type: 1}, {text: langs.getText("common","enter_grpnum")+" : "}, {name: "RANGE_1_0", value: "", textfield: [{max: 8, size: 10}], message: ""}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br: 2}, {text: langs.getText("common","grp_num")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgms017_tbl_grptraffic", title: langs.getText("common","mktbl")+" ("+langs.getText("ps017","tbl_grptraffic")+")", table: [{label: langs.getText("common","order")}, {label: langs.getText("ps017","grp_category")}, {label: langs.getText("common","val")}]},
            {key: "pgms017_grp_totcall", title: langs.getText("common","total_call"),tr: [{label: "1"}, {label:langs.getText("common","total_call")}, {name: "GRP_TOTCALL", value: "", label: 1}]},
            {key: "pgms017_grp_unanscall", title: langs.getText("ps017","unanscall"),tr: [{label: "2"}, {label:langs.getText("ps017","unanscall")}, {name: "GRP_UNANSCALL", value: "", label: 1}]},
            {key: "pgms017_grp_ciq", title: langs.getText("ps017","grp_ciq"),tr: [{label: "3"}, {label:langs.getText("ps017","grp_ciq")}, {name: "GRP_CIQ", value: "", label: 1}]},
            {key: "pgms017_grp_allabc", title: langs.getText("ps017","grp_allabc"),tr: [{label: "4"}, {label:langs.getText("ps017","grp_allabc")}, {name: "GRP_ALLABC", value: "", label: 1}]},
            {key: "pgms017_grp_avrqt", title: langs.getText("ps017","grp_avrqt"),tr: [{label: "5"}, {label:langs.getText("ps017","grp_avrqt")}, {name: "GRP_AVRQT", value: "", label: 1}]},
            {key: "pgms017_grp_longqt", title: langs.getText("ps017","grp_longqt"),tr: [{label: "6"}, {label:langs.getText("ps017","grp_longqt")}, {name: "GRP_LONGQT", value: "", label: 1}]},
            {key: "pgms017_grp_allabt", title: langs.getText("ps017","grp_allabt"),tr: [{label: "7"}, {label:langs.getText("ps017","grp_allabt")}, {name: "GRP_ALLABT", value: "", label: 1}]},
            {key: "pgms017_grp_avrrt", title: langs.getText("common","avr_ring_time"),tr: [{label: "8"}, {label:langs.getText("common","avr_ring_time")}, {name: "GRP_AVRRT", value: "", label: 1}]},
            {key: "pgms017_grp_avrct", title: langs.getText("common","avr_call_time"),tr: [{label: "9"}, {label:langs.getText("common","avr_call_time")}, {name: "GRP_AVRCT", value: "", label: 1}]},
            {key: "pgms017_tbl_agenttraffic", title: langs.getText("common","mktbl")+" ("+langs.getText("ps017","tbl_agenttraffic")+")", table:[{label: langs.getText("common","order")}, {label: langs.getText("common","sta_num")}, {label: langs.getText("common","total_call")}, {label: langs.getText("ps017","unanscall")}, {label: langs.getText("common","avr_ring_time")}, {label: langs.getText("common","avr_call_time")}], 
                                                                                                                                         data_form:[{key: "", tr: [{name:"AGENT_INDEX", value:"", label: 1}, 
                                                                                                                                                                  {name:"AGENT_STNNUM", value:"", label: 1}, 
                                                                                                                                                                  {name:"AGENT_TOTCALL", value:"", label: 1}, 
                                                                                                                                                                  {name:"AGENT_UNANSCALL", value:"", label: 1}, 
                                                                                                                                                                  {name:"AGENT_AVRRT", value:"", label: 1}, 
                                                                                                                                                                  {name:"AGENT_AVRCT", value:"", label: 1}]}],
                                                                                                                                     variable_data:[]}
        ]}
    ]}
);
