if(info.NO_OF_ICM_GRPS) {
    var range_guide = " (0 - "+info.NO_OF_ICM_GRPS+")";
} else {
    var range_guide = "";
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm233_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm233_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_index")+range_guide+" : "}, {name: "RANGE_1_0", value: "", textfield: [{size: 5, max: 4}], message: ""}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br: 2}, {text: langs.getText("p233","rtbl_index")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm233_mktbl", table:[{label: langs.getText("p233","week")}, {label: langs.getText("common","index")}, {label: langs.getText("common","val")},{label: langs.getText("common","range")}]},
            {key: "pgm233_rtbl_mon", struct:[{tr:[{label: langs.getText("common","monday"), rowspan: 4}, {label: langs.getText("p233","rtbl_day"), cont: 0}, {name:"RTBL_0_DAY", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]},
                                             {tr:[{label: langs.getText("p233","rtbl_night"), cont: 0}, {name:"RTBL_0_NIGHT", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]},
                                             {tr:[{label: langs.getText("p233","rtbl_timedstart"), cont: 0}, {name:"RTBL_0_TIMEDSTART", value: "",	textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedend"), cont: 0}, {name:"RTBL_0_TIMEDEND", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}]},
            {key: "pgm233_rtbl_tue", struct:[{tr:[{label: langs.getText("common","tuesday"), rowspan: 4}, {label: langs.getText("p233","rtbl_day"), cont: 0}, {name:"RTBL_1_DAY", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_night"), cont: 0}, {name:"RTBL_1_NIGHT", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedstart"), cont: 0}, {name:"RTBL_1_TIMEDSTART", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedend"), cont: 0}, {name:"RTBL_1_TIMEDEND", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}]},
            {key: "pgm233_rtbl_wed", struct:[{tr:[{label: langs.getText("common","wednesday"), rowspan: 4}, {label: langs.getText("p233","rtbl_day"), cont: 0}, {name:"RTBL_2_DAY", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_night"), cont: 0}, {name:"RTBL_2_NIGHT", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedstart"), cont: 0}, {name:"RTBL_2_TIMEDSTART", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedend"), cont: 0}, {name:"RTBL_2_TIMEDEND", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}]},
            {key: "pgm233_rtbl_thu", struct:[{tr:[{label: langs.getText("common","thursday"), rowspan: 4}, {label: langs.getText("p233","rtbl_day"), cont: 0}, {name:"RTBL_3_DAY", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_night"), cont: 0}, {name:"RTBL_3_NIGHT", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedstart"), cont: 0}, {name:"RTBL_3_TIMEDSTART", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedend"), cont: 0}, {name:"RTBL_3_TIMEDEND", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}]},
            {key: "pgm233_rtbl_fri", struct:[{tr:[{label: langs.getText("common","friday"), rowspan: 4}, {label: langs.getText("p233","rtbl_day"), cont: 0}, {name:"RTBL_4_DAY", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_night"), cont: 0}, {name:"RTBL_4_NIGHT", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedstart"), cont: 0}, {name:"RTBL_4_TIMEDSTART", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedend"), cont: 0}, {name:"RTBL_4_TIMEDEND", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}]},
            {key: "pgm233_rtbl_sat", struct:[{tr:[{label: langs.getText("common","saturday"), rowspan: 4}, {label: langs.getText("p233","rtbl_day"), cont: 0}, {name:"RTBL_5_DAY", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
															{tr:[{label: langs.getText("p233","rtbl_night"), cont: 0}, {name:"RTBL_5_NIGHT", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
															{tr:[{label: langs.getText("p233","rtbl_timedstart"), cont: 0}, {name:"RTBL_5_TIMEDSTART", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
															{tr:[{label: langs.getText("p233","rtbl_timedend"), cont: 0}, {name:"RTBL_5_TIMEDEND", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}]},
            {key: "pgm233_rtbl_sun", struct:[{tr:[{label: langs.getText("common","Sunday"), rowspan: 4}, {label: langs.getText("p233","rtbl_day"), cont: 0}, {name:"RTBL_6_DAY", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_night"), cont: 0}, {name:"RTBL_6_NIGHT", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedstart"), cont: 0}, {name:"RTBL_6_TIMEDSTART", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}, 
                                             {tr:[{label: langs.getText("p233","rtbl_timedend"), cont: 0}, {name:"RTBL_6_TIMEDEND", value: "", textfield:[{max: 4, size: 5}], message: "", cont: 0}, {label: langs.getText("p233","cmt_max4digit")}, {br: 1, cont: 1}, {label: "0000-2359", cont: 1}]}]},
		]}
    ]}
);
