var range_guide = " (0 - 251)";

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm324_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm324_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_index")+range_guide+" : "}, {name: "RANGE_1_0", value: "", textfield: [{size: 5}], message: ""}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br: 2}, {text: langs.getText("p324","netnptbl_index")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm324_mktbl", title: langs.getText("common","mktbl"), table: [{label: langs.getText("common","order"), sort: "num"}, {label: langs.getText("common","attr")}, {label: langs.getText("common","val")},{label: langs.getText("common","range")}]},
            {key: "pgm324_net_usage", title: langs.getText("common","networking_type"), tr: [{order: 1}, {label: langs.getText("common","networking_type")}, {name:"NET_USAGE", value:"", select:[{value: "0", option: langs.getText("common","net")}, {value: "1", option: langs.getText("common","pstn")}], message: "", cont: 0}, {label:""}]},
            {key: "pgm324_net_plancode", title: langs.getText("p324","net_plancode"), tr: [{order: 1}, {label: langs.getText("p324","net_plancode")}, {name:"NET_PLANCODE", value: "", textfield: [{max: 16, size: 10}], message: ""}, {label: langs.getText("p324","cmt_net_plancode")}]},
            {key: "pgm324_net_cog", title: langs.getText("common","networking_cogrp"), tr: [{order: 1}, {label: langs.getText("common","networking_cogrp")}, {name:"NET_COG", value: "", textfield: [{max: 2, size: 3}], message: ""}, {label: "0-24"}]},
            {key: "pgm324_net_cpn_isdn_info", title: langs.getText("common","net_cpn_isdn_info"), tr: [{order: 1}, {label: langs.getText("common","net_cpn_isdn_info")}, {name:"NET_INFO", value: "", textfield: [{max: 16, size: 20}], message: ""}, {label: langs.getText("common","max16digit")}]},
            {key: "pgm324_net_cpn_info1", title: langs.getText("common","net_cpn_info")+" 1", tr: [{order: 1}, {label: langs.getText("common","net_cpn_info")+" 1"}, {name:"NET_INFO1", value: "", textfield: [{max: 16, size: 20}], message: ""}, {label:langs.getText("common","enter_ipaddr")}]},
            {key: "pgm324_net_cpn_info2", title: langs.getText("common","net_cpn_info")+" 2", tr: [{order: 1}, {label: langs.getText("common","net_cpn_info")+" 2"}, {name:"NET_INFO2", value: "", textfield: [{max: 16, size: 20}], message: ""}, {label:langs.getText("common","enter_ipaddr")}]},
            {key: "pgm324_net_cpn_info3", title: langs.getText("common","net_cpn_info")+" 3", tr: [{order: 1}, {label: langs.getText("common","net_cpn_info")+" 3"}, {name:"NET_INFO3", value: "", textfield: [{max: 16, size: 20}], message: ""}, {label:langs.getText("common","enter_ipaddr")}]},
            {key: "pgm324_net_cpn_info4", title: langs.getText("common","net_cpn_info")+" 4", tr: [{order: 1}, {label: langs.getText("common","net_cpn_info")+" 4"}, {name:"NET_INFO4", value: "", textfield: [{max: 16, size: 20}], message: ""}, {label:langs.getText("common","enter_ipaddr")}]},
            {key: "pgm324_net_rthtmr", title: langs.getText("p324","net_rthtmr"), tr: [{order: 1}, {label: langs.getText("p324","net_rthtmr")}, {name:"NET_RTHTMR", value: "", textfield: [{max: 2, size: 2}], message: ""}, {label: "0, 3-15 "+langs.getText("common","cmt_second")}]},
            {key: "pgm324_net_speed", title: langs.getText("p324","net_speed"), tr: [{order: 1}, {label: langs.getText("p324","net_speed")}, {name:"NET_SPEED", value: "", textfield: [{max: 5}], message: ""}, {name: "NET_START_SPEED", value: "", label: 1}, {label: "-", cont: 1}, {name: "NET_END_SPEED", value: "", label: 1, cont: 1}]},
            {key: "pgm324_net_ip", title: langs.getText("p324","net_ip"), tr: [{order: 1}, {label: langs.getText("p324","net_ip")}, {name:"NET_IP", value: "", textfield: [{max: 15, size: 20}], message: ""}, {label: ""}]},
            {key: "pgm324_net_port", title: langs.getText("p324","net_port"), tr: [{order: 1}, {label: langs.getText("p324","net_port")}, {name:"NET_PORT", value: "", textfield: [{max: 4, size: 20}], message: ""}, {label: "0-9999"}]},
            {key: "pgm324_net_repeat", title: langs.getText("common","net_repeat"), tr: [{order: 1}, {label: langs.getText("common","net_repeat")}, {name:"NET_REPEAT", value:"", select:[{value: "0", option: langs.getText("common","opt_no")}, {value: "1", option: langs.getText("common","opt_yes")}], message: "", cont: 0}, {label:""}]},
            {key: "pgm324_net_pstnenbl", title: langs.getText("common","pstn_enblock"), tr: [{order: 1}, {label: langs.getText("common","pstn_enblock")}, {name:"NET_PSTNENBL", value:"", select:[{value: "0", option: langs.getText("common","opt_no")}, {value: "1", option: langs.getText("common","opt_yes")}], message: "", cont: 0}, {label:""}]},
            {key: "pgm324_net_pstncli", title: langs.getText("common","pstn_cli_method"), tr: [{order: 1}, {label: langs.getText("common","pstn_cli_method")}, {name:"NET_PSTNCLI", value:"", select:[{value: "0", option: langs.getText("common","net")}, {value: "1", option: langs.getText("common","pstn")}], message: "", cont: 0}, {label:""}]},
            {key: "pgm324_net_coatdcli", title: langs.getText("p324","net_coatdcli"), tr: [{order: 1}, {label: langs.getText("p324","net_coatdcli")}, {name:"NET_COATDCLI", value:"", select:[{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label:""}]},
            {key: "pgm324_net_fwrouting", title: langs.getText("common","fwrouting"), tr: [{order: 1}, {label: langs.getText("common","fwrouting")}, {name:"NET_FWROUTING", value:"", select:[{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label:""}]},
            {key: "pgm324_net_authcos", title: langs.getText("common","net_authcos"), tr: [{order: 1}, {label: langs.getText("common","net_authcos")}, {name:"NET_AUTHCOS", value:"", select:[{value: "0", option: langs.getText("common","opt_no")}, {value: "1", option: langs.getText("common","opt_yes")}], message: "", cont: 0}, {label:""}]},
            {key: "pgm324_net_smdrdgtoff", title: langs.getText("common","smdrdgtoff"), tr: [{order: 1}, {label: langs.getText("common","smdrdgtoff")}, {name:"NET_SMDRDGTOFF", value:"", select:[{value: "0", option: langs.getText("common","opt_no")}, {value: "1", option: langs.getText("common","opt_yes")}], message: "", cont: 0}, {label:""}]},
            {key: "pgm324_net_name", title: langs.getText("common","sitename"), tr: [{order: 1}, {label: langs.getText("common","sitename")}, {name:"NET_NAME", value: "", textfield: [{max: 12, size: 12}], message: ""}, {label: langs.getText("common","max12ch")}]},
            {key: "pgm324_net_emerrrttmr", title: langs.getText("p324","net_emerrrttmr"), tr: [{order: 1}, {label: langs.getText("p324","net_emerrrttmr")}, {name:"NET_EMERRRTMR", value: "", textfield: [{max: 2, size: 2}], message: ""}, {label: "0-10 "+langs.getText("common","cmt_second")}]},
            {key: "pgm324_net_tunnsigmsg", title: langs.getText("p324","net_tunnsigmsg"), tr: [{order: 1}, {label: langs.getText("p324","net_tunnsigmsg")}, {name:"NET_TUNNSIGMSG", value:"", select:[{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label:""}]}
        ]}
    ]}
);
