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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm125_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm125_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("p125","enter_icmgrpnum")+range_guide+" : "}, {name: "RANGE_1_0", value: "", textfield: [{max: 3, size: 3}], message: ""}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br: 2}, {text: langs.getText("common","icm_tenancy_group")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm125_icmgrp_atd", contents: [{text: langs.getText("p125","icmgrp_atd")+" : "}, {name: "ICMGRP_ATD", value: "", textfield: [{max: 8, size: 8}], message: ""}]},
            {key: "pgm125_mktbl", table: [{btn: langs.getText("common","btn_unselectall"), btn_type: "btn_selectall"}, {label: langs.getText("p125","set_access")}],
                                                                        data_form: [{key: "", tr: [{name: "ICMGRP_ACCESS", value: "", chk_type: "chk_selectall", chk: 1}, {label: langs.getText("p125","icmgrp_access")+" "}, {name: "GRP_NUM", value: "", label: 1, cont: 1}]}],
                                                                    variable_data: []}
		]}
	]}
);
