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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm150_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm150_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: "pgm150_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: "pgm150_isdn_typeofpx", title: langs.getText("p150","isdn_typeofpx"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p150","isdn_typeofpx")}, {name: "ISDN_TYPEOFPX", value: "", select: [{value: "1", option: "NI1"}, {value: "2", option: "NI2"}, {value: "3", option: "5ESS"}, {value: "4", option: "Nortel"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm150_isdn_spidnum", title: langs.getText("p150","isdn_spidnum"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p150","isdn_spidnum")}, {name: "ISDN_SPIDNUM", value: "", textfield: [{max: 20}], message: "", cont: 0}, {label: langs.getText("common","max20digit")}]},
            {key: "pgm150_isdn_dnnum", title: langs.getText("p150","isdn_dnnum"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p150","isdn_dnnum")}, {name: "ISDN_DNNUM", value: "", textfield: [{max: 20}], message: "", cont: 0}, {label: langs.getText("common","max20digit")}]},
            {key: "pgm150_isdn_ektsmode", title: langs.getText("p150","isdn_ektsmode"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p150","isdn_ektsmode")}, {name: "ISDN_EKTSMODE", value: "", select: [{value: "0", option: langs.getText("common","opt_none")}, {value: "1", option: "EKTS"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm150_isdn_t3", title: langs.getText("p150","isdn_t3"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p150","isdn_t3")}, {name: "ISDN_T3", value: "", select: [{value: "0", option: langs.getText("common","opt_unknown")}, {value: "1", option: langs.getText("common","international")}, {value: "2", option: langs.getText("common","national")}, {value: "3", option: langs.getText("p150","opt_net")}, {value: "4", option: langs.getText("common","subscriber")}, {value: "5", option: langs.getText("common","opt_abbreviated")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm150_isdn_t4", title: langs.getText("p150","isdn_t4"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p150","isdn_t4")}, {name: "ISDN_T4", value: "", select: [{value: "0", option: langs.getText("common","opt_unknown")}, {value: "1", option: langs.getText("common","international")}, {value: "2", option: langs.getText("common","national")}, {value: "3", option: langs.getText("p150","opt_net")}, {value: "4", option: langs.getText("common","subscriber")}, {value: "5", option: langs.getText("common","opt_abbreviated")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm150_isdn_t7", title: langs.getText("p150","isdn_t7"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p150","isdn_t7")}, {name: "ISDN_T7", value: "", select: [{value: "0", option: langs.getText("common","opt_unknown")}, {value: "1", option: langs.getText("common","international")}, {value: "2", option: langs.getText("common","national")}, {value: "3", option: langs.getText("p150","opt_net")}, {value: "4", option: langs.getText("common","subscriber")}, {value: "5", option: langs.getText("common","opt_abbreviated")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm150_isdn_t10", title: langs.getText("p150","isdn_t10"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p150","isdn_t10")}, {name: "ISDN_T10", value: "", select: [{value: "0", option: langs.getText("common","opt_unknown")}, {value: "1", option: langs.getText("common","international")}, {value: "2", option: langs.getText("common","national")}, {value: "3", option: langs.getText("p150","opt_net")}, {value: "4", option: langs.getText("common","subscriber")}, {value: "5", option: langs.getText("common","opt_abbreviated")}], message: "", cont: 0}, {label: ""}]}
		]}
	]}
);
