define(
    {elements:[
        {name:"tab1", tab: [
				{key: "pgm212_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}, {btn: langs.getText("p212","btn_store"), btn_type: "btn_p212_store auth_write"}, {btn: langs.getText("p212","btn_view"), btn_type: "btn_overview btn_p212_view"}, {btn: langs.getText("p212","btn_cert"), btn_type: "btn_overview btn_p212_cert"}]},
            {key: "pgm212_mktbl", table: [{label: langs.getText("common","order")}, {label: langs.getText("common","attr")}, {label: langs.getText("common","val")}, {label: langs.getText("common","range")}]},
				{key: "pgm212_sip_conftype", tr:[{label: "1"}, {label: langs.getText("p212","sip_conftype")}, {name:"SIP_CONFTYPE", value:"", select:[{value: "0", option: langs.getText("common","opt_none")}, {value: "1", option: "8815"}, {value: "2", option: "8820"}, {value: "3", option: "8830"}, {value: "4", option: "8840"}, {value: "5", option: "WIT-400"}, {value: "6", option: "8002"}, {value: "7", option: "8850"}, {value: "8", option: "8802"}, {value: "9", option: "8815e"}, {value: "10", option: "8820e"}, {value: "11", option: "8830e"}, {value: "12", option: "8840e"}, {value: "13", option: "8850e"}, {value: "14", option: "IP COMM"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm212_th_private_conffile", th: [{label: langs.getText("p212","th_private_conffile"), colspan: 4}]},
            {key: "pgm212_sip_mac", tr:[{label: "2"}, {label: langs.getText("p212","sip_mac")}, {name:"SIP_MAC", value: "", textfield: [{max: 32}], message: "", cont: 0}, {label: langs.getText("p212","cmt_mac")}]},
            {key: "pgm212_th_common_conffile", th: [{label: langs.getText("p212","th_common_conffile"), colspan: 4}]},
            {key: "pgm212_sip_rtimer", tr:[{label: "3"}, {label: langs.getText("p212","sip_rtimer")}, {name:"SIP_RTIMER", value: "", textfield: [{max: 4}], message: "", cont: 0}, {label: "120-3600"}]},
            {key: "pgm212_sip_localudp", tr:[{label: "4"}, {label: langs.getText("p212","sip_localudp")}, {name:"SIP_LOCALUDP", value: "", textfield: [{max: 5}], message: "", cont: 0}, {label: langs.getText("common","cmt_port")}]},
            {key: "pgm212_sip_localtcp", tr:[{label: "5"}, {label: langs.getText("p212","sip_localtcp")}, {name:"SIP_LOCALTCP", value: "", textfield: [{max: 5}], message: "", cont: 0}, {label: langs.getText("common","cmt_port")}]},
            {key: "pgm212_sip_localtls", tr:[{label: "6"}, {label: langs.getText("p212","sip_localtls")}, {name:"SIP_LOCALTLS", value: "", textfield: [{max: 5}], message: "", cont: 0}, {label: langs.getText("common","cmt_port")}]},
            {key: "pgm212_sip_localrtp", tr:[{label: "7"}, {label: langs.getText("p212","sip_localrtp")}, {name:"SIP_LOCALRTP", value: "", textfield: [{max: 56}], message: "", cont: 0}, {label: langs.getText("common","cmt_port")}]},
            {key: "pgm212_sip_proxyport", tr:[{label: "8"}, {label: langs.getText("p212","sip_proxyport")}, {name:"SIP_PROXYPORT", value: "", textfield: [{max: 5}], message: "", cont: 0}, {label: langs.getText("common","cmt_port")}]},
            {key: "pgm212_sip_proxytcp", tr:[{label: "9"}, {label: langs.getText("p212","sip_proxytcp")}, {name:"SIP_PROXYTCP", value: "", textfield: [{max: 5}], message: "", cont: 0}, {label: langs.getText("common","cmt_port")}]},
            {key: "pgm212_sip_proxytls", tr:[{label: "10"}, {label: langs.getText("p212","sip_proxytls")}, {name:"SIP_PROXYTLS", value: "", textfield: [{max: 5}], message: "", cont: 0}, {label: langs.getText("common","cmt_port")}]},
				{key: "pgm212_sip_transport", tr:[{label: "11"}, {label: langs.getText("common","transport_mode")}, {name:"SIP_TRANSPORT", value:"", select:[{value: "0", option: "UDP"}, {value: "1", option: "TCP"}, {value: "2", option: "TLS"}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_phonecert", tr:[{label: "12"}, {label: langs.getText("p212","sip_phonecert")}, {name:"SIP_PHONECERT", value:"", select:[{value: "0", option: "PEM(Normal)"}, {value: "1", option: "DER(Normal)"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm212_th_codec", th: [{label: langs.getText("p212","th_codec"), colspan: 4}]},
				{key: "pgm212_sip_firstcdprio", tr:[{label: "13"}, {label: langs.getText("common","firstcdprio")}, {name:"SIP_FIRSTCDPRIO", value:"", select:[{value: "0", option: langs.getText("common","opt_none")}, {value: "1", option: "g.711-u"}, {value: "2", option: "g.711-a"}, {value: "3", option: "g.723.1"}, {value: "4", option: "g.729"}, {value: "5", option: "g.722"}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_secondcdprio", tr:[{label: "14"}, {label: langs.getText("common","secondcdprio")}, {name:"SIP_SECONDCDPRIO", value:"", select:[{value: "0", option: langs.getText("common","opt_none")}, {value: "1", option: "g.711-u"}, {value: "2", option: "g.711-a"}, {value: "3", option: "g.723.1"}, {value: "4", option: "g.729"}, {value: "5", option: "g.722"}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_thirdcdprio", tr:[{label: "15"}, {label: langs.getText("common","thirdcdprio")}, {name:"SIP_THIRDCDPRIO", value:"", select:[{value: "0", option: langs.getText("common","opt_none")}, {value: "1", option: "g.711-u"}, {value: "2", option: "g.711-a"}, {value: "3", option: "g.723.1"}, {value: "4", option: "g.729"}, {value: "5", option: "g.722"}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_forthcdprio", tr:[{label: "16"}, {label: langs.getText("common","forthcdprio")}, {name:"SIP_FORTHCDPRIO", value:"", select:[{value: "0", option: langs.getText("common","opt_none")}, {value: "1", option: "g.711-u"}, {value: "2", option: "g.711-a"}, {value: "3", option: "g.723.1"}, {value: "4", option: "g.729"}, {value: "5", option: "g.722"}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_fifthcdprio", tr:[{label: "17"}, {label: langs.getText("common","fifthcdprio")}, {name:"SIP_FIFTHCDPRIO", value:"", select:[{value: "0", option: langs.getText("common","opt_none")}, {value: "1", option: "g.711-u"}, {value: "2", option: "g.711-a"}, {value: "3", option: "g.723.1"}, {value: "4", option: "g.729"}, {value: "5", option: "g.722"}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_th_ntp_set", th: [{label: langs.getText("p212","th_ntp_set"), colspan: 4}]},
            {key: "pgm212_sip_ntpserv", tr:[{label: "18"}, {label: langs.getText("p212","sip_ntpserv")}, {name:"SIP_NTPSERV", value: "", textfield: [{max: 32}], message: "", cont: 0}, {label: langs.getText("common","max32ch")}]},
            {key: "pgm212_sip_ntpint", tr:[{label: "19"}, {label: langs.getText("p212","sip_ntpint")}, {name:"SIP_NTPINT", value: "", textfield: [{max: 3}], message: "", cont: 0}, {label: "0-120("+langs.getText("common","cmt_hour")+")"}]},
				{key: "pgm212_sip_ntpzone", tr:[{label: "20"}, {label: langs.getText("p212","sip_ntpzone")}, {name:"SIP_NTPZONE", value:"", select:[{value: "60", option: "(GMT-12:00)International Date Line West"}, 
																																																{value: "61", option: "(GMT-11:00)Midway Island, Samoa"}, 
																																																{value: "1", option: "(GMT-10:00)Hawaii"}, 
																																																{value: "62", option: "(GMT-09:00)Alaska"}, 
																																																{value: "2", option: "(GMT-08:00)LA/CA, USA"}, 
																																																{value: "3", option: "(GMT-08:00)PACIFIC STANDARD"}, 
																																																{value: "4", option: "(GMT-07:00)MOUNTAIN STANDARD"}, 
																																																{value: "5", option: "(GMT-06:00)CENTRAL STANDARD"}, 
																																																{value: "6", option: "(GMT-06:00)MEXICO CITY, MEXICO"}, 
																																																{value: "7", option: "(GMT-06:00)SASKATC, CANADA"}, 
																																																{value: "8", option: "(GMT-05:00)BOGOTA, COLOMBIA"}, 
																																																{value: "9", option: "(GMT-05:00)EASTERN STANDARD"}, 
																																																{value: "10", option: "(GMT-05:00)LIMA, PERU"}, 
																																																{value: "11", option: "(GMT-05:00)NEWYORK, USA"}, 
																																																{value: "12", option: "(GMT-04:00)ATLANTIC STANDARD"}, 
																																																{value: "13", option: "(GMT-04:00)CARACAS, VENEZUELA"}, 
																																																{value: "14", option: "(GMT-04:00)LA PAZ, BOLIVIA"}, 
																																																{value: "15", option: "(GMT-03:30)NEWFOUNDLAND"}, 
																																																{value: "16", option: "(GMT-03:00)BRASILIA, BRAZIL"}, 
																																																{value: "17", option: "(GMT-03:00)BUENOS AIRES, ARGENTINA"}, 
																																																{value: "18", option: "(GMT-03:00)GEORETOWN, GUYANA"}, 
																																																{value: "63", option: "(GMT-02:00)NUUK, GREENLAND"}, 
																																																{value: "19", option: "(GMT-01:00)AZORES, PORTUGAL"}, 
																																																{value: "20", option: "(GMT-01:00)CAPE VERDE"}, 
																																																{value: "21", option: "(GMT)CASABLANCA, MOROCCO"}, 
																																																{value: "22", option: "(GMT)LISBON, PORTUGAL"}, 
																																																{value: "23", option: "(GMT)LONDON, ENGLAND"}, 
																																																{value: "24", option: "(GMT+01:00)AMSTERDAM, NETHERLANDS"}, 
																																																{value: "25", option: "(GMT+01:00)BERLIN, GERMANY"}, 
																																																{value: "26", option: "(GMT+01:00)BERN, SWITZERLAND"}, 
																																																{value: "27", option: "(GMT+01:00)BRUSSELS, BELGIUM"}, 
																																																{value: "28", option: "(GMT+01:00)CENTRAL EUROPEAN"}, 
																																																{value: "59", option: "(GMT+01:00)COPENHAGEN, DENMARK"}, 
																																																{value: "29", option: "(GMT+01:00)MADRID, SPAIN"}, 
																																																{value: "30", option: "(GMT+01:00)OSLO, NORWAY"}, 
																																																{value: "31", option: "(GMT+01:00)PARIS, FRANCE"}, 
																																																{value: "32", option: "(GMT+01:00)ROME, ITALY"}, 
																																																{value: "33", option: "(GMT+01:00)STOCKHOLM, SWEDEN"}, 
																																																{value: "34", option: "(GMT+01:00)VIENNA, AUSTRIA"}, 
																																																{value: "35", option: "(GMT+02:00)ATHENS, GREECE"}, 
																																																{value: "36", option: "(GMT+02:00)HARARE, ZIMBABWE"}, 
																																																{value: "37", option: "(GMT+02:00)HELSINKI, FINLAND"}, 
																																																{value: "38", option: "(GMT+02:00)ISTANBUL, TURKEY"}, 
																																																{value: "39", option: "(GMT+02:00)JERUSALEM, ISRAE"}, 
																																																{value: "40", option: "(GMT+03:00)KUWAIT"}, 
																																																{value: "41", option: "(GMT+03:00)MOSCOW, RUSSIA"}, 
																																																{value: "42", option: "(GMT+03:00)NAIROBI, KENYA"}, 
																																																{value: "43", option: "(GMT+03:00)RIYADH, SAUDI"}, 
																																																{value: "44", option: "(GMT+03:30)TEHRAN, IRAN"}, 
																																																{value: "45", option: "(GMT+04:00)ABU DHABI, UAE"}, 
																																																{value: "46", option: "(GMT+04:00)TBILISTI, GEORGIA"}, 
																																																{value: "47", option: "(GMT+04:30)KABUL, AFGHANTISTAN"}, 
																																																{value: "64", option: "(GMT+05:00)SLAMBAD, PAKISTAN"}, 
																																																{value: "48", option: "(GMT+05:30)NEW DELHI, INDIA"}, 
																																																{value: "65", option: "(GMT+06:00)DHAKA, BANGLADESH"}, 
																																																{value: "66", option: "(GMT+06:30)YANGON, MYAMMAR"}, 
																																																{value: "49", option: "(GMT+07:00)BANGKOK, THAILAND"}, 
																																																{value: "50", option: "(GMT+07:00)JAKARTA, INDONESIA"}, 
																																																{value: "51", option: "(GMT+08:00)BEIJING, CHINA"}, 
																																																{value: "52", option: "(GMT+09:00)SEOUL, KOREA"}, 
																																																{value: "53", option: "(GMT+09:00)TOKYO, JAPAN"}, 
																																																{value: "54", option: "(GMT+09:30)DARWIN, AUS."}, 
																																																{value: "55", option: "(GMT+10:00)GUAM STANDARD"}, 
																																																{value: "67", option: "(GMT+11:00)SOLOMON ISLANDS"}, 
																																																{value: "56", option: "(GMT+12:00)MARSHALL ISLANDS"}, 
																																																{value: "57", option: "(GMT+12:00)WELLINGTON, NEW ZEALAND"}, 
																																																{value: "58", option: "(GMT+10:00)NUKU'ALOFA"}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_dstadjust", tr:[{label: "21"}, {label: langs.getText("p212","sip_dstadjust")}, {name:"SIP_DSTADJUST", value:"", select:[{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm212_th_dsp_set", th: [{label: langs.getText("p212","th_dsp_set"), colspan: 4}]},
            {key: "pgm212_sip_handfree", tr:[{label: "22"}, {label: langs.getText("p212","sip_handfree")}, {name:"SIP_HANDFREE", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "1-11,1-7(8850)"}]},
            {key: "pgm212_sip_handgain", tr:[{label: "23"}, {label: langs.getText("p212","sip_handgain")}, {name:"SIP_HANDGAIN", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "1-11,1-7(8850)"}]},
            {key: "pgm212_sip_headgain", tr:[{label: "24"}, {label: langs.getText("p212","sip_headgain")}, {name:"SIP_HEADGAIN", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "1-11,1-7(8850)"}]},
            {key: "pgm212_sip_maxhand", tr:[{label: "25"}, {label: langs.getText("p212","sip_maxhand")}, {name:"SIP_MAXHAND", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "1-11"}]},
            {key: "pgm212_th_digit_map", th: [{label: langs.getText("common","digit_map"), colspan: 4}]},
            {key: "pgm212_sip_dialtone", tr:[{label: "26"}, {label: langs.getText("p212","sip_dialtone")}, {name:"SIP_DIALTONE", value: "", textarea: [{rows: 4, cols: 25}], message: "", cont: 0}, {label: langs.getText("p212","cmt_dialtone")}]},
            {key: "pgm212_sip_pausetimer", tr:[{label: "27"}, {label: langs.getText("common","pause_timer")}, {name:"SIP_PAUSETIMER", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "01-20 "+langs.getText("common","cmt_second")}]},
            {key: "pgm212_sip_digitmap", tr:[{label: "28"}, {label: langs.getText("common","digit_map")}, {name:"SIP_DIGITMAP", value: "", textarea: [{rows: 4, cols: 25}], message: "", cont: 0}, {label: langs.getText("common","max_1000")}]},
            {key: "pgm212_sip_emgcode", tr:[{label: "29"}, {label: langs.getText("p212","sip_emgcode")}, {name:"SIP_EMGCODE", value: "", textarea: [{rows: 4, cols: 25}], message: "", cont: 0}, {label: langs.getText("common","max_1000")}]},
            {key: "pgm212_th_sys_set", th: [{label: langs.getText("p212","th_sys_set"), colspan: 4}]},
				{key: "pgm212_sip_featsync", tr:[{label: "30"}, {label: langs.getText("p212","sip_featsync")}, {name:"SIP_FEATSYNC", value:"", select:[{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm212_sip_autoidle", tr:[{label: "31"}, {label: langs.getText("p212","sip_autoidle")}, {name:"SIP_AUTOIDLE", value: "", textfield: [{max: 2}], message: "", cont: 0}, {label: "00-99 "+langs.getText("common","cmt_second")}]},
				{key: "pgm212_sip_chkdomain", tr:[{label: "32"}, {label: langs.getText("p212","sip_chkdomain")}, {name:"SIP_CHKDOMAIN", value:"", select:[{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_telnetp", tr:[{label: "33"}, {label: langs.getText("p212","sip_telnetp")}, {name:"SIP_TELNETP", value:"", select:[{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_webuse", tr:[{label: "34"}, {label: langs.getText("p212","sip_webuse")}, {name:"SIP_WEBUSE", value:"", select:[{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}, {label: ""}]},
				{key: "pgm212_sip_cryptmode", tr:[{label: "35"}, {label: langs.getText("p212","sip_cryptmode")}, {name:"SIP_CRYPTMODE", value:"", select:[{value: "0", option: "RSA"}, {value: "1", option: "ECC"}], message: "", cont: 0}, {label: ""}]}
		]}
    ]}
);