Hello Adam,
Thanks for reply, but this is not what we need. In this case the whole messenger opens up, but we want only chat window to open where we can chat with that person.
In Our case
1. There is page which displays online user.
2. If we click on any online user then it should open up a window to chat with that user. I am attaching screen shot of window that should open up.
Thanks
A-1 Technology