define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm178_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm178_mktbl", table: [{label: langs.getText("common","order")}, {label: langs.getText("common","attr")}, {label: langs.getText("common","val"), colspan: 2}, {label: langs.getText("common","range")}]},
            {key: "pgm178_tdset", th: [{label: langs.getText("p178","tdset")+" ("+langs.getText("p178","tdset_dontsave")+" : ", colspan: 5}, {chk_type: "chk_p178_dontsave", chk: 1, cont: 1}, {label: ")", cont: 1}]},
            {key: "pgm178_tdset_time", struct: [{tr: [{order: 1, rowspan: 2}, {label: langs.getText("common","time"), rowspan: 2}, {label: langs.getText("common","hour")}, {name: "TDSET_HOUR", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "00-23"}]},
                                                {tr: [{label: langs.getText("common","full_minute")}, {name: "TDSET_MIN", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "00-59"}]}]},
            {key: "pgm178_tdset_date", struct: [{tr: [{order: 1, rowspan: 3}, {label: langs.getText("common","date"), rowspan: 3}, {label: langs.getText("p178","tdset_mon")}, {name: "TDSET_MON", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "01-12"}]},
                                                {tr: [{label: langs.getText("common","txt_day")}, {name: "TDSET_DAY", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "01-31"}]},
                                                {tr: [{label: langs.getText("p178","tdset_year")}, {name: "TDSET_YEAR", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "00-99"}]}]},
            {key: "pgm178_dst", th: [{label: langs.getText("p178","dst"), colspan: 5}]},
            {key: "pgm178_tdset_dstmode", tr: [{order: 1}, {label: langs.getText("p178","tdset_dstmode")}, {name: "TDSET_DSTMODE", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], colspan: 2, message: "", cont: 0}, {label: ""}]},
            {key: "pgm178_tdset_dststime", struct: [{tr: [{order: 1, rowspan: 4}, {label: langs.getText("p178","tdset_dststime"), rowspan: 4}, {label: langs.getText("p178","tdset_mon")}, {name: "TDSET_DSTSTARTMONTH", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "01-12"}]},
                                                    {tr: [{label: ""}, {name: "TDSET_DSTSTARTWEEKDAYTH", value: "", select: [{value: "1", option: langs.getText("common","first")}, {value: "2", option: langs.getText("common","second")}, {value: "3", option: langs.getText("common","third")}, {value: "4", option: langs.getText("common","fourth")}, {value: "7", option: langs.getText("common","last")}], message: "", cont: 0}, {label: ""}]},
                                                    {tr: [{label: langs.getText("p178","tdset_weekday")}, {name: "TDSET_DSTSTARTWEEKDAY", value: "", select: [{value: "0", option: langs.getText("common","Sunday")}, {value: "1", option: langs.getText("common","monday")}, {value: "2", option: langs.getText("common","tuesday")}, {value: "3", option: langs.getText("common","wednesday")}, {value: "4", option: langs.getText("common","thursday")}, {value: "5", option: langs.getText("common","friday")}, {value: "6", option: langs.getText("common","saturday")}], message: "", cont: 0}, {label: ""}]},
                                                    {tr: [{label: langs.getText("common","hour")}, {name: "TDSET_DSTSTARTHOUR", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "00-23"}]}]},
            {key: "pgm178_tdset_dstetime", struct: [{tr: [{order: 1, rowspan: 4}, {label: langs.getText("p178","tdset_dstetime"), rowspan: 4}, {label: langs.getText("p178","tdset_mon")}, {name: "TDSET_DSTENDMONTH", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "01-12"}]},
                                                    {tr: [{label: ""}, {name: "TDSET_DSTENDWEEKDAYTH", value: "", select: [{value: "1", option: langs.getText("common","first")}, {value: "2", option: langs.getText("common","second")}, {value: "3", option: langs.getText("common","third")}, {value: "4", option: langs.getText("common","fourth")}, {value: "7", option: langs.getText("common","last")}], message: "", cont: 0}, {label: ""}]},
                                                    {tr: [{label: langs.getText("p178","tdset_weekday")}, {name: "TDSET_DSTENDWEEKDAY", value: "", select: [{value: "0", option: langs.getText("common","Sunday")}, {value: "1", option: langs.getText("common","monday")}, {value: "2", option: langs.getText("common","tuesday")}, {value: "3", option: langs.getText("common","wednesday")}, {value: "4", option: langs.getText("common","thursday")}, {value: "5", option: langs.getText("common","friday")}, {value: "6", option: langs.getText("common","saturday")}], message: "", cont: 0}, {label: ""}]},
                                                    {tr: [{label: langs.getText("common","hour")}, {name: "TDSET_DSTENDHOUR", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "00-23"}]}]}
		]}
   ]}
);