(function(){var g=encodeURIComponent(typeof buzzzy_url=="string"?buzzzy_url:window.location.href),h=encodeURIComponent(typeof buzzzy_title=="string"?buzzzy_title:document.title),i=escape(typeof buzzzy_style=="string"?buzzzy_style:"compact"),j=escape(typeof buzzzy_inject=="string"?buzzzy_inject:"auto"),k=escape(typeof buzzzy_compact_align=="string"?buzzzy_compact_align:"left"),f={buzzzy_buzzit_url:"http://buzzzy.com/api/buzz.it",getHTML:function(a,c,b,d){c=encodeURIComponent(typeof c=="string"?c:window.location.href); b=encodeURIComponent(typeof b=="string"?b:document.title);a=escape(typeof a=="string"?a:"compact");d=encodeURIComponent(typeof d=="string"?d:a=="buzzzy"?"right":"left");return this.__getFrame(c,b,a,d)},getObject:function(a,c,b,d){c=encodeURIComponent(typeof c=="string"?c:window.location.href);b=encodeURIComponent(typeof b=="string"?b:document.title);a=escape(typeof a=="string"?a:"compact");d=encodeURIComponent(typeof d=="string"?d:a=="buzzzy"?"right":"left");var e=document.createElement("iframe"); e.src=this.__getUrl(c,b,a,d);if(a=="compact"||a=="buzzzy"){e.setAttribute("height",18);e.setAttribute("width",82)}else{e.setAttribute("height",56);e.setAttribute("width",50)}e.setAttribute("frameBorder","0");e.setAttribute("scrolling","no");e.setAttribute("allowTransparency","true");return e},__getFrame:function(a,c,b,d){return b=="compact"||b=="buzzzy"?'<iframe allowTransparency="true" src="'+this.__getUrl(a,c,b,d)+'" height="18" width="82" frameborder="0" scrolling="no"></iframe>':'<iframe allowTransparency="true" src="'+ this.__getUrl(a,c,b,d)+'" height="56" width="50" frameborder="0" scrolling="no"></iframe>'},__getUrl:function(a,c,b,d){return c!=""?this.buzzzy_buzzit_url+"?url="+a+"&title="+c+"&style="+b+"&align="+d:this.buzzzy_buzzit_url+"?url="+a+"&style="+b+"&align="+d}};window.Buzzzy=f;j!="manual"&&document.write(f.__getFrame(g,h,i,k))})();
