title: Library for in browser chat client like fb chat or gchat over the xmpp protocol?
body: <p>I am trying to build a chat service within my site which will let users chat with their "friends" on the site.  Their "friends" will be decided internally from a mysql database. The chat application should look like gchat where once a contact is clicked on, a tab on the bottom pops up and you are ready to chat.</p>
  
  <p>Are there any good libraries which would allow for such functionality?  Preferably ones that run over an ejabberd server although it can be something else.  If not, what would be the best way of implementing such an in browser chat app in a zend/php framework?</p>
  
  <p>Thanks</p>
  
  <p>Edit:
  After some more research I have come across libjingle.  Would that be the kind of library that I am looking for? Or can anyone tell me more about libjingle and its uses?</p>