if (info.NO_OF_PERSONAL_GRP) {
    var range_guide = " (1 - "+info.NO_OF_PERSONAL_GRP+")";
} else {
    var range_guide = "";
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm261_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm261_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_pgrpnum")+range_guide+" : "}, {name: "RANGE_1_0", value: "", textfield: [{max: 4, size: 10}], message: ""}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br: 2}, {text: langs.getText("common","pgrp_num")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm261_mktbl", title: langs.getText("common","mktbl"), table: [{label: langs.getText("common","order"), sort: "num"}, {label: langs.getText("common","attr")}, {label: langs.getText("common","val")}]},
            {key: "pgm261_grp_wakeup", title: langs.getText("p261","grp_wakeup"), tr:[{order: 1}, {label: langs.getText("p261","grp_wakeup")}, {name: "GRP_WAKEUP", value: "", select: [{value: "0", option: langs.getText("p261","opt_ind")}, {value: "1", option: langs.getText("p261","opt_ovr")}], message: "", cont: 0}]},
            {key: "pgm261_grp_cfw", title: langs.getText("p261","grp_cfw"), tr:[{order: 1}, {label: langs.getText("p261","grp_cfw")}, {name: "GRP_CFW", value: "", select: [{value: "0", option: langs.getText("p261","opt_ind")}, {value: "1", option: langs.getText("p261","opt_ovr")}], message: "", cont: 0}]},
            {key: "pgm261_grp_dnd", title: langs.getText("p261","grp_dnd"), tr:[{order: 1}, {label: langs.getText("p261","grp_dnd")}, {name: "GRP_DND", value: "", select: [{value: "0", option: langs.getText("p261","opt_ind")}, {value: "1", option: langs.getText("p261","opt_ovr")}], message: "", cont: 0}]},
            {key: "pgm261_grp_lnkatt", title: langs.getText("p261","grp_lnkatt"), tr:[{order: 1}, {label: langs.getText("p261","grp_lnkatt")}, {name: "GRP_LNKATT", value: "", select: [{value: "0", option: langs.getText("p261","opt_grp_lnkatt_off")}, {value: "1", option: langs.getText("p261","opt_grp_lnkatt_on")}], message: "", cont: 0}]}
		]}
	]}
);
