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: ""}]};
} else {
	var p112_mwiled = {};
}

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_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"}, {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")}], message: "", cont: 0}, {label: ""}]},
            {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"}]},
            p112_mwiled,
	    {key: "pgm112_slt_attr", title: langs.getText("p112","slt_attr"), th: [{label: langs.getText("p112","slt_attr"), colspan: 5}]},
            {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")+")"}]}
    	]}
	]}
);
