Last I played around with this, there was a program called "YahoooPops" that did this for you. It worked pretty decent, and just required a small app to sit in your system tray.
Haven't used it in a while tho, so not sure of the development of it at this point. (Open Source.)
KeyserSoze