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: "pgm260_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_pgrpnum")+range_guide+" : "}, {name: "RANGE_1_0", value: "", textfield: [{max: 8, 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}, {br: 2}]},
            {key: "pgm260_grp_masterstn", contents: [{text: langs.getText("common","master_stn")+" : "}, {name:"GRP_MASTERSTN", value:"", textfield: [{max: 8}], message: "", cont: 0}, {btn: langs.getText("common","btn_save"), btn_type: "btn_p260_mstnsave auth_write"},{text: " "},{name:"GRP_LINKRANGE", value:"", btn: langs.getText("p190","btn_gotoattr"), btn_type: "btn_link_to_otherpgm pgm261"}]}, 
            {key: "pgm260_grp_adddelmember", table:[{label: langs.getText("common","grp_adddelmember"), colspan: 3}]}, 
            {key: "pgm260_grp_range_member", tr:[{label: langs.getText("common","stnrange")}, {name:"GRP_RANGE_SMEMBER", value:"", textfield: [{max: 8}], message: "", cont: 0}, {label: " - ", cont: 1}, {name:"GRP_RANGE_EMEMBER", value:"", textfield: [{max: 8}], message: "", cont: 1}, {label: " ", cont: 1}, {name: "GRP_RANGE_MODE", radio: [{value: "1"}], cont: 1}, {label: langs.getText("common","grp_range_member_add")+" ", cont: 1}, {name: "GRP_RANGE_MODE", radio: [{value: "2"}], cont: 1}, {label: langs.getText("common","simple_del"), cont: 1}, {btn: langs.getText("common","btn_save"), btn_type: "btn_grp_adddel_range auth_write"}]}, 
            {key: "pgm260_grp_addmember", tr:[{label: langs.getText("common","grp_addmember")}, {name:"GRP_ADDMEMBER", value:"", textfield: [{max: 8}], message: "", cont: 0}, {btn: "+", btn_type: "btn_addstn", cont: 1}, {btn: langs.getText("common","btn_save"), btn_type: "btn_grp_addstn auth_write"}]}, 
            {key: "pgm260_grp_memberlist", th:[{btn: langs.getText("common","btn_unselectall"), btn_type: "btn_selectall"}, {label: langs.getText("common","sta_num")}, {label: langs.getText("p260","grp_delay")}], 
                                    data_form:[{key: "", tr:[{name:"GRP_DELMEMBER", value: "", chk_type: "chk_selectall", chk: 1},
                                                              {name:"GRP_MEMBERSTN", value:"", textfield: [{max: 8}], message: "", cont: 0}, 
                                                              {name:"GRP_DELAY", value:"", textfield: [{max: 2, size: 1}], message: "", cont: 0}]}],
                                variable_data:[{}],
                                           tr:[{btn: langs.getText("common","btn_savedel"), btn_type: "btn_grp_delstn auth_write", colspan: 3}]}
        ]}
    ]}
);
