if(!offline_mode) {
	var dbcrypt_key = {key: "pgm161_dbcrptkey", th: [{label: langs.getText("common2","dbcrypt_key"), colspan: 3}, {label: " ("+langs.getText("common","btn_save")+" : ", cont: 1}, {name: "CHKSAVE_DBCRYPT", chk_type: "chk_p161_save", chk: 1, cont: 1}, {label: ")", cont: 1}],
						 								 struct: [{ tr: [{label: langs.getText("p161", "sys_cryptcurkey")}, {name: "SYS_CRYPTCURKEY", value: "", password: [{max: 32, size: 15}], message: "", cont: 0}, {name: "SYS_CRYPTRESULT", value: "", select: [{value: "1", option: langs.getText("common", "success") },{ value: "2", option: langs.getText("common2", "need_kerup") },{ value: "3", option: langs.getText("p161", "no_cryptkey") }], show: 0, rowspan: 3}]},
																	 { tr: [{label: langs.getText("p161","sys_cryptnewkey")}, {name: "SYS_CRYPTNEWKEY", value: "", password: [{max: 32, size: 15}], message: "", cont: 0}]}, 
																	 { tr: [{label: langs.getText("p161","sys_cryptnewkey2")}, {name: "SYS_CRYPTNEWKEY2", value: "", password: [{max: 32, size: 15}], message: "", cont: 0}]}]}
} else {
	var dbcrypt_key = {};
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm161_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_p161_save auth_write"}]},
            {key: "pgm161_mktbl", table: [{label: langs.getText("common","attr")}, {label: langs.getText("common","val")}, {label: langs.getText("common","remark")}]},
            {key: "pgm161_vmencenable", tr:[{label: langs.getText("p161","sys_vmencrypt")}, {name:"SYS_VMENCRYPT", value: "", select: [{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}, {label: langs.getText("p161","pwd_vmnote")}]},
				dbcrypt_key
		]}
	]}
);
