define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm220_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm220_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: "pgm220_lcr_access", tr: [{order: 1}, {label: langs.getText("p220","lcr_access")}, {name:"LCR_ACCESS", value:"", select:[{value: "0", option: langs.getText("common","opt_disable")}, 
                                                                                                                               {value: "1", option: langs.getText("p220","opt_lcr_access_onlyloop")}, 
                                                                                                                               {value: "2", option: langs.getText("p220","opt_lcr_access_intloop")}, 
                                                                                                                               {value: "3", option: langs.getText("p220","opt_lcr_access_loopco")}, 
                                                                                                                               {value: "4", option: langs.getText("p220","opt_lcr_access_intloopco")}, 
                                                                                                                               {value: "5", option: langs.getText("p220","opt_lcr_access_intloopcodirloop")}], colspan: 2, message: "", cont: 0}, {label: ""}]},
            {key: "pgm220_lcr_day_zone", struct: [{tr: [{order: 1, rowspan: 7}, {label: langs.getText("common","day_zone"), rowspan: 7}, {label: langs.getText("common","monday")}, {name:"LCR_DAY_0", value:"", select:[{value: "0", option: langs.getText("common","zone")+" 1"}, {value: "1", option: langs.getText("common","zone")+" 2"}, {value: "2", option: langs.getText("common","zone")+" 3"}], message: "", cont: 0}, {label: ""}]},
                                                  {tr: [{label: langs.getText("common","tuesday")}, {name:"LCR_DAY_1", value:"", select:[{value: "0", option: langs.getText("common","zone")+" 1"}, {value: "1", option: langs.getText("common","zone")+" 2"}, {value: "2", option: langs.getText("common","zone")+" 3"}], message: "", cont: 0}, {label: ""}]},
                                                  {tr: [{label: langs.getText("common","wednesday")}, {name:"LCR_DAY_2", value:"", select:[{value: "0", option: langs.getText("common","zone")+" 1"}, {value: "1", option: langs.getText("common","zone")+" 2"}, {value: "2", option: langs.getText("common","zone")+" 3"}], message: "", cont: 0}, {label: ""}]},
                                                  {tr: [{label: langs.getText("common","thursday")}, {name:"LCR_DAY_3", value:"", select:[{value: "0", option: langs.getText("common","zone")+" 1"}, {value: "1", option: langs.getText("common","zone")+" 2"}, {value: "2", option: langs.getText("common","zone")+" 3"}], message: "", cont: 0}, {label: ""}]},
                                                  {tr: [{label: langs.getText("common","friday")}, {name:"LCR_DAY_4", value:"", select:[{value: "0", option: langs.getText("common","zone")+" 1"}, {value: "1", option: langs.getText("common","zone")+" 2"}, {value: "2", option: langs.getText("common","zone")+" 3"}], message: "", cont: 0}, {label: ""}]},
                                                  {tr: [{label: langs.getText("common","saturday")}, {name:"LCR_DAY_5", value:"", select:[{value: "0", option: langs.getText("common","zone")+" 1"}, {value: "1", option: langs.getText("common","zone")+" 2"}, {value: "2", option: langs.getText("common","zone")+" 3"}], message: "", cont: 0}, {label: ""}]},
                                                  {tr: [{label: langs.getText("common","Sunday")}, {name:"LCR_DAY_6", value:"", select:[{value: "0", option: langs.getText("common","zone")+" 1"}, {value: "1", option: langs.getText("common","zone")+" 2"}, {value: "2", option: langs.getText("common","zone")+" 3"}], message: "", cont: 0}, {label: ""}]}]},
            {key: "pgm220_lcr_time_zone1", struct: [{tr: [{order: 1, rowspan: 3}, {label: langs.getText("p220","lcr_time_zone")+" 1", rowspan: 3}, {label: langs.getText("p220","lcr_d_0")}, {name:"LCR_0_0_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_0_0_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]},
                                                    {tr: [{label: langs.getText("p220","lcr_d_1")}, {name:"LCR_0_1_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_0_1_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]},
                                                    {tr: [{label: langs.getText("p220","lcr_d_2")}, {name:"LCR_0_2_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_0_2_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]}]},
            {key: "pgm220_lcr_time_zone2", struct: [{tr: [{order: 1, rowspan: 3}, {label: langs.getText("p220","lcr_time_zone")+" 2", rowspan: 3}, {label: langs.getText("p220","lcr_d_0")}, {name:"LCR_1_0_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_1_0_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]},
                                                    {tr: [{label: langs.getText("p220","lcr_d_1")}, {name:"LCR_1_1_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_1_1_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]},
                                                    {tr: [{label: langs.getText("p220","lcr_d_2")}, {name:"LCR_1_2_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_1_2_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]}]},
            {key: "pgm220_lcr_time_zone3", struct: [{tr: [{order: 1, rowspan: 3}, {label: langs.getText("p220","lcr_time_zone")+" 3", rowspan: 3}, {label: langs.getText("p220","lcr_d_0")}, {name:"LCR_2_0_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_2_0_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]},
                                                    {tr: [{label: langs.getText("p220","lcr_d_1")}, {name:"LCR_2_1_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_2_1_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]},
                                                    {tr: [{label: langs.getText("p220","lcr_d_2")}, {name:"LCR_2_2_START", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"LCR_2_2_END", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 1}, {label: "00-24"}]}]}
        ]}
    ]}
);