context: 	updateEntries : function(roster) {		var rosterDiv = document.getElementById("portlet-chat-roster-list");				if (rosterDiv != null) {			rosterDiv.innerHTML = "";		}		else {			Messaging.checkRoster = false;			return;		}				for (var i = 0; i < roster.length; i++) {			var entry = roster[i];			var tempDiv = document.createElement("div");			var tempImg = document.createElement("img");			var tempLink = document.createElement("a");			tempImg.align = "absmiddle";			tempImg.style.marginRight = "5px";						if (entry.status == "available") {				tempImg.src = themeDisplay.getPathThemeImage() + "/chat/user_online.gif";			}			else {				tempImg.src = themeDisplay.getPathThemeImage() + "/chat/user_offline.gif";			}						tempLink.innerHTML = entry.name;			tempLink.href = "javascript: void(0)";			tempLink.onclick = MessagingRoster.onEntryLinkClick;						tempDiv.appendChild(tempImg);			tempDiv.appendChild(tempLink);			tempDiv.onclick = MessagingRoster.onEntryClick;			tempDiv.userId = entry.user;			tempDiv.userName = entry.name;			tempDiv.style.cursor = "pointer";			rosterDiv.appendChild(tempDiv);		}	},
meta: 10143	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10143/06e3a7e2d038a4d5c80af3aebacbbf2866c5ee3a/messaging.js/buggy/portal-web/docroot/html/js/portlet/messaging.js