function addChooserObject(chooserObject, objectClass, chooserValueViewerId) { 
function addChooserObject(chooserObject, objectClass, hiddenInputAttribute, chooserValueViewerId) { 
function addChooserObject(chooserObject, objectClass, chooserValueViewerId) {	var container = chooserObject.parentNode;		CHOOSER_VALUE_VIEWER_ID = null;	var attributes = chooserObject.attributes;	if (attributes != null) {		if (attributes.getNamedItem(chooserValueViewerId) != null) {			CHOOSER_VALUE_VIEWER_ID = attributes.getNamedItem(chooserValueViewerId).value;		}	}		var chooser = null;	var choosers = getNeededElementsFromListById(container.childNodes, "chooser_presentation_object");	if (choosers != null) {		if (choosers.length > 0) {			chooser = choosers[0];		}	}	if (chooser == null) {		showLoadingMessage(LOADING_LABEL);		BuilderEngine.getRenderedPresentationObject(objectClass, false, {			callback: function(renderedObject) {				getRenderedPresentationObjectCallback(renderedObject, container);			}		});	}	else {		if (chooser.style.display == null) {			chooser.style.display = "block";		}		else {			if (chooser.style.display == "block") {				chooser.style.display = "none";			}			else {				chooser.style.display = "block";			}		}	}}
7496	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7496/f49d7aefcc4a8769507182a7892c09d9ae2c6e4f/BuilderHelper.js/buggy/resources/javascript/BuilderHelper.js