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

if(info.PHASE >=2)
{
	var v_guide = {label: "0 - 201"};//info.MAX_DISA_HUNT_ANNC_ALL+1
	var v_explain = {label: "(0:"+langs.getText("p146","cmt_svcoff")+", 201:"+langs.getText("p146","cmt_onlytm")+")", cont: 1};
}
else
{
	var v_guide = {label: "0 - 71"};
	var v_explain = {label: "(0:"+langs.getText("p146","cmt_svcoff")+", 71:"+langs.getText("p146","cmt_onlytm")+")", cont: 1};
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm146_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm146_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: "pgm146_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","feature")}, {label: langs.getText("common","val")}, {label: langs.getText("common","range")}]},
            {key: "pgm146_disa_day", title: langs.getText("common","daytime"), tr: [{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","daytime")}, {label: langs.getText("common","vsf_annc")+" : "}, {name:"DISA_DAY", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 1}, {br: 1, cont: 1}, {label: langs.getText("common","auto_drop")+" : ", cont: 1}, {name:"DISA_DAYAD", value: "", chk_type: "chk_selectall", chk: 1, cont: 1}, v_guide, {br: 1, cont: 1}, v_explain]},
            {key: "pgm146_disa_night", title: langs.getText("common","nighttime"), tr: [{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","nighttime")}, {label: langs.getText("common","vsf_annc")+" : "}, {name:"DISA_NIGHT", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 1}, {br: 1, cont: 1}, {label: langs.getText("common","auto_drop")+" : ", cont: 1}, {name:"DISA_NIGHTAD", value: "", chk_type: "chk_selectall", chk: 1, cont: 1}, v_guide, {br: 1, cont: 1}, v_explain]},
            {key: "pgm146_disa_timed", title: langs.getText("common","timed_ring"), tr: [{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","timed_ring")}, {label: langs.getText("common","vsf_annc")+" : "}, {name:"DISA_TIMED", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 1}, {br: 1, cont: 1}, {label: langs.getText("common","auto_drop")+" : ", cont: 1}, {name:"DISA_TIMEDAD", value: "", chk_type: "chk_selectall", chk: 1, cont: 1}, v_guide, {br: 1, cont: 1}, v_explain]}
		]}
	]}
);
