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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm152_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm152_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: "pgm152_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: "pgm152_t1_pause", title: langs.getText("common","pause_timer"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","pause_timer")}, {name: "T1_PAUSE", value: "", textfield: [{max: 1, size: 5}], message: "", cont: 0}, {label: "(*1"+langs.getText("common","cmt_second")+")", cont: 1}, {label: "1-9"}]},
            {key: "pgm152_t1_release_guard_time", title: langs.getText("p152","t1_release_guard_time"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_release_guard_time")}, {name: "T1_RGD", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "(*100"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "1-60"}]},
            {key: "pgm152_t1_dtdelay", title: langs.getText("p152","t1_dtdelay"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_dtdelay")}, {name: "T1_DTDELAY", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "(*100"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "2-50"}]},
            {key: "pgm152_t1_indgt", title: langs.getText("p152","t1_indgt"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_indgt")}, {name: "T1_INDGT", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "(*20"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "15-30"}]},
            {key: "pgm152_t1_wink", title: langs.getText("p152","t1_wink"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_wink")}, {name: "T1_WINK", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "(*20"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "07-15"}]},
            {key: "pgm152_t1_oprate", title: langs.getText("p152","t1_oprate"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_oprate")}, {name: "T1_OPRATE", value: "", select: [{value: "0", option: "60-40 (10pps)"}, {value: "1", option: "66-33 (10pps)"}, {value: "2", option: "60-40 (20pps)"}, {value: "3", option: "66-33 (20pps)"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm152_t1_sezdtc", title: langs.getText("p152","t1_sezdtc"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_sezdtc")}, {name: "T1_SEZDTC", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*20"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "0-127"}]},
            {key: "pgm152_t1_release_time", title: langs.getText("p152","t1_release_time"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_release_time")}, {name: "T1_RELEASE", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: "(*20"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "0-127"}]},
            {key: "pgm152_t1_iasgty", title: langs.getText("p152","t1_iasgty"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_iasgty")}, {name: "T1_IASGTY", value: "", select: [{value: "0", option: langs.getText("common","pulse")}, {value: "1", option: "DTMF"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm152_t1_ringdtc", title: langs.getText("p152","t1_ringdtc"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_ringdtc")}, {name: "T1_RINGDTC", value: "", textfield: [{max: 1, size: 5}], message: "", cont: 0}, {label: "(*100"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "2-9"}]},
            {key: "pgm152_t1_ringstop", title: langs.getText("p152","t1_ringstop"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_ringstop")}, {name: "T1_RINGSTOP", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "(*100"+langs.getText("common","cmt_msec")+")", cont: 1}, {label: "10-60"}]},
            {key: "pgm152_t1_collect", title: langs.getText("p152","t1_collect"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_collect")}, {name: "T1_COLLECT", value: "", textfield: [{max: 1, size: 5}], message: "", cont: 0}, {label: "1-6"}]},
            {key: "pgm152_t1_stortime", title: langs.getText("p152","t1_stortime"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p152","t1_stortime")}, {name: "T1_STORTIME", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: "(*1"+langs.getText("common","cmt_second")+")", cont: 1}, {label: "01-15"}]}
		]}
	]}
);
