Createing Custom Chat Rooms / Web Client

I am currently running openfire with AD and also fastpath for some support stuff.

I would like to use the spark web for the client where it does not require an AD account I will pass arguments into the page of how I want the clients associated. for example: https://blah.com/webclient.html?user=test12345&location=something.com

So when people that are at the website something.com joins the chat they will be put into the something.com chatroom and only be able to see the other users that are from something.com. is that possible?

Any ideas on how to accomplish this or where to look for something like this?

Thanks

any body got any ideas?