prepareDwr(GroupService, getDefaultDwrPath()); 
function getUsersInfoCallback(usersInfo, properties, containerId) {	if (usersInfo == null || containerId == null) {		closeAllLoadingMessages();		return false;	}		var main = document.getElementById(containerId);	if (main == null) {		closeAllLoadingMessages();		return false;	}	removeChildren(main);		var container = new Element('div');	container.addClass('groupsMembersInfoList');		for (var i = 0; i < usersInfo.length; i++) {		var group = new Element('div');		group.injectInside(container);				var members = usersInfo[i].membersInfo;		if (members != null) {			var users = new Element('div');						var maxElements = members.length;	//	TODO: make paging			if (members.length > 40) {				maxElements = 40;			}			for (var j = 0; j < maxElements; j++) {				var user = new Element('div');								//	Image				var imageContainer = new Element('div');				imageContainer.addClass('groupMemberPhotoContainerStyleClass');				imageContainer.injectInside(user);				if (properties.showImage) {					var imageSrc = members[j].imageUrl;					if (imageSrc == null) {						imageSrc = properties.defaultPhoto;	//	Default 'photo'					}					else {						if (properties.remoteMode) {							imageSrc = properties.server + imageSrc;	//	Setting full path						}					}					if (imageSrc != null) {						var image = new Element('img');						image.setAttribute('src', imageSrc);						if (properties.imageWidth != null) {							image.setAttribute('width', properties.imageWidth);						}						if (properties.imageHeight != null) {							image.setAttribute('height', properties.imageHeight);						}						image.injectInside(imageContainer);												//	Add reflecion?						if (properties.addReflection) {							image.addReflection({height: '0.16', opacity: '0.55'});						}					}				}								//	Info				var infoContainer = new Element('div');				infoContainer.addClass('groupMemberInfoContainerStyleClass');								//	Status				if (properties.showStatus) {					getGroupInfoEntryPO(properties.localizedText[11], getLocalizationForUserStatus(members[j].status), true, properties.showLabels, 'groupMemberStatusContainerStyleClass').injectInside(infoContainer);									//	Empty line					var emptyLine = new Element('div');					emptyLine.addClass('emptyLineContainerStyleClass');					new Element('br').injectInside(emptyLine);					emptyLine.injectInside(infoContainer);				}								//	Name and age				getUserNameAndAgeContainer(members[j].name, members[j].age, properties).injectInside(infoContainer);								// Address				if (properties.showAddress) {					getAddressContainer(members[j].address, 'groupMemberAddressContainerStyleClass', false, properties.showLabels, properties.localizedText[12]).injectInside(infoContainer);				}								//	Phones and mails				getPhonesAndEmailsContainer(members[j].homePhone, members[j].workPhone, members[j].mobilePhone, members[j].emailsAddresses, 'groupMemberPhonesAndMailsContainerStyleClass', properties).injectInside(infoContainer);								//	Company address				if (properties.showCompanyAddress) {					getAddressContainer(members[j].companyAddress, 'groupMemberCompanyAddressContainerStyleClass', false, properties.showLabels, properties.localizedText[18]).injectInside(infoContainer);				}								//	Group name				if (properties.showGroupName) {					getGroupInfoEntryPO(properties.localizedText[22], usersInfo[i].groupName, false, properties.showLabels, 'groupMemberGroupContainerStyleClass').injectInside(infoContainer);				}								//	Date of birth				if (properties.showDateOfBirth) {					getGroupInfoEntryPO(properties.localizedText[19], members[j].dateOfBirth, false, properties.showLabels, 'groupMemberDateOfBirthContainerStyleClass').injectInside(infoContainer);				}								//	Job				if (properties.showJob) {					getGroupInfoEntryPO(properties.localizedText[20], members[j].job, false, properties.showLabels, 'groupMemberJobContainerStyleClass').injectInside(infoContainer);				}								//	Workplace				if (properties.showWorkplace) {					getGroupInfoEntryPO(properties.localizedText[21], members[j].workPlace, false, properties.showLabels, 'groupMemberWorkplaceContainerStyleClass').injectInside(infoContainer);				}								//	Extra info				if (properties.showExtraInfo) {					getGroupInfoEntryPO(properties.localizedText[16], members[j].extraInfo, false, properties.showLabels, 'groupMemberExtraInfoContainerStyleClass').injectInside(infoContainer);				}								//	Description				if (properties.showDescription) {					getGroupInfoEntryPO(properties.localizedText[17], members[j].description, false, properties.showLabels, 'groupMemberDescriptionContainerStyleClass').injectInside(infoContainer);				}								/*//	Title				if (properties.showTitle) {					getGroupInfoEntryPO(properties.localizedText[1], members[j].title, false, properties.showLabels, 'groupMemberTitleContainerStyleClass').injectInside(infoContainer);				}				//	Education				if (properties.showEducation) {					getGroupInfoEntryPO(properties.localizedText[7], members[j].education, false, properties.showLabels, 'groupMemberEducationContainerStyleClass').injectInside(infoContainer);				}				//	School				if (properties.showSchool) {					getGroupInfoEntryPO(properties.localizedText[8], members[j].school, false, properties.showLabels, 'groupMemberSchoolContainerStyleClass').injectInside(infoContainer);				}				//	Area				if (properties.showArea) {					getGroupInfoEntryPO(properties.localizedText[9], members[j].area, false, properties.showLabels, 'groupMemberAreaContainerStyleClass').injectInside(infoContainer);				}				//	Began work				if (properties.showBeganWork) {					getGroupInfoEntryPO(properties.localizedText[10], members[j].beganWork, false, properties.showLabels, 'groupMemberBeganworkContainerStyleClass').injectInside(infoContainer);				}*/								infoContainer.injectInside(user);				user.addClass('groupMemberStyleClass');				user.injectInside(users);				getDivsSpacer().injectInside(users);			}			users.injectInside(group);		}	}		container.injectInside(main);	getDivsSpacer().injectInside(main);	closeAllLoadingMessages();	}
6849	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6849/e81be272c28cf5681b471ca3a9aaa3ff5727796e/UserInfoViewerHelper.js/clean/resources/javascript/UserInfoViewerHelper.js