define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm1271_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm1271_preload", preload: [{name: "RANGE_TYPE_1", range_type: 1}, {text: langs.getText("common","enter_stnrange")+" : "}, {name: "RANGE_1_1", value: "", textfield: [{max: 40, size: 50}], message: "", help: langs.re_toolTip()}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br: 2}, {text: langs.getText("common","stnrange")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm1271_mktbl", table: [{name: "CHKFLAG", value: "", check_flag: 1}, {label: langs.getText("common","order"), sort: "num"}, {btn: langs.getText("common","btn_chkall"), btn_type: "btn_checkall"}, {label: langs.getText("common","condition")}, {label: langs.getText("p1271","call_type")}, {label: langs.getText("common","time")}, {label: langs.getText("p1271","user_gret")}]},
            {key: "pgm1271_un_int_d", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","unconditional"), rowspan:6}, {label: langs.getText("p1271","intern"), rowspan:3},{label: langs.getText("common","daytime")},
									                                          {name:"USER_GRET_UN_INT_D", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_un_int_n", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")},
									                                          {name:"USER_GRET_UN_INT_N", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_un_int_t", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","timed")},
									                                          {name:"USER_GRET_UN_INT_T", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_un_ext_d", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","extern"), rowspan:3},{label: langs.getText("common","daytime")},
									                                          {name:"USER_GRET_UN_EXT_D", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_un_ext_n", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")},
									                                          {name:"USER_GRET_UN_EXT_N", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_un_ext_t", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","timed")},
									                                          {name:"USER_GRET_UN_EXT_T", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},

            {key: "pgm1271_bu_int_d", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","busy"), rowspan:6}, {label: langs.getText("p1271","intern"), rowspan:3},{label: langs.getText("common","daytime")},
									                                          {name:"USER_GRET_BU_INT_D", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_bu_int_n", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")},
									                                          {name:"USER_GRET_BU_INT_N", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_bu_int_t", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","timed")},
									                                          {name:"USER_GRET_BU_INT_T", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_bu_ext_d", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","extern"), rowspan:3},{label: langs.getText("common","daytime")},
									                                          {name:"USER_GRET_BU_EXT_D", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_bu_ext_n", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")},
									                                          {name:"USER_GRET_BU_EXT_N", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_bu_ext_t", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","timed")},
									                                          {name:"USER_GRET_BU_EXT_T", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},

            {key: "pgm1271_dnd_int_d", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","dnd"), rowspan:6}, {label: langs.getText("p1271","intern"), rowspan:3},{label: langs.getText("common","daytime")},
									                                          {name:"USER_GRET_DND_INT_D", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_dnd_int_n", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")},
									                                          {name:"USER_GRET_DND_INT_N", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_dnd_int_t", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","timed")},
									                                          {name:"USER_GRET_DND_INT_T", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_dnd_ext_d", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","extern"), rowspan:3},{label: langs.getText("common","daytime")},
									                                          {name:"USER_GRET_DND_EXT_D", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_dnd_ext_n", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")},
									                                          {name:"USER_GRET_DND_EXT_N", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_dnd_ext_t", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","timed")},
									                                          {name:"USER_GRET_DND_EXT_T", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
																			  
            {key: "pgm1271_no_int_d", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","noanswer"), rowspan:6}, {label: langs.getText("p1271","intern"), rowspan:3},{label: langs.getText("common","daytime")},
									                                          {name:"USER_GRET_NOANS_INT_D", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_no_int_n", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")},
									                                          {name:"USER_GRET_NOANS_INT_N", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_no_int_t", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","timed")},
									                                          {name:"USER_GRET_NOANS_INT_T", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_no_ext_d", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","extern"), rowspan:3},{label: langs.getText("common","daytime")},
									                                          {name:"USER_GRET_NOANS_EXT_D", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_no_ext_n", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")},
									                                          {name:"USER_GRET_NOANS_EXT_N", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]},
            {key: "pgm1271_no_ext_t", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p1271","timed")},
									                                          {name:"USER_GRET_NOANS_EXT_T", value:"0", select:[{value: "0", option: langs.getText("p1271","opt_user_gret1")}, {value: "1", option: langs.getText("p1271","opt_user_gret2")}, {value: "2", option: langs.getText("p1271","opt_user_gret3")}, {value: "3", option: langs.getText("p1271","opt_user_gret4")}], message: "", cont: 0}]}
		]}
	]}
);
