code: function(bottomGroup) {
  		var selectedGroups = [];
  		this.selectedGroups = selectedGroups;
  	
  		var display = this.display;
  		display.groupSelect.innerHTML = "";
  		var selectedGroup = this.selectedGroup;
  	
  		WireIt.GroupUtils.getOuterGroup(bottomGroup, function(current) {
  			var option = WireIt.cn("option", {value: "N" + selectedGroups.length}, {}, "N" + selectedGroups.length);
  			selectedGroups.push(current);
  		
  			display.groupSelect.appendChild(option);
  		
  			if (selectedGroup == current)
  		    	option.selected = true;
  	    	}
  	    );
     }
docs: setupSelectedGroups