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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm145_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm145_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: "pgm145_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: "pgm145_did_sig", title: langs.getText("p145","did_sig"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p145","did_sig")}, {name: "DID_SIG", value: "", select: [{value: "1", option: langs.getText("common","immediate")}, {value: "2", option: "Wink"}, {value: "3", option: langs.getText("p145","opt_did_sig_dd")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm145_did_conv", title: langs.getText("p145","did_conv"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p145","did_conv")}, {name: "DID_CONV", value: "", select: [{value: "0", option: langs.getText("common","did_digit_mask")}, {value: "1", option: langs.getText("common","use_asis_notreat")}, {value: "2", option: langs.getText("common","mod_use_flexdidconvtbl")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm145_did_receivpx", title: langs.getText("common","num_expectdid"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","num_expectdid")}, {name: "DID_RECEIVPX", value: "", textfield: [{max: 1, size: 5}], message: "", cont: 0}, {label: "2 - 4"}]},
            {key: "pgm145_did_dgtconv", title: langs.getText("common","did_digit_mask"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","did_digit_mask")}, {name: "DID_DGTCONV", value: "", textfield: [{max: 4, size: 10}], message: "", cont: 0}, {label: langs.getText("p145","cmt_did_dgtconv")}]}
		]}
	]}
);
