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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm142_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm142_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: "pgm142_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"), sort: "str"}, {label: langs.getText("common","val")}, {label: langs.getText("common","range")}]},
            {key: "pgm142_voip_dualopt", tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p142","voip_dualopt")}, {name: "VOIP_DUALOPT", value: "", select: [{value: "1", option: langs.getText("p142","opt_voip_dualopt_com")}, {value: "2", option: langs.getText("p142","opt_voip_dualopt_h323")}, {value: "3", option: langs.getText("p142","opt_voip_dualopt_sip")}, {value: "4", option: langs.getText("p142","opt_voip_dualopt_rtp")}, {value: "5", option: langs.getText("p142","opt_voip_dualopt_hr")}, {value: "6", option: langs.getText("p142","opt_voip_dualopt_sr")}], message: "", cont: 0}, {label: ""}]}
		]}
	]}
);
