Am trying to implement an instant messenger and i would love some advice on how i can load different images along contacts in a user's contact list to distinguish when someone is online and offline using presence info sent by the server.