code:
for(var enumerator = new Enumerator(pChatWnd.Contacts) ; !enumerator.atEnd(); enumerator.moveNext()){
var Contact = enumerator.item();
Debug.Trace('Contact.Email :'+Contact.Email);
}
Your going to have to change pChatWnd to whatever the ChatWnd object is called in the function.