to include in a website, jsjac is pretty nice. (<a href="http://blog.jwchat.org/jsjac/" rel="nofollow">http://blog.jwchat.org/jsjac/</a>) it can be used to replace nearly all of your messaging functionality -- short messages, group messages, and live chat. it's reasonably easy to configure and install, and requires a jabber server running somewhere.