I was able to made some progress!. I was able to get the scripts ( through some hack ) that is betting executed , which contains the proxy names, after going through the trillion forums.
I will try setting these proxy names in gaim. I think my problem will get solved!.
Thanks for the help.
One question though..
How does yahoo messenger connects to the net?.. How does yahoo messenger gets the proxy name?.. Why can't gaim also implement the same stuff?.. I am just curious here..