function registerGroupInfoChooserActions(nodeOnClickAction, noGroupsMessage, selectedGroups, styleClass) {	if (noGroupsMessage != null) {		NO_GROUPS_MESSAGE = noGroupsMessage;	}	if (nodeOnClickAction != null){		NODE_ON_CLICK_ACTION = nodeOnClickAction;	}		$$('input.groupInfoChooserRadioStyle').each(		function(element) {			element.removeEvents('click');						element.addEvent('click', function() {				if (element.value) {					var values = element.value.split('@');					if (values.length = 2) {						manageConnectionType('local' == values[0], values[1], noGroupsMessage, selectedGroups, styleClass);						groups_chooser_helper.removeAllAdvancedProperties();	//	Because changing connection type						groups_chooser_helper.addAdvancedProperty('connection', values[0]);					}				}			});    	}    );        $$('span.' + GROUPS_TREE_LIST_ELEMENT_STYLE_CLASS).each(	//	These actions needed for Builder, define your own if need		function(element) {			element.removeEvents('click');						element.addEvent('click', function() {				selectGroup(element);				checkOtherProperties(element);			});			if (NODE_ON_CLICK_ACTION != null){				element.addEvent('click', NODE_ON_CLICK_ACTION);			}    	}    );    if (styleClass != null && styleClass != GROUPS_TREE_LIST_ELEMENT_STYLE_CLASS) {	//	We don't want to override default actions	    $$('span.' + styleClass).each(	//	These are custom actions			function(element) {				//element.addEvent('click', customFunction);	<- example	    	}	    );    }}
6849	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6849/f3a5cd8bcb8f556375ab8bfbf7d28f52a4e772ba/GroupHelper.js/buggy/resources/javascript/GroupHelper.js