window.twttr=window.twttr||{};
(function(){function m(c){c=c||window.event;for(var a=c.target||c.srcElement,b,d;a&&a.nodeName.toLowerCase()!=="a";)a=a.parentNode;if(a&&a.nodeName.toLowerCase()==="a"&&a.href)if(b=a.href.match(t)){b=Math.round(u/2-n/2);d=0;if(o>k)d=Math.round(o/2-k/2);window.open(a.href,"intent",v+",width="+n+",height="+k+",left="+b+",top="+d);c.returnValue=false;c.preventDefault&&c.preventDefault()}}function p(c){var a,b;for(b in c){a=w.apply(this,b.split("."));for(var d=0,e;e=a[d];d++)(new c[b](e)).render()}}function w(c,
a){var b,d=[],e,g;try{if(document.querySelectorAll)d=document.querySelectorAll(c+"."+a);else if(document.getElementsByClassName){b=document.getElementsByClassName(a);for(e=0;g=b[e];e++)g.tagName.toLowerCase()==c&&d.push(g)}else{b=document.getElementsByTagName(c);var h=RegExp("\\b"+a+"\\b");for(e=0;g=b[e];e++)g.className.match(h)&&d.push(g)}}catch(j){}return d}function q(c){for(var a=[],b=0,d=c.length;b<d;b++)a.push(c[b]);return a}var t=/twitter\.com(\:\d{2,4})?\/intent\/(\w+)/,v="scrollbars=yes,resizable=yes,toolbar=no,location=yes",
n=550,k=420,o=screen.height,u=screen.width;if(!window.__twitterIntentHandler){if(document.addEventListener)document.addEventListener("click",m,false);else document.attachEvent&&document.attachEvent("onclick",m);window.__twitterIntentHandler=true}if(!twttr.widgets)twttr.widgets={};if(!twttr.widgets.host)twttr.widgets.host="platform{i}.twitter.com";if(typeof twttr.widgets.ignoreSSL==="undefined")twttr.widgets.ignoreSSL=false;var x=document.title,y=encodeURI(location.href),l=0,z={en:{vertical:[55,62],
horizontal:[110,20],none:[55,20]},de:{vertical:[67,62],horizontal:[110,20],none:[67,20]},es:{vertical:[64,62],horizontal:[110,20],none:[64,20]},fr:{vertical:[65,62],horizontal:[110,20],none:[65,20]},it:{vertical:[55,62],horizontal:[110,20],none:[55,20]},ko:{vertical:[55,62],horizontal:[110,20],none:[55,20]},ja:{vertical:[80,62],horizontal:[130,20],none:[80,20]},ru:{vertical:[68,62],horizontal:[110,20],none:[68,20]},tr:{vertical:[66,62],horizontal:[110,20],none:[66,20]},pt:{vertical:[66,62],horizontal:[110,
20],none:[66,20]}},A={en:1,de:1,es:1,fr:1,it:1,ko:1,ja:1,ru:1,tr:1,pt:1},B={vertical:1,horizontal:1,none:1},C={en:"Twitter For Websites: Tweet Button",de:"Twitter f\u00fcr Webseiten: Tweet-Schaltfl\u00e4che",es:"Twi`tter para sitios web: Bot\u00f3n para Twittear",fr:'Twitter pour votre site web : bouton "Tweeter"',it:"Tweeter per i siti web: Bottone Tweet",ja:"WEB\u30b5\u30a4\u30c8\u5411\u3051Twitter: \u30c4\u30a4\u30fc\u30c8\u30dc\u30bf\u30f3",ko:"Twitter \uc6f9\ubc84\uc804: \ud2b8\uc717 \ubc84\ud2bc",
pt:"Twitter para websites: Bot\u00e3o de Tweet",ru:"\u0422\u0432\u0438\u0442\u0442\u0435\u0440 \u0434\u043b\u044f \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0430: \u043a\u043d\u043e\u043f\u043a\u0430 \u00ab\u0422\u0432\u0438\u0442\u043d\u0443\u0442\u044c\u00bb",tr:"Web siteleri i\u00e7in Twitter: Tweetle Butonu"};twttr.TweetButton=function(c){this.originElement=c;var a=c.href.split("?")[1],b;if(a){b={};var d,e;if(a){a=a.split("&");for(e=0;d=a[e];e++){d=d.split("=");if(d.length==2)b[decodeURIComponent(d[0])]=
decodeURIComponent(d[1])}}b=b}else b={};b=b;a=b.count||c.getAttribute("data-count");e=b.lang||c.getAttribute("data-lang");this.text=b.text||c.getAttribute("data-text")||x;if(!(d=b.via)){if(!(d=c.getAttribute("data-via")))a:{var g=document.getElementsByTagName("a"),h=document.getElementsByTagName("link");d=/\bme\b/;var j=/^https?\:\/\/(www\.)?twitter.com\/(#!\/)?([a-zA-Z0-9_]+)\/?$/;g=q(g).concat(q(h));for(var f,i,r=0;i=g[r];r++){h=i.getAttribute("rel");i=i.getAttribute("href");if(h&&i&&h.match(d)&&
(f=i.match(j))){d=f[3];break a}}d=void 0}d=d}this.via=d;if(!(f=b.url)){if(!(f=c.getAttribute("data-url"))){a:{f=document.getElementsByTagName("link");for(d=0;j=f[d];d++)if(j.getAttribute("rel")=="canonical"){f=j.getAttribute("href");d=void 0;if(f.match(/^https?:\/\//))f=f;else{d=location.host;if(location.port.length>0)d+=":"+location.port;f=f.match(/^\/[^\/]/)?[location.protocol,"//",d,f].join(""):[location.protocol,"//",d,location.pathname.replace(/\/([^\/]+)$/,"/"),f].join("")}break a}f=null}f=
f||y}f=f}this.url=f;this.statusID=b.status_id||c.getAttribute("data-status-id");this.related=b.related||c.getAttribute("data-related");this.counturl=b.counturl||c.getAttribute("data-counturl");this.searchlink=b.searchlink||c.getAttribute("data-searchlink");this.placeid=b.placeid||c.getAttribute("data-placeid");B[a]||(a="horizontal");this.count=a;A[e]||(e="en");this.lang=e};(function(c,a){for(var b in a)c[b]=a[b];return c})(twttr.TweetButton.prototype,{parameters:function(){var c;c=this.statusID?{status_id:this.statusID}:
{text:this.text,url:this.url,via:this.via,related:this.related,count:this.count,lang:this.lang,counturl:this.counturl,searchlink:this.searchlink,placeid:this.placeid};c._=(new Date).getTime();var a=[],b;for(b in c)c[b]!==null&&typeof c[b]!=="undefined"&&a.push(encodeURIComponent(b).replace(/\+/g,"%2B")+"="+encodeURIComponent(c[b]).replace(/\+/g,"%2B"));return a.sort().join("&")},render:function(){if(!twttr.TweetButton.fragment){twttr.TweetButton.fragment=document.createElement("div");twttr.TweetButton.fragment.innerHTML=
'<iframe allowtransparency="true" frameborder="0" scrolling="no" tabindex="0" class="twitter-share-button twitter-count-'+this.count+'"></iframe>'}var c=twttr.TweetButton.fragment.firstChild.cloneNode(false),a=(window.location.protocol.match(/s\:$/)||0)&&!twttr.widgets.ignoreSSL?"https":"http",b=twttr.widgets.host.replace("{i}",l++);if(l==3)l=0;c.src=a+"://"+b+"/widgets/tweet_button.html?"+this.parameters();a=z[this.lang][this.count];c.style.width=a[0]+"px";c.style.height=a[1]+"px";c.title=C[this.lang];
(a=this.originElement.parentNode)&&a.replaceChild(c,this.originElement)}});var s={"a.twitter-share-button":twttr.TweetButton};p(s);(function(c){var a,b,d=function(){document.readyState=="complete"&&a()},e,g=function(){try{document.documentElement.doScroll("left");a()}catch(h){}};if(window.addEventListener){a=function(){if(!b){b=true;c()}window.removeEventListener("DOMContentLoaded",a,false);window.removeEventListener("load",a,false)};window.addEventListener("DOMContentLoaded",a,false);window.addEventListener("load",
a,false)}else if(window.attachEvent){e=window.setInterval(g,13);a=function(){if(!b){b=true;c()}window.clearInterval(e);window.detachEvent("onreadystatechange",d);window.detachEvent("onload",a)};window.attachEvent("onreadystatechange",d);window.attachEvent("onload",a)}})(function(){p(s)})})();

