Are you planning to give everyone access to your email?
Be aware that when you programmatically access the yahoo site to log in, it's a different session from the perspective of the yahoo servers than the session of the user viewing your site. So even though you log in from your application the user won't be logged in.
Jason suggested that you might need to install java. You don't need to do that just to get javascript functionality.
-Peter
compiledthoughts.com