// Copyright © 2005 Yahoo! Inc. All rights reserved.
var yactions={button_color:'#1111',button_hover_color:'#cccccc',button_highlight_color:'#232323',button_shadow_color:'#111111',button_text_color:'#1389b7',css_class_name:'yaction',setButtonColor:function(s){this.button_color=s;},setButtonHoverColor:function(s){this.button_hover_color=s;},setButtonHighlightColor:function(s){this.button_highlight_color=s;},setButtonShadowColor:function(s){this.button_shadow_color=s;},setButtonTextColor:function(s){this.button_text_color=s;},buildButton:function(sType,sVehicle){switch(sType){case'save':this.button_text='&#43;&nbsp;';switch(sVehicle)
{case'MSN':this.button_target='My MSN';this.button_action="window.open('http://login.passport.net/uilogin.srf?lc=1033&id=6528'+encodeURIComponent(document.title)+'&u='+encodeURIComponent(window.location.href)+'&ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0);return false";break;default:this.button_target=' to My Web Yahoo';this.button_action="window.open('http://login.passport.net/uilogin.srf?lc=1033&id=6528'+encodeURIComponent(document.title)+'&u='+encodeURIComponent(window.location.href)+'&ei=UTF-8','popup','width=580px,height=480px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0);return false";break;}break;case'print':this.button_text='Print';this.button_target='';this.button_action='window.print();';break;default:this.button_text='Add';this.button_target=' to My MSN';this.button_action="window.open('http://login.passport.net/uilogin.srf?lc=1033&id=6528'+encodeURIComponent(document.title)+'&u='+encodeURIComponent(window.location.href)+'&ei=UTF-8','popup','width=580px,height=480px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0);return false";break;}document.write('<style type="text/css">'+'a.'+this.css_class_name+'{'+'text-decoration:none;'+'border-style:solid;'+'border-width:1px;'+'border-top-color:'+this.button_highlight_color+';'+'border-right-color:'+this.button_shadow_color+';'+'border-bottom-color:'+this.button_shadow_color+';'+'border-left-color:'+this.button_highlight_color+';'+'background-color:'+this.button_color+';'+'color:'+this.button_text_color+';'+'font:normal 13px Tahoma, sans-serif;'+'}'+'a.'+this.css_class_name+':hover{'+'background-color:'+this.button_hover_color+';'+'}'+'</style>'+'<a href="" onclick="'+this.button_action+'" class="'+this.css_class_name+'">'+this.button_text+this.button_target+'</a>');}};


