define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm50_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm50_mktbl", table: [{label: langs.getText("p50","add_user"), colspan: 3}]},
            {key: "pgm50_userid", tr: [{label: langs.getText("common","userid")}, {name: "ADD_USERID", value: "", textfield:[{max: 16}], message: "", cont: 0}, {label: langs.getText("common","max16chdigit")}, {br: 1, cont: 1}, {label: langs.getText("p50","cmt_userid2"), cont: 1}]},
            {key: "pgm50_password", tr: [{label: langs.getText("common","passwd")}, {name: "ADD_PASSWORD", value: "", password:[{max: 16}], message: "", cont: 0}, {chk_type: "chk_showpwd", chk: 1, cont: 1}, {label: langs.getText("p50","show_pwd"), cont: 1}, {label: langs.getText("common","max16chdigit")}]},
            {key: "pgm50_privilege", struct:[{tr: [{label: langs.getText("p50","privilege"), rowspan: 4}, {label: "Maint", colspan: 2}, {name: "PRIVILEGE", radio: [{value: "10"}], cont: 1}]},
                                             {tr: [{label: "Admin", colspan: 2}, {name: "PRIVILEGE", radio: [{value: "4"}], cont: 1}]},
                                             {tr: [{label: "User", colspan: 2}, {name: "PRIVILEGE", value: "", radio: [{value: "3"}], cont: 1}]},
											 {tr: [{label: "ReadOnly", colspan: 2}, {name: "READONLY", value: "", chk_type: "chk_selectall", chk: 1, cont: 1}]}
                                             /* {tr: [{label: langs.getText("p50","pri_sta")}, {name:"PRI_STA", value:"", textfield:[{max:8}], message: "", cont: 0}, {btn: "+", btn_type: "btn_addstn", cont: 1}]} */ ]},
            {key: "pgm50_hr", contents: [{hr: 1}]},
            {key: "pgm50_userlist_tbl", table: [{label: langs.getText("p50","user_list"), colspan: 3}],
														 th: [{label: langs.getText("common","userid")}, {label: langs.getText("p50","privilege")}, {label: ""}],
												data_form: [{key: "", tr: [{name: "USER_ID", value: "", label: 1}, {name: "USER_PRI", value: "", label: 1}, {btn: langs.getText("common","btn_del"), btn_type: "btn_p50_deluser auth_write"}]}],
										  variable_data: []}
        ]}
    ]}
);
