var modules = getNeededElementsFromList(container.childNodes, "moduleContainer"); 
var modules = getNeededElementsFromList(container.childNodes, 'moduleContainer'); 
function addSelectedModule(newObjectId, className) {	if (PARENT_ID == null || PAGE_KEY == null) {		alert(NO_IDS_ERROR_MESSAGE);		return;	}		if (INSTANCE_ID == null) {		INSTANCE_ID = PARENT_ID;	}		var index = 0;	var container = document.getElementById(PARENT_ID);	if (container != null) {		var modules = getNeededElementsFromList(container.childNodes, "moduleContainer");		if (modules != null) {			index = modules.length;		}	}		showLoadingMessage(ADDING_MODULE_LABEL);		if (className == 'com.idega.block.article.component.ArticleItemViewer') {		BuilderEngine.addModule(PAGE_KEY, PARENT_ID, INSTANCE_ID, newObjectId, false, {			callback: function(uuid) {				addConcreteModuleCallback(uuid, index, PARENT_ID);			}		});	}	else {		BuilderEngine.addSelectedModule(PAGE_KEY, INSTANCE_ID, newObjectId, PARENT_ID, className, index, {			callback: function(component) {				addSelectedModuleCallback(component, PARENT_ID);			}		});	}}
7496	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7496/d7b2447bf60e05f03ce8b187398a6f1178328344/BuilderHelper.js/clean/resources/javascript/BuilderHelper.js