if(info.NCODE == "KOR") {
	var v_1 = {key: "pgm112_intsxfer", title: langs.getText("p112","intsxfer"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","intsxfer")}, {name:"INTSXFER", value: "", select: [{value: "0", option: langs.getText("common","opt_enable")}, {value: "1", option: langs.getText("common","opt_disable")}], message: "", cont: 0}, {label: ""}]};
}
else {
	var v_1={};
}

if(info.PHASE >= 2) {
	var p112_mwiled = {key: "pgm112_mwiled", title: langs.getText("p112","mwiled"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","mwiled")}, {name:"MWILED", value: "", select: [{value: "0", option: langs.getText("p112","opt_mwi_all")}, {value: "1", option: langs.getText("p112","opt_mwi_vm")}, {value: "2", option: langs.getText("p112","opt_mwi_cli")}, {value: "3", option: langs.getText("p112","opt_mwi_sms")}, {value: "4", option: langs.getText("p112","opt_mwi_icm")}], message: "", cont: 0}, {label: ""}]};
	var p112_smodem = {key: "pgm112_shortmodem", title: langs.getText("p112","shortmodem"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","shortmodem")}, {name:"SHORTMODEM", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]};
	var p112_echomode = {key: "pgm112_echomode", title: langs.getText("p112","echomode"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","echomode")}, {name:"ECHOMODE", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]};
} else {
	var p112_mwiled = {};
	var p112_smodem = {};
	var p112_echomode = {key: "pgm112_echomode", title: langs.getText("p112","echomode"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","echomode")}, {name:"ECHOMODE", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]};
}

if(info.PHASE >= 3.0) {
    var p112_pgm_button = {key: "pgm112_pgmbutton", title: langs.getText("p112","pgmbutton"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","pgmbutton")}, {name:"PGMBUTTON", value: "", select: [{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}, {label: ""}]};
    var p112_menu_button = {key: "pgm112_menubutton", title: langs.getText("p112","menubutton"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","menubutton")}, {name:"MENUBUTTON", value: "", select: [{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}, {label: ""}]};
    var p112_IsPushPolling = {key: "p112_IsPushPolling", title: langs.getText("p112","ucspushpolling"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","ucspushpolling")}, {name:"UCSPUSHPOLLING", value: "", select: [{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}, {label: ""}]};
	var p112_keypad_tone = {key: "p112_keypadtone", title: langs.getText("p112","keypadtone"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","keypadtone")}, {name:"KEYPADTONE", value: "", select: [{value: "0", option: langs.getText("p112","opt_keypad_off")}, {value: "1", option: langs.getText("p112","opt_keypad_dual")}, {value: "2", option: langs.getText("p112","opt_keypad_single")}], message: "", cont: 0}, {label: ""}]};
	
	} else {
	var p112_pgm_button = {};
	var p112_menu_button = {};
	var p112_IsPushPolling = {};
	var p112_keypad_tone = {};
	}


define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm112_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm112_preload", preload: [{name: "RANGE_TYPE_1", range_type: 1}, {text: langs.getText("common","enter_stnrange")+" : "}, {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","stnrange")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm112_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"), sort: "str"}, {label: langs.getText("common","val")}, {label: langs.getText("common","range")}]},
            {key: "pgm112_basic_attr", title: langs.getText("common2","basic_attr"), th: [{order_alphabet: 1}, {label: langs.getText("common2","basic_attr"), colspan: 4}]},
            {key: "pgm112_autoss", title: langs.getText("p112","autoss"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","autoss")}, {name:"AUTOSS", value:"", select:[{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_notouch", title: langs.getText("p112","notouch"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","notouch")}, {name:"NOTOUCH", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_icmsignal", title: langs.getText("common","icmsignal"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","icmsignal")}, {name: "ICMSIGNAL", value: "", select: [{value: "1", option: "H"}, {value: "2", option: "T"}, {value: "3", option: "P"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_hdsetring", title: langs.getText("p112","hdsetring"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","hdsetring")}, {name:"HDSETRING", value: "", select: [{value: "1", option: langs.getText("common","speaker")}, {value: "2", option: langs.getText("common","hdset")}, {value: "3", option: langs.getText("common","opt_both")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_spkp", title: langs.getText("p112","spkp"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","spkp")}, {name:"SPKP", value: "", select: [{value: "0", option: langs.getText("common","hdset")}, {value: "1", option: langs.getText("common","speaker")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_lcddled", title: langs.getText("p112","lcddled"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","lcddled")}, {name:"LCDDLED", value: "", select: [{value: "0", option: "MWI/Ring"}, {value: "1", option: langs.getText("common","bell_ring")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_msgscrlspd", title: langs.getText("p112","msgscrlspd"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","msgscrlspd")}, {name:"MSGSCRLSPD", value: "", textfield: [{max: 1}], message: "", cont: 0}, {label: "0-7"}]},
            {key: "pgm112_headset", title: langs.getText("p112","headset"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","headset")}, {name:"HEADSET", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_enblock", title: langs.getText("p112","enblock"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","enblock")}, {name:"ENBLOCK", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_backlight", title: langs.getText("p112","backlight"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","backlight")}, {name:"BACKLIGHT", value: "", select: [{value: "0", option: langs.getText("p112","opt_backlight_alwaysoff")}, {value: "1", option: langs.getText("common","opt_busyonly")}, {value: "2", option: langs.getText("common","opt_backlight_alwayson")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_bypassdtmf", title: langs.getText("p112","bypassdtmf"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","bypassdtmf")}, {name:"BYPASSDTMF", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_srldss", title: langs.getText("p112","srldss"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","srldss")}, {name:"SRLDSS", value: "", select: [{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_howling", title: langs.getText("p112","howling"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","howling")}, {name:"HOWLING", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
			{key: "pgm112_flexpage", title: langs.getText("p112","flexpage"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","flexpage")}, {name:"FLEXPAGE", value: "", select: [{value: "1", option: langs.getText("p112","opt_flexpage_one")}, {value: "2", option: langs.getText("p112","opt_flexpage_two")}, {value: "3", option: langs.getText("p112","opt_flexpage_three")}, {value: "4", option: langs.getText("p112","opt_flexpage_four")}], message: "", cont: 0}, {label: "Max: LIP-9071 : 4, LIP-9030/9040(C) : 3, LDP-9240 : 2"}]},
            {key: "pgm112_alignlcd", title: langs.getText("p112","alignlcd"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","alignlcd")}, {name:"ALIGNLCD", value: "", select: [{value: "0", option: langs.getText("p112","opt_alignlcd_notalign")}, {value: "1", option: langs.getText("p112","opt_alignlcd_left")}, {value: "2", option: langs.getText("p112","opt_alignlcd_right")}], message: "", cont: 0}, {label: ""}]},
			v_1,
            {key: "pgm112_smallpopup", title: langs.getText("p112","smallpopup"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","smallpopup")}, {name:"SMALLPOPUP", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_largepopup", title: langs.getText("p112","largepopup"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","largepopup")}, {name:"LARGEPOPUP", value: "", textfield: [{max: 1}], message: "", cont: 0}, {label: "0-5 sec"}]},
            {key: "pgm112_nfcauth", title: langs.getText("p112","nfcauth"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","nfcauth")}, {name:"NFCAUTH", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: "LIP-9071"}]},
            {key: "pgm112_dimming", title: langs.getText("p112","dimming"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","dimming")}, {name:"DIMMING", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: "LIP-9000/LDP-9240"}]},
            {key: "pgm112_ucsacduse", title: langs.getText("p112","ucsacduse"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","ucsacduse")}, {name:"UCSACDUSE", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: "for Standard UCS's"}]},
            {key: "pgm112_ucscrmuse", title: langs.getText("p112","ucscrmuse"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","ucscrmuse")}, {name:"UCSCRMUSE", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: "for Standard UCS's"}]},
            {key: "pgm112_ucsdialruleuse", title: langs.getText("p112","ucsdialruleuse"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","ucsdialruleuse")}, {name:"UCSDIALRULEUSE", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: "for Standard UCS's"}]},
            {key: "pgm112_ucsmobiledialuse", title: langs.getText("p112","ucsmobiledialuse"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","ucsmobiledialuse")}, {name:"UCSMOBILEDIALUSE", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: "for Standard UCS's"}]},
			p112_IsPushPolling,
            p112_mwiled,
			p112_pgm_button,
			p112_menu_button,
			p112_keypad_tone,			
			
			{key: "pgm112_slt_attr", title: langs.getText("p112","slt_attr"), th: [{order_alphabet: 1}, {label: langs.getText("p112","slt_attr"), colspan: 4}]},
            {key: "pgm112_datals", title: langs.getText("p112","datals"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","datals")}, {name:"DATALS", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
			{key: "pgm112_faxecm", title: langs.getText("p112","faxecm"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","faxecm")}, {name:"FAXECM", value: "", select: [{value: "1", option: langs.getText("p112","opt_allow")}, {value: "0", option: langs.getText("p112","opt_prevent")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_modem", title: langs.getText("p112","modem"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","modem")}, {name:"MODEM", value:"", select:[{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_cidtype", title: langs.getText("p112","cidtype"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","cidtype")}, {name:"CIDTYPE", value:"", select:[{value: "0", option: langs.getText("common","fsk")}, {value: "1", option: "DTMF"}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_sltcli", title: langs.getText("p112","sltcli"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","sltcli")}, {name:"SLTCLI", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_sltflash", title: langs.getText("p112","sltflash"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","sltflash")}, {name:"SLTFLASH", value: "", select: [{value: "0", option: langs.getText("p112","opt_sltflash_flashtsf")}, {value: "1", option: langs.getText("p112","opt_sltflash_flashdrop")}, {value: "2", option: langs.getText("p112","opt_sltflash_flashign")}, {value: "3", option: langs.getText("p112","opt_sltflash_holdrel")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_sltmode", title: langs.getText("p112","sltmode"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","sltmode")}, {name:"SLTMODE", value: "", select: [{value: "0", option: langs.getText("common","txt_default")}, {value: "1", option: langs.getText("p112","opt_sltmode_short")}, {value: "2", option: langs.getText("p112","opt_sltmode_long")}, {value: "3", option: langs.getText("p112","opt_sltmode_far")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_blockbackcall", title: langs.getText("p112","blockbackcall"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","blockbackcall")}, {name:"BLOCKBACKCALL", value: "", select: [{value: "0", option: langs.getText("common","opt_off")}, {value: "1", option: langs.getText("common","opt_on")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm112_sltopenloop", title: langs.getText("p112","sltopenloop"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p112","sltopenloop")}, {name:"SLTOPENLOOP", value: "", textfield: [{max: 1}], message: "", cont: 0}, {label: "0-9"+" (100"+langs.getText("common","cmt_msec")+")"}]},
			p112_smodem,
			p112_echomode			
		]}
	]}
);
