code: function(select) {
  		var index = select.selectedIndex;
  		if (index >= 0 && lang.isArray(this.selectedGroups) && index < this.selectedGroups.length) {
  	    	var group = this.selectedGroups[index];
  	    	this.showGroupConfigure(group);
  		}
  		else {
  	   	alert("index wrong (" + index + ")");
  		}
     }
docs: selectGroup