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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm149_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm149_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: "pgm149_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: "pgm149_col_subtype", title: langs.getText("p149","col_subtype"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_subtype")}, {name: "COL_SUBTYPE", value: "", select: [{value: "1", option: "LCO"}, {value: "2", option: "RD"}, {value: "3", option: "LD"}, {value: "4", option: "EMC"}, {value: "5", option: "EMD"}, {value: "6", option: langs.getText("common","unused")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm149_col_sig", title: langs.getText("p149","col_sig"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_sig")}, {name: "COL_SIG", value: "", select: [{value: "1", option: langs.getText("p149","opt_col_sig_swink")}, {value: "2", option: langs.getText("p149","opt_col_sig_wseize")}, {value: "3", option: langs.getText("p149","opt_col_sig_swaws")}, {value: "4", option: langs.getText("p149","opt_col_sig_sans")}, {value: "5", option: langs.getText("p149","opt_col_sig_swans")}, {value: "6", option: langs.getText("p149","opt_col_sig_wack")}, {value: "7", option: langs.getText("p149","opt_col_sig_swass")}, {value: "8", option: langs.getText("p149","opt_col_sig_ut")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm149_col_2w4w", title: langs.getText("p149","col_2w4w"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_2w4w")}, {name: "COL_2W4W", value: "", select: [{value: "0", option: "2W"}, {value: "1", option: "4W"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm149_col_dlysrtt", title: langs.getText("p149","col_dlysrtt"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_dlysrtt")}, {name: "COL_DLYSRTT", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*50"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "0-255"}]},
            {key: "pgm149_col_winkt", title: langs.getText("p149","col_winkt"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_winkt")}, {name: "COL_WINKT", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*50"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "0-255"}]},
            {key: "pgm149_col_anst", title: langs.getText("p149","col_anst"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_anst")}, {name: "COL_ANST", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*50"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "0-255"}]},
            {key: "pgm149_col_rlst", title: langs.getText("p149","col_rlst"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_rlst")}, {name: "COL_RLST", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*50"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "0-255"}]},
            {key: "pgm149_col_ringont", title: langs.getText("p149","col_ringont"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_ringont")}, {name: "COL_RINGONT", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*50"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "4-255"}]},
            {key: "pgm149_col_ringofft", title: langs.getText("p149","col_ringofft"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_ringofft")}, {name: "COL_RINGOFFT", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*50"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "4-255"}]},
            {key: "pgm149_col_rptcndco", title: langs.getText("p149","col_rptcndco"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_rptcndco")}, {name: "COL_RPTCNDCO", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "0-255"}]},
            {key: "pgm149_col_rptcndrd", title: langs.getText("p149","col_rptcndrd"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_rptcndrd")}, {name: "COL_RPTCNDRD", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "01-20"}]},
            {key: "pgm149_col_rstoptmr", title: langs.getText("p149","col_rstoptmr"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p149","col_rstoptmr")}, {name: "COL_RSTOPTMR", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*1"+langs.getText("common","cmt_second")+")", cont: 1}, {label: "0-255"}]}
		]}
	]}
);
