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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm429_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm429_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: "pgm429_mktbl", table: [{label: langs.getText("common","attr")}, {label: langs.getText("common","val")}, {label: langs.getText("common","range")}]},
            {key: "pgm429_lgcm_sicofi", tr:[{label: "CO Line Type"}, {name: "LGCM_SICOFI", value: "", select: [{value: "0", option: langs.getText("p429","opt_lgcm_sicofi_no")}, {value: "1", option: langs.getText("common","type")+" 1"}, {value: "2", option: langs.getText("common","type")+" 2"}, {value: "3", option: langs.getText("common","type")+" 3"}, {value: "4", option: langs.getText("common","type")+" 4"}, {value: "5", option: langs.getText("common","type")+" 5"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm429_ring_reg", tr:[{label: langs.getText("p429","ring_det")}, {name:"LGCM_RINGREG", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: langs.getText("p429","cmt_ring_reg")}]}
		]}
	]}
);
