if(info.NO_OF_COLS) {
    var range_guide = " (1 - "+info.NO_OF_COLS+")";
} else {
    var range_guide = "";
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm147_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm147_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_corange")+range_guide+" : "}, {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","corange")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm147_mktbl", title: langs.getText("common","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","attr")}, {label: langs.getText("common","val")}, {label: langs.getText("common","range")}]},
            {key: "pgm147_copre_timer", title: langs.getText("p147","copre_timer"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p147","copre_timer")}, {name: "COPRE_TIMER", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "(*1"+langs.getText("common","cmt_second")+")", cont: 1}, {label: "00-99"}]},
            {key: "pgm147_copre_iclididx", title: langs.getText("p147","copre_iclididx"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p147","copre_iclididx")}, {name: "COPRE_ICLIDIDX", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: langs.getText("common","max3digit")+"(001-250)"}]},
            {key: "pgm147_copre_vmid", title: langs.getText("p147","copre_vmid"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p147","copre_vmid")}, {name: "COPRE_VMID", value: "", textfield: [{max: 4, size: 8}], message: "", cont: 0}, {label: langs.getText("p147","cmt_copre_vmid")}]}
		]}
	]}
);
