 var newMembers = new Array(); for (var i = 0; i < 5; i++) { newMembers.push(members[i]); 
var members = usersInfo[i].membersInfo; if (members != null) { var users = document.createElement('ul'); group.appendChild(users); for (var j = 0; j < members.length; j++) { var user = document.createElement('li'); users.appendChild(user);   if (properties.showImage) { if (members[j].imageUrl != null) { var imageContainer = document.createElement('div'); var image = document.createElement('img'); image.setAttribute('src', properties.server + members[j].imageUrl); if (properties.imageWidth != null) { image.setAttribute('width', properties.imageWidth); } if (properties.imageHeight != null) { image.setAttribute('height', properties.imageHeight); } imageContainer.appendChild(image); user.appendChild(imageContainer); } }  user.appendChild(getGroupInfoEntryPO(properties.localizedText[0], members[j].name, true, properties.showLabels));  if (properties.showTitle) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[1], members[j].title, true, properties.showLabels)); }  if (properties.showAge) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[2], members[j].age, true, properties.showLabels)); }  if (properties.showWorkPhone) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[3], members[j].workPhone, true, properties.showLabels)); }  if (properties.showHomePhone) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[4], members[j].homePhone, true, properties.showLabels)); }  if (properties.showMobilePhone) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[5], members[j].mobilePhone, true, properties.showLabels)); }  if (properties.showEmails) { var mainEmailsContainer = document.createElement('div'); if (properties.showLabels) { mainEmailsContainer.appendChild(document.createTextNode(properties.localizedText[6])); } var emailsContainer = getEmailsContainer(members[j].emailsAddresses); if (emailsContainer != null) { mainEmailsContainer.appendChild(emailsContainer); } user.appendChild(mainEmailsContainer); }  if (properties.showEducation) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[7], members[j].education, true, properties.showLabels)); }  if (properties.showSchool) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[8], members[j].school, true, properties.showLabels)); }  if (properties.showArea) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[9], members[j].area, true, properties.showLabels)); }  if (properties.showBeganWork) { user.appendChild(getGroupInfoEntryPO(properties.localizedText[10], members[j].beganWork, true, properties.showLabels)); } } 
function getUsersInfoCallback(usersInfo, properties, containerId) {	if (usersInfo == null) {		closeLoadingMessage();		return false;	}	//alert('total entries: ' + usersInfo.length);	/*if (usersInfo.length > 0) {		var members = usersInfo[0].membersInfo;		if (members == null) {			//alert('no members in: ' + usersInfo[0].groupName);		}		//alert('Members: ' + members.length);		var newMembers = new Array();		for (var i = 0; i < 5; i++) {			newMembers.push(members[i]);		}		usersInfo[0].membersInfo = newMembers;	}*/		//Received info about Groups users from 'remote' server	//Now rendering object in 'local' server	prepareDwr(GroupService, getDefaultDwrPath());		GroupService.getGroupsMembersPresentationObject(usersInfo, properties, {		callback: function(presentationObject) {			getGroupsMembersPresentationObjectCallback(presentationObject, containerId);		}	});}
6849	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6849/0906f27bfcd3b4083b187d7a0128def5db4164f6/UserInfoViewerHelper.js/buggy/resources/javascript/UserInfoViewerHelper.js