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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm141_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm141_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: "pgm141_mktbl", title: langs.getText("common","mktbl"), table: [{name: "CHKFLAG", value: "", check_flag: 1}, {label: langs.getText("common","order")}, {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: "pgm141_ana_lsig", title: langs.getText("p141","ana_lsig"), tr:[{label: "1"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_lsig")}, {name: "ANA_LSIG", value: "", select: [{value: "0", option: langs.getText("common","pulse")}, {value: "1", option: "DTMF"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm141_ana_datastn", title: langs.getText("p141","ana_datastn"), tr:[{label: "2"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_datastn")}, {name: "ANA_DATASTN", value: "", textfield: [{max: 8}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm141_ana_metunit", title: langs.getText("p141","ana_metunit"), tr:[{label: "3"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_metunit")}, {name: "ANA_METUNIT", value: "", select: [{value: "0", option: langs.getText("common","opt_none")}, {value: "1", option: "50Hz"}, {value: "2", option: "12KHz"}, {value: "3", option: "16KHz"}, {value: "4", option: "SPR"}, {value: "5", option: "PPR"}, {value: "6", option: "NPR"}
				/* , {value: "7", option: "AOC-S"}, {value: "8", option: "AOC-1"}, {value: "9", option: "AOC-2"}, {value: "10", option: "AOC-3"}, {value: "11", option: "AOC-4"} */
				], message: "", cont: 0}, {label: ""}]},
				{key: "pgm141_ana_linedrop", title: langs.getText("p141","ana_linedrop"), tr:[{label: "4"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_linedrop")}, {name: "ANA_LINEDROP", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm141_ana_cptontalk", title: langs.getText("p141","ana_cptontalk"), tr:[{label: "5"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_cptontalk")}, {name: "ANA_CPTONTALK", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm141_ana_flashtime", title: langs.getText("p141","ana_flashtime"), tr:[{label: "6"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_flashtime")}, {name: "ANA_FLASHTIME", value: "", textfield: [{max: 3}], message: "", cont: 0}, {label: "(*10"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "000-300"}]},
				{key: "pgm141_ana_openloop", title: langs.getText("p141","ana_openloop"), tr:[{label: "7"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_openloop")}, {name: "ANA_OPENLOOP", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "(*100"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "00-20"}]},
				{key: "pgm141_ana_iclidr", title: langs.getText("p141","ana_iclidr"), tr:[{label: "8"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_iclidr")}, {name: "ANA_ICLIDR", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "(*1"+langs.getText("common","cmt_second")+")", cont: 1}, {label: "00-20"}]},
				{key: "pgm141_ana_proctor", title: langs.getText("p141","ana_proctor"), tr:[{label: "9"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_proctor")}, {name: "ANA_PROCTOR", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm141_ana_lcomon", title: langs.getText("p141","ana_lcomon"), tr:[{label: "10"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_lcomon")}, {name: "ANA_LCOMON", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm141_ana_ldinttmr", title: langs.getText("p141","ana_ldinttmr"), tr:[{label: "11"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_ldinttmr")}, {name: "ANA_LDINTTMR", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "(*1"+langs.getText("common","cmt_second")+")", cont: 1}, {label: "00-20"}]},
				{key: "pgm141_ana_ldpausecnt", title: langs.getText("p141","ana_ldpausecnt"), tr:[{label: "12"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p141","ana_ldpausecnt")}, {name: "ANA_LDPAUSECNT", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "", cont: 1}, {label: "0-10"}]},
		]}
	]}
);
