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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm126_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm126_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("p126","enter_siprange")+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("p126","sip_range")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm126_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")}, {label: langs.getText("common","val")}, {label: langs.getText("common","range")}]},
            {key: "pgm126_cidpwd", title: langs.getText("common","cid_pwd"), tr:[{label: ""}, {label: ""}, {label: langs.getText("common","cid_pwd")}, {name: "CIDPWD", value: "", textfield: [{max: 12, size: 15}], message: "", cont: 0}, {label: " ", cont: 1}, {btn: langs.getText("common","btn_gotosetting"), btn_type: "btn_link_to_otherpgm pgm162", cont: 1}, {label: ""}]},
            {key: "pgm126_regname", title: langs.getText("common","reg_userid"), tr:[{label: "1"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","reg_userid")}, {name: "REGNAME", value: "", textfield: [{max: 64}], message: "", cont: 0}, {label: langs.getText("common","max64ch")}]},
            {key: "pgm126_authname", title: langs.getText("p126","authname"), tr:[{label: "2"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","authname")}, {name: "AUTHNAME", value: "", textfield: [{max: 64}], message: "", cont: 0}, {label: langs.getText("common","max64ch")}]},
            {key: "pgm126_authpwd", title: langs.getText("p126","authpwd"), tr:[{label: "3"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","authpwd")}, {name: "AUTHPWD", value: "", textfield: [{max: 32}], message: "", cont: 0}, {label: langs.getText("common","max32ch")}]},
            {key: "pgm126_contactno", title: langs.getText("p126","contactno"), tr:[{label: "4"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","contactno")}, {name: "CONTACTNO", value: "", textfield: [{max: 16}], message: "", cont: 0}, {label: langs.getText("common","max16ch")}]},
            {key: "pgm126_cntdisp", title: langs.getText("p126","cntdisp"), tr:[{label: "5"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","cntdisp")}, {name: "CNTDISP", value: "", textfield: [{max: 21}], message: "", cont: 0}, {label: langs.getText("common","max21ch")}]},
            {key: "pgm126_ascstn", title: langs.getText("p126","ascstn"), tr:[{label: "6"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","ascstn")}, {name: "ASCSTN", value: "", textfield: [{max: 8}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm126_uidreg", title: langs.getText("p126","uidreg"), tr:[{label: "7"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","uidreg")}, {name: "UIDREG", value: "", select: [{value: "0", option: langs.getText("p126","opt_uidreg_pro")}, {value: "1", option: langs.getText("common","register")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm126_reptidx", title: langs.getText("p126","reptidx"), tr:[{label: "8"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","reptidx")}, {name: "REPTIDX", value: "", textfield: [{max: 5}], message: "", cont: 0}, {label: Representative_guide}]},
            {key: "pgm126_uidusage", title: langs.getText("p126","uidusage"), tr:[{label: "9"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","uidusage")}, {name: "UIDUSAGE", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm126_uidroute", title: langs.getText("p126","uidroute"), tr:[{label: "10"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","uidroute")}, {name: "UIDROUTE", value: "", select: [{value: "0", option: langs.getText("p126","opt_uidroute_id")}, {value: "1", option: langs.getText("p126","opt_uidroute_ring")}, {value: "2", option: langs.getText("p126","opt_uidroute_did")}, {value: "3", option: langs.getText("p126","opt_uidroute_msn")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm126_cnvtype", title: langs.getText("p126","cnvtype"), tr:[{label: "11"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","cnvtype")}, {name: "CNVTYPE", value: "", select: [{value: "0", option: langs.getText("common","did_digit_conv")}, {value: "1", option: langs.getText("common","use_asis_notreat")}, {value: "2", option: langs.getText("common","mod_use_flexdidconvtbl")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm126_rcvdgt", title: langs.getText("common","num_expectdid")+" (2-4) "+langs.getText("p126","rcvdgt2"), tr:[{label: "12"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","num_expectdid")+" "+langs.getText("p126","rcvdgt2")}, {name: "RCVDGT", value: "", textfield: [{max: 1}], message: "", cont: 0}, {label: "2-4"}]},
            {key: "pgm126_cnvdgt", title: langs.getText("common","did_digit_mask"), tr:[{label: "13"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","did_digit_mask")}, {name: "CNVDGT", value: "", textfield: [{max: 4, size: 10}], message: "", cont: 0}, {label: "4 "+langs.getText("p126","cnvdgt2")+": *,#,0-9"}]},
            {key: "pgm126_smsstn", title: langs.getText("p126","smsstn"), tr:[{label: "14"}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p126","smsstn")}, {name: "SMSSTN", value: "", textfield: [{max: 8}], message: "", cont: 0}, {label: ""}]}
		]}
	]}
);
