define(
    {elements:[
        {name:"tab1", tab: [
				{key: "pgm2270_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","daytime")+":"}, {name: "BIND_RANGE_1_2", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: ""}, 
															  {text: " "+langs.getText("common","nighttime")+":"}, {name: "BIND_RANGE_2_2", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: ""}, 
															  {text: " "+langs.getText("common","timed_ring")+":"}, {name: "BIND_RANGE_3_2", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: ""}, {br: 1},
															  {text: langs.getText("common","type")+":"}, {name: "BIND_RANGE_END_2", value: "", select:[{value: "1", option: langs.getText("common","info_stn")}, {value: "2", option: langs.getText("common","system")}], sel_type: "rtype_select target_2", message: ""}, 
															  {name: "RANGE_TYPE_2", range_type: 1}, {text: " "+langs.getText("common","range")+":"}, {name: "RANGE_2_1", value: "", textfield: [{max: 40, size: 50}], message: "", help: langs.re_toolTip()},
															  {btn: langs.getText("p2270","btn_filter"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1},
															  {name: "RANGE_VIEW_1", value: "", text: 1, show: 0}, {name: "RANGE_VIEW_2", value: "", text: 1, show: 0}, {br: 2}]},
				{key: "pgm2270_chcos", contents: [{text: langs.getText("p2270","chcos")+" : "+langs.getText("common","daytime")+" "}, {name: "CH_DCOS", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: ""},
															 {text: " "+langs.getText("common","nighttime")+" "}, {name: "CH_NCOS", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: ""},
															 {text: " "+langs.getText("common","timed_ring")+" "}, {name: "CH_TCOS", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: ""}, {br: 1},
															 {text: langs.getText("common","type")+" : "}, {name: "STA_ONLY", value: "", chk_type: "chk_selectall", chk: 1}, {text: " "+langs.getText("common","info_stn")+" "}, {name: "SYS_ONLY", value: "", chk_type: "chk_selectall", chk: 1}, {text: " "+langs.getText("common","system")}, {br: 1},
															 {btn: langs.getText("common","change"), btn_type: "btn_save auth_write"}, {br: 2}]},
				{key: "pgm2270_mktbl", table: [{label: langs.getText("adm_menu","pgm2270"), colspan: 4}],
                               data_form: [{key: "", tr: [{name: "COS_TYPE", value: "", cos_type: 1}, 
                                                          {name: "COS_INDEX", value: "", label: 1},
                                                          {name: "COS_DCOS", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: "", show: 0},
                                                          {name: "COS_NCOS", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: "", show: 0},
                                                          {name: "COS_TCOS", value: "", select:[{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: "", show: 0}]}],
                           variable_data: []}
        ]}
    ]}
);