How to hide fastpath webchat link?

hi

I have requirement where I would liketo hide the “live chat” link in fastpath if all agents are already engaged in a chat session.

I have changed maxSessions=1.

But how can I find out if all agents are currently engaged in a chat session and then not show the “live chat” image on the site ?

Is there an easy way to accomplish this ?

I looked at workgroup-agents-status.jsp, but I dont want to parse that html page and find out

Any help would be appreciated.

hi

Does anyone know the answer to this ?

OR can someone point me in the right direction as to how to go about implementing it ?