Gmail yahoo friends connectivity

  1. I have seperate server having openfire with Jwchat installed successfully.
    Now I want users having Gmail & Yahoo friends should see them online on JWchat main user list window.
    Please let me know how can I acheive this.
  2. This server is indenpendent server( Openfire + Jwchat ). I want users from few specific sites only
    should able to access it. Either websites on this specific IP only should invoke the jwchat. Please help.