if (window.saveToggleState /* function exists*/) { saveToggleState(extraField); } 
function toggleAll(count, prefix, display, extraField) {	for (i = 0; i < count; i++) {		var elementId = prefix + i;		var element = document.getElementById(elementId);		if (element != null) {    					if(display=='expand') {				toggleOpen(element, elementId);			} else {				toggleClose(element, elementId);			}     	}     }     if (extraField != null  && (element = document.getElementById(extraField)) != null) {      		if(display=='expand') {				toggleOpen(element, extraField);			} else {				toggleClose(element, extraField);			}		     }}
5150	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5150/50d5305a15a8e5ce71ec03730ed7485cdb926c81/imutils.js/buggy/intermine/webapp/main/resources/webapp/js/imutils.js