Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
CometChat for Vanilla

This would be perfect for Vanilla if someone can turn it into a plugin:
http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/
commercial demo: http://www.cometchat.com/
http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/
commercial demo: http://www.cometchat.com/
3
Comments
Why not go for an open-source variant which provides, more or less, the same functionality?
See http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/ .
What I can do is I can provide a test bed for this, as soon as it is out.
/cd
Actually ajaxIM could very well be based on the same code, as they look pretty similar.