rem: member.listItem.appendChild( document.createTextNode( member.name ) ); 
add:  var iconElement = $(document.createElement( "div" )); iconElement.className = "icon"; member.listItem.appendChild( iconElement );  member.labelElement = $(document.createElement( "div" )); member.labelElement.className = "label"; member.labelElement.appendChild( document.createTextNode( member.name ) ); member.listItem.appendChild( member.labelElement ); 
context: function ChatRoomPanel( node ) {	ChatRoomPanel.baseConstructor.call( this, node );	this.memberListVisible = false;	this.listItem.removeClassName( "directChat" );	this.listItem.addClassName( "chatRoom" );	this.members = new Array();	this.memberList = $(document.createElement( "ol" ));	this.memberList.className = "memberList";	this.memberList.style.setProperty( "display", "none", "" );	$("panelList").appendChild( this.memberList );	var memberNodes = node.childNodes;	for( var i = 0; i < memberNodes.length; ++i ) {		var memberNode = memberNodes[i];		var member = new Object();		member.name = memberNode.firstChild.nodeValue;		member.nickname = memberNode.getAttribute( "nickname" );		member.hostmask = memberNode.getAttribute( "hostmask" );		member.identifier = memberNode.getAttribute( "identifier" );		member.buddy = memberNode.getAttribute( "buddy" );		member.type = memberNode.getAttribute( "class" );		member.self = ( memberNode.getAttribute( "self" ) == "yes" );		this.members.push( member );		member.listItem = $(document.createElement( "li" ));		member.listItem.title = member.hostmask;		member.listItem.className = "listItem member" + ( member.type ? " " + member.type : "" );		member.listItem.appendChild( document.createTextNode( member.name ) );		this.memberList.appendChild( member.listItem );	}	var panel = this;	this.listItem.addEventListener( "dblclick", function( event ) { panel.toggleMemberList(); event.preventDefault(); event.stopPropagation(); }, false );}
meta: 7556	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7556/489fdc9d41b607db9c21baabe863d8cd4128f869/common.js/clean/Plug-Ins/Web Interface/Resources/common.js