var browserName=navigator.appName,browserVer=parseInt(navigator.appVersion),version="",msie4=(browserName=="Microsoft Internet Explorer"&&browserVer>=4);if((browserName=="Netscape"&&browserVer>=3)||msie4||browserName=="Konqueror"||browserName=="Opera"){version="n3"}else version="n2"
function blurLink(theObject){if(msie4)theObject.blur()}
function decryptCharcode(n,start,end,offset){n=n+offset;if(offset>0&&n>end){n=start+(n-end-1)}else if(offset<0&&n<start)n=end-(start-n-1);return String.fromCharCode(n)}
function decryptString(enc,offset){var dec="",len=enc.length;for(var i=0;i<len;i++){var n=enc.charCodeAt(i);if(n>=0x2B&&n<=0x3A){dec+=decryptCharcode(n,0x2B,0x3A,offset)}else if(n>=0x40&&n<=0x5A){dec+=decryptCharcode(n,0x40,0x5A,offset)}else if(n>=0x61&&n<=0x7A){dec+=decryptCharcode(n,0x61,0x7A,offset)}else dec+=enc.charAt(i)};return dec}
function linkTo_UnCryptMailto(s){location.href=decryptString(s,-2)};
var switchTo5x=true;
var cookie=new function(){return{setCookie:function(d,f,h){if(h){var c=new Date();c.setTime(c.getTime()+(h*24*60*60*1e3));var a="; expires="+c.toGMTString()}else var a="";var b=d+"="+escape(f)+a,g=document.domain.split(/\./),e="";if(g.length>1)e="."+g[g.length-2]+"."+g[g.length-1];b+="; domain="+escape(e)+";path=/";document.cookie=b},getCookie:function(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else return false},deleteCookie:function(a){var c="/",d=document.domain.split(/\./),b="";if(d.length>1)b="."+d[d.length-2]+"."+d[d.length-1];document.cookie=a+"="+(c?";path="+c:"")+(b?";domain="+b:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}}}(),IN=new Object();IN.Tags=new Object();IN.Tags.Share=new Object();IN.Tags.Share.handleCount=function(a){return stButtons.linkedinCB(a)};if(typeof stlib=="undefined")var stlib={};stlib.counts={getNativeCounts:function(c,b,a){switch(c){case"facebook":stLight.odjs("http://api.facebook.com/method/fql.query?format=json&query=select url, like_count, total_count, comment_count, share_count, click_count from link_stat where url='"+encodeURIComponent(b)+"'&callback="+a);break;case"linkedin":stLight.odjs("http://www.linkedin.com/countserv/count/share?format=jsonp&url="+encodeURIComponent(b));break;case"stumbleupon":stLight.odjs("http://www.stumbleupon.com/services/1.1/badge.getinfo?url="+encodeURIComponent(b)+"&format=jsonp&callback="+a);break}}};var __stbrowser=new function(){iemode=null;if(window.navigator.appName=="Microsoft Internet Explorer")if(document.documentMode){iemode=document.documentMode}else{iemode=5;if(document.compatMode)if(document.compatMode=="CSS1Compat")iemode=7};return{getIEVersion:function(){return iemode}}}();__stgetPubGA=function(){if(typeof _gaq!=="undefined"&&typeof __stPubGA=="undefined"){if(typeof _gat!=="undefined")__stPubGA=_gat._getTrackerByName("~0")._getAccount();if(typeof __stPubGA!=="undefined"&&__stPubGA=="UA-XXXXX-X")_gaq.push(function(){var a=_gat._getTrackerByName();__stPubGA=a._getAccount()})};if(__stPubGA=="UA-XXXXX-X")delete __stPubGA};if(typeof stLight=="undefined"&&typeof SHARETHIS=="undefined"){var stRecentServices=false;if(typeof switchTo5x=="undefined")switchTo5x=false;var esiLoaded=false,stIsLoggedIn=false,servicesLoggedIn={},stFastShareObj={};if("https:"==document.location.protocol)var useFastShare=false;if(typeof useFastShare=="undefined")var useFastShare=true;stLight=new function(){this.publisher=null;this.sessionID_time=(new Date()).getTime().toString();this.sessionID_rand=Number(Math.random().toPrecision(5).toString().substr(2)).toString();this.sessionID=this.sessionID_time+"."+this.sessionID_rand;this.fpc=null;this.counter=0;this.readyRun=false;this.meta={hostname:document.location.host,location:document.location.pathname};this.loadedFromBar=false;this.clickCallBack=false}();stLight.onReady=function(){if(stLight.readyRun==true)return false;stLight.processSTQ();stLight.readyRun=true;if(stLight.publisher==null)if(typeof(window.console)!=="undefined")try{console.debug("Please specify a ShareThis Publisher Key \nFor help, contact support@sharethis.com")}catch(a){};var b=stLight.getSource();stLight.log("pview",b,"");stWidget.options.sessionID=stLight.sessionID;stWidget.options.fpc=stLight.fpc;stLight.loadServicesLoggedIn(function(){stButtons.onReady()})};stLight.getSource=function(){var a="share4x";if(switchTo5x)a="share5x";if(stLight.hasButtonOnPage()){if(stLight.loadedFromBar)if(switchTo5x){a="bar_share5x"}else a="bar_share4x"}else if(stLight.loadedFromBar)a="bar";return a};stLight.log=function(d,e,c){var f=(("https:"==document.location.protocol)?"https://l.":"http://l.")+"sharethis.com/log?event=";if(d=="pview")f=(("https:"==document.location.protocol)?"https://l.":"http://l.")+"sharethis.com/pview?event=";var a=stLight.dbrInfo();if(a==false)a="";f+=d;f+="&source="+e;if(c!="")f+="&type="+c;f+="&publisher="+encodeURIComponent(stLight.publisher)+"&hostname="+encodeURIComponent(stLight.meta.hostname)+"&location="+encodeURIComponent(stLight.meta.location)+"&url="+encodeURIComponent(document.location.href)+"&sessionID="+stLight.sessionID+"&fpc="+stLight.fpc+"&ts"+(new Date()).getTime()+"."+ stLight.counter+++a;var b=new Image(1,1);b.src=f;b.onload=function(){return};if(d=="pview")stLight.createSegmentFrame()};stLight._stFpc=function(){if(!document.domain||document.domain.search(/\.gov/)>0)return false;var g=stLight._stGetFpc("__unam");if(g==false){var c=Math.round(Math.random()*2147483647);c=c.toString(16);var h=(new Date()).getTime();h=h.toString(16);var e="",a=stLight._stGetD();a=a.split(/\./)[1];if(!a)return false;e=stLight._stdHash(a)+"-"+h+"-"+c+"-1";g=e;stLight._stSetFpc(g)}else{var b=g,f=b.split(/\-/);if(f.length==4){var d=Number(f[3]);d++;b=f[0]+"-"+f[1]+"-"+f[2]+"-"+d;g=b;stLight._stSetFpc(g)}};return g};stLight._stSetFpc=function(g){var a="__unam",c=new Date(),i=c.getFullYear(),f=c.getMonth()+9,h=c.getDate(),d=a+"="+escape(g);if(i){var b=new Date(i,f,h);d+="; expires="+b.toGMTString()};var e=stLight._stGetD();d+="; domain="+escape(e)+";path=/";document.cookie=d};stLight._stGetD=function(){var b=document.domain.split(/\./),a="";if(b.length>1)a="."+b[b.length-2]+"."+b[b.length-1];return a};stLight._stGetFpc=function(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else return false};stLight._stdHash=function(a){var e=0,d=0;for(var c=a.length-1;c>=0;c--){var b=parseInt(a.charCodeAt(c));e=((e<<8)&268435455)+b+(b<<12);if((d=e&161119850)!=0)e=(e^(d>>20))};return e.toString(16)};stLight._thisScript=null;stLight.getShareThisLightScript=function(){var d=document.getElementsByTagName("script"),c=null;for(var b=0;b<d.length;b++){var a=d[b].src;if(a.search(/.*sharethis.*\/button\/light.*/)>=0)c=d[b]};return c};stLight.dbrInfo=function(){var i=document.referrer;if(i&&i.length>0){var g=/\/\/.*?\//,d=i.match(g);if(typeof d!=="undefined"&&typeof(d[0])!=="undefined"){var b=new RegExp(document.domain,"gi");if(b.test(d[0])==true)return false};var f=/(http:\/\/)(.*?)\/.*/i,e=/(^.*\?)(.*)/ig,a="",c=i.replace(f,"$2"),b=new RegExp(c,"gi");if(c.length>0){a+="&refDomain="+c}else return false;var h=i.replace(e,"$2");if(h.length>0)a+="&refQuery="+encodeURIComponent(h);return a}else return false};stLight.odjs=function(a,b){this.head=document.getElementsByTagName("head")[0];this.scriptSrc=a;this.script=document.createElement("script");this.script.setAttribute("type","text/javascript");this.script.setAttribute("src",this.scriptSrc);this.script.onload=b;this.script.onreadystatechange=function(){if(this.readyState=="complete"||(a.indexOf("checkOAuth.esi")!=-1&&this.readyState=="loaded"))b()};this.head.appendChild(this.script)};stLight.loadServicesLoggedIn=function(b){if(useFastShare){try{stLight.odjs((("https:"==document.location.protocol)?"https://wd-edge.sharethis.com/button/checkOAuth.esi":"http://wd-edge.sharethis.com/button/checkOAuth.esi"),function(){if(typeof userDetails!=="undefined"){stIsLoggedIn=true;if(userDetails!=="null")servicesLoggedIn=userDetails};esiLoaded=true;if(b!=null)b()})}catch(a){}}else if(b!=null)b()};if(window.document.readyState=="completed"){stLight.onReady()}else if(typeof(window.addEventListener)!="undefined"){window.addEventListener("load",stLight.onReady,false)}else if(typeof(document.addEventListener)!="undefined"){document.addEventListener("load",stLight.onReady,false)}else if(typeof window.attachEvent!="undefined")window.attachEvent("onload",stLight.onReady);stLight.createSegmentFrame=function(){try{stLight.segmentframe=document.createElement('<iframe name="stframe" allowTransparency="true" style="body{background:transparent;}" ></iframe>')}catch(b){stLight.segmentframe=document.createElement("iframe")};stLight.segmentframe.id="stSegmentFrame";stLight.segmentframe.name="stSegmentFrame";var c=document.body,a=(("https:"==document.location.protocol)?"https://seg.":"http://seg.")+"sharethis.com/getSegment.php?purl="+encodeURIComponent(document.location.href)+"&jsref="+encodeURIComponent(document.referrer)+"&rnd="+(new Date()).getTime();stLight.segmentframe.src=a;stLight.segmentframe.frameBorder="0";stLight.segmentframe.scrolling="no";stLight.segmentframe.width="0px";stLight.segmentframe.height="0px";stLight.segmentframe.setAttribute("style","display:none;");c.appendChild(stLight.segmentframe)};stLight.fpc=stLight._stFpc();stLight.options=function(a){if(a&&a.publisher)stLight.publisher=a.publisher;if(a&&a.loadedFromBar)stLight.loadedFromBar=a.loadedFromBar;if(a&&a.clickCallBack&&typeof(a.clickCallBack)=="function")stLight.clickCallBack=a.clickCallBack;for(var b in a)if(stWidget.options.hasOwnProperty(b)&&a[b]!==null)stWidget.options[b]=a[b]};stLight.hasButtonOnPage=function(){var d=document.getElementsByTagName("*"),c=new RegExp(/^st_(.*?)$/),a=d.length;for(var b=0;b<a;b++)if(typeof(d[b].className)=="string"&&d[b].className!="")if(d[b].className.match(c)&&d[b].className.match(c).length>=2&&d[b].className.match(c)[1])return true;return false}};var stButtons={};stButtons.smartifyButtons=function(a){if(typeof a!="undefined"&&a!="undefined"){stRecentServices=a;for(var b in stRecentServices)stRecentServices[b].processed=false};stButtons.completeInit()};stButtons.makeButton=function(s){var f=s.service,D=s.text;if(D==null&&(s.type=="vcount"||s.type=="hcount")){D="Share";if(f=="email")D="Mail"};if(f=="fb_like"){f="fblike"}else if(f=="fblike_fbLong"){f="fblike";s.type="fbLong"};var g=stWidget.ogurl?stWidget.ogurl:document.location.href;g=s.url?s.url:g;var G=stWidget.ogtitle?stWidget.ogtitle:document.title;G=s.title?s.title:G;var e=(s.thumbnail&&s.thumbnail!=null)?s.thumbnail:stWidget.ogimg,S=stWidget.desc?stWidget.desc:"";S=stWidget.ogdesc?stWidget.ogdesc:stWidget.desc;S=(s.description&&s.description!=null)?s.description:S;if(/(http|https):\/\//.test(g)==false){g=decodeURIComponent(g);G=decodeURIComponent(G)};if(/(http|https):\/\//.test(g)==false){g=decodeURIComponent(g);G=decodeURIComponent(G)};var Y=document.createElement("span");Y.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;");Y.className="stButton";if(s.type=="custom"&&f!="email"&&f!="sharethis"&&f!="wordpress"){s.element.onclick=function(){stLight.callSubscribers("click",f,g);var Z=document.createElement("form");Z.setAttribute("method","GET");Z.setAttribute("action",(("https:"==document.location.protocol)?"https://ws":"http://wd")+".sharethis.com/api/sharer.php");Z.setAttribute("target","_blank");Z.setAttribute("accept-charset","UTF-8");var aa={url:g,title:G,destination:f,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID};if(typeof e!="undefined"&&e!=null)aa.image=e;if(typeof S!="undefined"&&S!=null)aa.desc=S;aa.service=s.service;aa.type=s.type;for(var b in aa){var a=document.createElement("input");a.setAttribute("type","hidden");a.setAttribute("name",b);a.setAttribute("value",aa[b]);Z.appendChild(a)};document.body.appendChild(Z);Z.submit()};return false};if(!((f=="email"||f=="sharethis"||f=="wordpress")||(stIsLoggedIn&&servicesLoggedIn&&typeof(servicesLoggedIn[f])!="undefined"&&((useFastShare||(!useFastShare&&switchTo5x))&&(f=="facebook"||f=="twitter"||f=="yahoo"||f=="linkedin")))))Y.onclick=function(){stLight.callSubscribers("click",f,g);var aa=this.getElementsByTagName("*");for(var Z=0;Z<aa.length;Z++)if(aa[Z].className=="stBubble_hcount"||aa[Z].className=="stBubble_count")if(!stButtons.checkNativeCountServicesQueue(f))if(!isNaN(aa[Z].innerHTML))aa[Z].innerHTML=Number(aa[Z].innerHTML)+1;if(stWidget.options.tracking)shareLog(f);var ab=document.createElement("form");ab.setAttribute("method","GET");ab.setAttribute("action",(("https:"==document.location.protocol)?"https://ws":"http://wd")+".sharethis.com/api/sharer.php");ab.setAttribute("target","_blank");ab.setAttribute("accept-charset","UTF-8");var ac={url:g,title:G,destination:f,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID};if(typeof e!="undefined"&&e!=null)ac.image=e;if(typeof S!="undefined"&&S!=null)ac.desc=S;ac.service=s.service;ac.type=s.type;for(var b in ac){var a=document.createElement("input");a.setAttribute("type","hidden");a.setAttribute("name",b);a.setAttribute("value",ac[b]);ab.appendChild(a)};document.body.appendChild(ab);ab.submit()};if(f=="gbuzz")return Y;if(f=="fblike"||f=="fbsend"||f=="fbrec"||f=="fbLong")return stButtons.makeFBButton(f,s.type,g);if(f=="plusone"){stButtons.loadPlusone=true;var B=document.createElement("div");B.innerHTML="&nbsp;";iedocmode=__stbrowser.getIEVersion();var t=(navigator.userAgent.indexOf("MSIE 7.0")!=-1),h=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1),K="display:inline-block;overflow:hidden;line-height:0px;",y="overflow:hidden;zoom:1;display:inline;vertical-align:bottom;",z="overflow:hidden;zoom:1;display:inline;line-height:0px;position:relative;",d=document.createElement("g:plusone");d.setAttribute("href",g);if(s.type=="vcount"){d.setAttribute("size","tall");B.setAttribute("style",K+"vertical-align:bottom;width:55px; height:61px;");t&&B.style.setAttribute?B.style.setAttribute("cssText",K+"vertical-align:bottom;width:55px; height:61px;",0):null;(iedocmode&&(iedocmode==7)&&B.style.setAttribute)?B.style.setAttribute("cssText",z+"vertical-align:bottom;bottom:-8px;width:55px; height:80px;",0):null}else if(s.type=="hcount"){d.setAttribute("size","medium");d.setAttribute("count","true");B.setAttribute("style",K+"position:relative;vertical-align:middle;bottom:0px;width:75px; height:21px;");t&&B.style.setAttribute?B.style.setAttribute("cssText",K+"position:relative;vertical-align:middle;width:75px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&B.style.setAttribute)?B.style.setAttribute("cssText",z+"vertical-align:middle;bottom:2px;width:75px; height:21px;",0):null}else if(s.type=="button"){d.setAttribute("size","medium");d.setAttribute("count","false");B.setAttribute("style",K+"position:relative;vertical-align:middle;bottom:0px;width:36px; height:21px;");t&&B.style.setAttribute?B.style.setAttribute("cssText",K+"position:relative;vertical-align:middle;width:36px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&B.style.setAttribute)?B.style.setAttribute("cssText",z+"vertical-align:middle;bottom:-8px;width:36px; height:39px;",0):null}else if(s.type=="large"){d.setAttribute("size","medium");d.setAttribute("count","false");B.setAttribute("style",K+"position:relative;vertical-align:middle;bottom:8px;width:36px; height:30px;");t&&B.style.setAttribute?B.style.setAttribute("cssText",K+"position:relative;vertical-align:middle;bottom:8px;width:36px; height:30px;",0):null;(iedocmode&&(iedocmode==7)&&B.style.setAttribute)?B.style.setAttribute("cssText",z+"vertical-align:middle;bottom:-3px;width:36px; height:39px;",0):null}else{d.setAttribute("size","small");d.setAttribute("count","false");B.setAttribute("style",K+"position:relative;vertical-align:middle;bottom:0px;width:36px; height:16px;");t&&B.style.setAttribute?B.style.setAttribute("cssText",K+"position:relative;vertical-align:middle;width:36px; height:16px;",0):null;(iedocmode&&(iedocmode==7)&&B.style.setAttribute)?B.style.setAttribute("cssText",z+"vertical-align:middle;bottom:-12px;width:36px; height:36px;",0):null};B.appendChild(d);d.setAttribute("callback","plusoneCallback");return B};var i=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/",R=document.createElement("img");R.src=i+"check-big.png";R.style.position="absolute";R.style.top="-7px";R.style.right="-7px";R.style.width="19px";R.style.height="19px";R.style.maxWidth="19px";R.style.maxHeight="19px";var p=f
function l(a){var Z=new Date(),b=null,aa=0;do{b=new Date();aa++;if(aa>a)break}while(((b-Z)<a)||!esiLoaded)};if(!esiLoaded&&(f=="facebook"||f=="twitter"||f=="linkedin"||f=="yahoo"))l(500);if(!(useFastShare&&servicesLoggedIn&&typeof(servicesLoggedIn[f])!="undefined"&&(f=="facebook"||f=="twitter"||f=="linkedin"||f=="yahoo")))R.style.display="none";if(s.type=="chicklet"){var I=document.createElement("span");I.className="chicklets "+f;if(D==null){I.innerHTML="&nbsp;";Y.style.paddingLeft="0px";Y.style.paddingRight="0px";Y.style.width="16px"}else{I.appendChild(document.createTextNode(D));R.style.right="auto";R.style.left="8px";R.style.top="-5px"};Y.appendChild(I);R.src=i+"check-small.png";R.style.top="-6px";R.style.width="13px";R.style.height="13px";R.style.maxWidth="13px";R.style.maxHeight="13px";Y.appendChild(R);return Y}else if(s.type=="large"){var I=document.createElement("span");I.className="stLarge";Y.appendChild(I);I.style.backgroundImage="url('"+i+p+"_32.png')";Y.appendChild(R);return Y}else if(s.type=="basic"){var I=document.createElement("span");I.className="stLarge";I.className=s.size=="16"?"stSmall":I.className;I.className=s.size=="64"?"stHuge":I.className;Y.appendChild(I);I.style.backgroundImage="url('"+i+"basic/"+s.size+"/"+p+"_"+s.color+".png')";Y.appendChild(R);return Y}else if(s.type=="pcount"||s.type=="stbar"||s.type=="stsmbar"){var x=document.createElement("span"),I=document.createElement("span");if(s.type=="stsmbar"){I.className="stSmBar";var i=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";I.style.backgroundImage="url('"+i+p+"_16.png')";R.src=i+"check-small.png"}else{I.className="stLarge";var i=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";I.style.backgroundImage="url('"+i+p+"_32.png')"};I.appendChild(R);x.appendChild(I);var q=document.createElement("span"),X=document.createElement("div");if(s.type=="stsmbar"){X.className="stBubbleSmHoriz"}else X.className="stBubbleSm";X.setAttribute("id","stBubble_"+s.count);X.style.visibility="hidden";var P=document.createElement("div");P.className="stBubble_count_sm";X.appendChild(P);q.appendChild(X);q.appendChild(x);Y.appendChild(q);stButtons.getCount2(g,f,P);x.onmouseover=function(){var a=document.getElementById("stBubble_"+s.count);a.style.visibility="visible"};x.onmouseout=function(){var a=document.getElementById("stBubble_"+s.count);a.style.visibility="hidden"};return Y}else if(s.type=="button"||s.type=="vcount"||s.type=="hcount"){var x=document.createElement("span");x.className="stButton_gradient";var E=document.createElement("span");E.className="chicklets "+f;if(D==null){E.innerHTML="&nbsp;"}else E.appendChild(document.createTextNode(D));x.appendChild(E);if(f=="facebook"||f=="twitter"||f=="linkedin"||f=="yahoo"){var r=document.createElement("span");r.className="stMainServices st-"+f+"-counter";r.innerHTML="&nbsp";x=r;r.style.backgroundImage="url('"+i+p+"_counter.png')"};x.appendChild(R);if(s.type=="vcount"){var q=document.createElement("div"),X=document.createElement("div");X.className="stBubble";var P=document.createElement("div");P.className="stBubble_count";X.appendChild(P);q.appendChild(X);q.appendChild(x);Y.appendChild(q);stButtons.getCount2(g,f,P)}else if(s.type=="hcount"){var q=document.createElement("span"),J=document.createElement("span");J.className="stButton_gradient stHBubble";var o=document.createElement("span");o.className="stButton_left";o.innerHTML="&nbsp;";var u=document.createElement("span");u.className="stButton_right";u.innerHTML="&nbsp;";var P=document.createElement("span");P.className="stBubble_hcount";J.appendChild(P);q.appendChild(x);var A=document.createElement("span");A.className="stArrow";A.appendChild(J);q.appendChild(A);Y.appendChild(q);stButtons.getCount2(g,f,P)}else Y.appendChild(x);if(s.type=="vcount"||s.type=="hcount")if(s.ctype=="native")if(f=="twitter"){var Q=document.createElement("span");Q.className="stButton";var C=55,U=20,N="",j="none",F=7;if(s.type=="vcount"){var n=document.createElement("div");C=55;U=62;N="top:42px;";j="vertical";R.style.top="34px"}else if(s.type=="hcount"){var n=document.createElement("span");C=110;U=20;j="horizontal";R.style.right="44px"};iedocmode=__stbrowser.getIEVersion();var O=document.createElement("span");O.setAttribute("style","vertical-align:bottom;line-height:0px;position:absolute;padding:0px !important;"+N+"width:55px;height:20px;");(iedocmode&&(iedocmode==7)&&O.style.setAttribute)?O.style.setAttribute("cssText","vertical-align:bottom;line-height:0px;position:absolute;padding:0px !important;"+N+"width:55px;height:20px;",0):null;try{var M=document.createElement('<iframe name="stframe" allowTransparency="true" scrolling="no" frameBorder="0"></iframe>')}catch(T){M=document.createElement("iframe");M.setAttribute("allowTransparency","true");M.setAttribute("frameborder","0");M.setAttribute("scrolling","no")};var W="http://wd.sharethis.com/api/sharer.php?destination=twitter&url="+encodeURIComponent(g);M.setAttribute("src","http://platform.twitter.com/widgets/tweet_button.html?count="+j+"&url="+W);M.setAttribute("style","width:"+C+"px;height:"+U+"px;");(iedocmode&&(iedocmode==7)&&M.style.setAttribute)?M.style.setAttribute("cssText","width:"+C+"px;height:"+U+"px;",0):null;if((useFastShare&&servicesLoggedIn&&typeof(servicesLoggedIn[f])!="undefined"))n.appendChild(O);n.appendChild(M);x=n;x.appendChild(R);Q.appendChild(x);Q.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;vertical-align:bottom;margin-top:6px;width:"+C+"px;height:"+U+"px;");(iedocmode&&(iedocmode==7)&&Q.style.setAttribute)?Q.style.setAttribute("cssText","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;vertical-align:bottom;width:"+C+"px;height:"+U+"px;",0):null;Y=Q}else if(f=="facebook"){stButtons.getXFBMLFromFB();return stButtons.makeFBButton("fblike",s.type,g)}else if(f=="linkedin");}else if(s.type=="css"){var x=document.createElement("div");x.className="stCSSButton";if(s.cssType=="cssV"){var w=document.createElement("div");w.className="stCSSVBubble";var H=document.createElement("div");H.className="stCSSVBubble_count";w.appendChild(H);var k=document.createElement("div");k.className="stCSSVArrow";var L=document.createElement("div");L.className="stCSSVArrowBorder";L.appendChild(k);Y.appendChild(w);Y.appendChild(L);stButtons.getCount2(g,f,H)};var c=document.createElement("div");c.className="stCSSSprite "+f;c.innerHTML="&nbsp;";var I=document.createElement("span");I.className="stCSSText";x.appendChild(c);if(D==null||D=="");else{I.appendChild(document.createTextNode(D));x.appendChild(I)};x.appendChild(R);Y.appendChild(x);if(s.cssType=="cssH"){var v=document.createElement("div");v.className="stCSSHBubble";var H=document.createElement("div");H.className="stCSSHBubble_count";v.appendChild(H);var V=document.createElement("div");V.className="stCSSHArrow";var m=document.createElement("div");m.className="stCSSHArrowBorder";m.appendChild(V);Y.appendChild(m);Y.appendChild(v);stButtons.getCount2(g,f,H)}};return Y};stButtons.makeFBButton=function(i,k,b){try{var h=document.createElement("<div></div>")}catch(d){h=document.createElement("div")};var c=b,g="button_count",l="fb-send",e="";iedocmode=__stbrowser.getIEVersion();var f="";if(k=="vcount"){g="box_count"}else if(k=="hcount");else if(k=="large"){f=(iedocmode&&(iedocmode==7))?"vertical-align:bottom;bottom:3px;":"bottom:7px;margin-top:9px;"}else if(k=="button");else f="top:1px;margin-top:0px;";if(i=="fbLong")g="standard";(i=="fbrec")?e="recommend":null;if(i!="fbsend"){l="fb-like";h.setAttribute("data-action",e);h.setAttribute("data-send","false");h.setAttribute("data-layout",g);h.setAttribute("data-show-faces","false")};h.setAttribute("class",l);h.setAttribute("data-href",c);if(iedocmode&&(iedocmode==7))if(i!="fbsend"){h=document.createElement("<div class='"+l+"' data-action='"+e+"' data-send='false' data-layout='"+g+"' data-show-faces='false' data-href='"+c+"'></div>")}else h=document.createElement("<div class='"+l+"' data-href='"+c+"'></div>");var a=document.createElement("span");a.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;position:relative;margin:3px 3px 0;padding:0px;font-size:11px;line-height:16px;vertical-align:bottom;overflow:visible;"+f);(iedocmode&&(iedocmode==7)&&a.style.setAttribute)?a.style.setAttribute("cssText","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;position:relative;margin:3px 3px 0;font-size:11px;line-height:0px;"+f,0):null;var j=document.createElement("div");j.setAttribute("id","fb-root");a.appendChild(j);a.appendChild(h);return a};stButtons.getCount=function(c,a,d){var b=false;if(d&&d!==null)while(d.childNodes.length>=1)try{d.removeChild(d.firstChild)}catch(e){};stButtons.cbQueue.push({url:c,service:a,element:d});stButtons.getCountsFromService(c,a,d)};stButtons.getCount2=function(c,a,d){var b=false;if(d&&d!==null)while(d.childNodes.length>=1)try{d.removeChild(d.firstChild)}catch(e){};if(stButtons.checkNativeCountServicesQueue(a)){stButtons.cbNativeQueue.push({url:c,service:a,element:d});if(typeof(stButtons.countsNativeResp[c])=="undefined")stButtons.countsNativeResp[c]=[];if(typeof(stButtons.countsNativeResp[c][a])=="undefined"){stlib.counts.getNativeCounts(a,c,"stButtons."+a+"CB");stButtons.countsNativeResp[c][a]=null}else if(stButtons.countsNativeResp[c][a]!=null)switch(a){case"facebook":stButtons.facebookCB(stButtons.countsNativeResp[c][a]);break;case"linkedin":stButtons.linkedinCB(stButtons.countsNativeResp[c][a]);break;case"stumbleupon":stButtons.stumbleuponCB(stButtons.countsNativeResp[c][a]);break}}else{stButtons.cbQueue.push({url:c,service:a,element:d});stButtons.getCountsFromService(c,a,d)}};stButtons.processCB=function(a){if(typeof a!="undefined"&&typeof(a.ourl)!="undefined")stButtons.countsResp[a.ourl]=a;stButtons.processCount(a)};stButtons.stumbleuponCB=function(a){var b={ourl:"",stumbleupon:null};if(typeof a!="undefined"&&typeof(a.result)!="undefined"){stButtons.countsNativeResp[a.result.url]["stumbleupon"]=a;b.ourl=a.result.url;if(typeof(a.result.views)!="undefined")b.stumbleupon=a.result.views};stButtons.processNativeCount(b,"stumbleupon")};stButtons.linkedinCB=function(a){var b={ourl:"",linkedin:null};if(typeof a!="undefined"){stButtons.countsNativeResp[a.url]["linkedin"]=a;b.ourl=a.url;if(typeof(a.count)!="undefined")b.linkedin=a.count};stButtons.processNativeCount(b,"linkedin")};stButtons.facebookCB=function(a){var b={ourl:"",facebook:null};if(typeof a!="undefined"){stButtons.countsNativeResp[a[0].url]["facebook"]=a;b.ourl=a[0].url;if(typeof(a[0].total_count)!="undefined")b.facebook=a[0].total_count};stButtons.processNativeCount(b,"facebook")};stButtons.processCount=function(b){if(!b)return;stButtons.storedCountResponse=b;var a=false;for(var c=0;c<stButtons.cbQueue.length;c++){var e=stButtons.cbQueue[c];if(b.ourl==e.url){var g="";try{if(e.service=="sharethis"){if(stWidget.options.newOrZero=="zero"){g=(b.total>0)?stButtons.human(b.total):"0"}else g=(b.total>0)?stButtons.human(b.total):"New"}else if(e.service=="facebook"&&typeof(b.facebook2)!="undefined"){g=stButtons.human(b.facebook2)}else if(typeof(b[e.service])!="undefined"){g=(b[e.service]>0)?stButtons.human(b[e.service]):"0"}else g="0";if(/stHBubble/.test(e.element.parentNode.className)==true){e.element.parentNode.style.display="inline-block"}else if(/stBubble/.test(e.element.parentNode.className)==true)e.element.parentNode.style.display="block";e.element.innerHTML=g}catch(d){if(!e.element.hasChildNodes()){var f=document.createElement("div");f.innerHTML=g;e.element.appendChild(f)}};a=true}}};stButtons.processNativeCount=function(b,a){if(!b)return;if(!a)return;for(var c=0;c<stButtons.cbNativeQueue.length;c++){var e=stButtons.cbNativeQueue[c];if(b.ourl==e.url){var g="";try{if(e.service==a){g=(b[a]!=null)?stButtons.human(b[a]):"-"}else continue;if(/stHBubble/.test(e.element.parentNode.className)==true){e.element.parentNode.style.display="inline-block"}else if(/stBubble/.test(e.element.parentNode.className)==true)e.element.parentNode.style.display="block";e.element.innerHTML=g}catch(d){if(!e.element.hasChildNodes()){var f=document.createElement("div");f.innerHTML=g;e.element.appendChild(f)}}}}};stButtons.human=function(a){if(a>=1e5){a=a/1e3;a=Math.round(a);a=a+"K"}else if(a>=1e4){a=a/100;a=Math.round(a);a=a/10;a=a+"K"};return a};stButtons.locateElements=function(e){var H=document.getElementsByTagName("*"),G=[],J=new RegExp(/st_(.*?)_custom/),I=new RegExp(/st_(.*?)_vcount/),b=new RegExp(/st_(.*?)_vcount_native/),E=new RegExp(/st_(.*?)_hcount/),f=new RegExp(/st_(.*?)_hcount_native/),C=new RegExp(/st_(.*?)_button/),B=new RegExp(/st_(.*?)_large/),w=new RegExp(/st_(.*?)_pcount/),t=new RegExp(/st_(.*?)_stbar/),s=new RegExp(/st_(.*?)_stsmbar/),q=new RegExp(/st_(.*?)_css/),a=new RegExp(/^st_(.*?)$/),m=new RegExp(/st_(.*?)_basic/),A=H.length,r=0,l,p,D,d=[],K=false;if(typeof stRecentServices!="undefined"&&stRecentServices!="undefined"&&stRecentServices!="false"&&stRecentServices)K=true;for(var v=0;v<A;v++){l="";p=false;D=false;if(typeof(H[v].className)=="string"&&H[v].className!=""){if(H[v].className.match(J)&&H[v].className.match(J).length>=2&&H[v].className.match(J)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(J)[1];typeName="custom";if(l=="plusone"||l=="fblike"||l=="fbrec"||l=="fbsend")typeName="chicklet";G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:typeName});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(m)&&H[v].className.match(m).length>=2&&H[v].className.match(m)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(m)[1];G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"basic",size:H[v].className.split("$")[1],color:H[v].className.split("$")[2]});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(I)&&H[v].className.match(I).length>=2&&H[v].className.match(I)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(I)[1];var c="";if(H[v].className.match(b)&&H[v].className.match(b).length>=2&&H[v].className.match(b)[1])c="native";G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"vcount",ctype:c});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(E)&&H[v].className.match(E).length>=2&&H[v].className.match(E)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(E)[1];var c="";if(H[v].className.match(f)&&H[v].className.match(f).length>=2&&H[v].className.match(f)[1])c="native";G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"hcount",ctype:c});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(C)&&H[v].className.match(C).length>=2&&H[v].className.match(C)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(C)[1];G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"button"});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(B)&&H[v].className.match(B).length>=2&&H[v].className.match(B)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(B)[1];G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"large"});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(w)&&H[v].className.match(w).length>=2&&H[v].className.match(w)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(w)[1];G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"pcount",count:v});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(t)&&H[v].className.match(t).length>=2&&H[v].className.match(t)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(t)[1];G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"stbar",count:v});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(s)&&H[v].className.match(s).length>=2&&H[v].className.match(s)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(s)[1];G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"stsmbar",count:v});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(q)&&H[v].className.match(q).length>=2&&H[v].className.match(q)[1]){if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(q)[1];var F=H[v].className.split("_");G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"css",cssType:F[F.length-1]});H[v].setAttribute("st_processed","yes")}}else if(H[v].className.match(a)&&H[v].className.match(a).length>=2&&H[v].className.match(a)[1])if(stButtons.testElem(H[v])==false){D=true;l=H[v].className.match(a)[1];G.push({service:l,element:H[v],url:H[v].getAttribute("st_url"),title:H[v].getAttribute("st_title"),image:(H[v].getAttribute("st_img")!=null)?H[v].getAttribute("st_img"):H[v].getAttribute("st_image"),summary:H[v].getAttribute("st_summary"),text:H[v].getAttribute("displayText"),type:"chicklet"});H[v].setAttribute("st_processed","yes")};if(K)if(D){for(r=0;r<d.length;r++)if(d[r].service==l){d[r].count++;p=true};if(!p)d.push({service:l,count:1,doNotReplace:false,processed:false})}}};if(K){var o=[];for(var j=d.length-1;j>=0;j--)if(d[j].service=="sharethis"||d[j].doNotReplace){d[j].processed=true;continue}else for(var h in stRecentServices){var n=false;if(!stRecentServices[h].processed){for(var u=0;u<d.length;u++)if(h==d[u].service&&!d[u].processed){n=true;d[u].doNotReplace=true;stRecentServices[h].processed=true;break};if(n){d[j].processed=true}else{o.push({oldService:d[j].service,newService:h});for(var g=0;g<G.length;g++)if(G[g].service==d[j].service){G[g].service=h;G[g].text=stRecentServices[h].title;G[g].element.setAttribute("displayText",stRecentServices[h].title);G[g].element.className=G[g].element.className.replace(d[j].service,h)};stRecentServices[h].processed=true;d[j].processed=true;break}}}};for(var v=0;v<G.length;v++)stWidget.addEntry(G[v])};stButtons.odcss=function(a,b){this.head=document.getElementsByTagName("head")[0];this.scriptSrc=a;this.css=document.createElement("link");this.css.setAttribute("rel","stylesheet");this.css.setAttribute("type","text/css");this.css.setAttribute("href",this.scriptSrc);setTimeout(function(){b()},500);this.head.appendChild(this.css)};stButtons.makeButtons=function(){if(typeof(stButtons.button_css_called)=="undefined"){var a=(("https:"==document.location.protocol)?"https://ws.sharethis.com/button/css/buttons-secure.css":"http://w.sharethis.com/button/css/buttons.4bcc792af0b5fbaf7a8be6adf0461738.css");stButtons.odcss(a,function(){});stButtons.button_css_called=true};stButtons.locateElements()};stButtons.getPlusOneFromGoogle=function(){if(stButtons.plusOneLoaded==false){if(stButtons.plusOneLoading==false){var a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("src","https://apis.google.com/js/plusone.js");a.onload=function(){gapi.plusone.go();stButtons.plusOneLoaded=true;stButtons.plusOneLoading=false};a.onreadystatechange=function(){if(this.readyState=="complete"){gapi.plusone.go();stButtons.plusOneLoaded=true;stButtons.plusOneLoading=false}};stButtons.plusOneLoading=true;document.getElementsByTagName("head")[0].appendChild(a)}}else gapi.plusone.go()};stButtons.getXFBMLFromFB=function(){if(stButtons.xfbmlLoaded==false){if(stButtons.xfbmlLoading==false){stButtons.xfbmlLoading=true;var a="en_US",c,b=document.getElementsByTagName("script")[0];if(document.getElementById("facebook-jssdk"))return;c=document.createElement("script");c.id="facebook-jssdk";c.src="//connect.facebook.net/"+a+"/all.js#xfbml=1";c.async=stWidget.options.async;c.onload=function(){FB.init({appId:"",xfbml:true});FB.XFBML.parse();stButtons.trackFB();stButtons.xfbmlLoaded=true;stButtons.xfbmlLoading=false};c.onreadystatechange=function(){if(this.readyState=="complete"||this.readyState=="loaded"){FB.init({appId:"",xfbml:true});FB.XFBML.parse();stButtons.trackFB();stButtons.xfbmlLoaded=true;stButtons.xfbmlLoading=false}};b.parentNode.insertBefore(c,b)}}else{FB.XFBML.parse();stButtons.trackFB()}};stButtons.addCount=function(a){stButtons.counts.push(a)};stButtons.getCountsFromService=function(c,b,d){if(stButtons.checkQueue(c)==false){var a=a+"-"+stButtons.cbVal;a="stButtons.processCB";stButtons.cbVal++;var e=(("https:"==document.location.protocol)?"https://ws.sharethis.com/api/getCount2.php?cb="+a+"&url=":"http://wd.sharethis.com/api/getCount2.php?cb="+a+"&url=");stLight.odjs(e+encodeURIComponent(c),function(){});stButtons.queue.push(c)};if(stButtons.countsResp[c])stButtons.processCount(stButtons.countsResp[c])};stButtons.checkQueue=function(a){for(var b=0;b<stButtons.queue.length;b++)if(stButtons.queue[b]==a)return true;return false};stButtons.checkNativeCountServicesQueue=function(a){for(var b=0;b<stButtons.nativeCountServices.length;b++)if(stButtons.nativeCountServices[b]==a)return true;return false};stButtons.testElem=function(b){var a=false;if(b.getAttribute("st_processed")!=null){return true}else return false}
function Shareable(c){var a={};a.facebook="450";a.twitter="684";a.yahoo="500";a.linkedin="600";var b={};b.facebook="300";b.twitter="718";b.yahoo="460";b.linkedin="433";this.idx=-1;this.url=null;this.title=null;this.image=null;this.element=null;this.service=null;this.screen="home";this.summary=null;this.content=null;this.buttonText=null;this.frag=null;this.onhover=true;this.type=null;var d=this,e=false;this.attachButton=function(f){this.element=f;if((this.onhover==true||this.onhover=="true")&&!detectMobileDevice()&&((!switchTo5x)||(switchTo5x&&(c.service=="sharethis"||c.service=="email"||c.service=="wordpress")))){f.onmouseover=this.mouseOn;f.onmouseout=this.mouseOut};f.onclick=function(g){d.decideFastShare()}};this.init=function(){stWidget.merge(this,c);stWidget.shareables.push(this);if(c.element!==null)this.attachButton(c.element)};return this};var stWidget=new function(){this.shareables=[];this.entries=0;this.widgetOpen=false;this.mouseOnTimer=null;this.mouseTimer=null;this.mouseOutTimer=null;this.frameReady=false;this.stopClosing=false;this.buttonClicked=false;this.frameUrl5x=(("https:"==document.location.protocol)?"https://ws.sharethis.com/secure5x/index.html":"http://edge.sharethis.com/share5x/index.b40f6591bd76302c3dce48bf1483487e.html");this.frameUrl4x=(("https:"==document.location.protocol)?"https://ws.sharethis.com/secure/index.html":"http://edge.sharethis.com/share4x/index.104f39d75db7979d55a962ccbd855863.html");this.secure=false;try{this.mainstframe=document.createElement('<iframe name="stLframe" allowTransparency="true" style="body{background:transparent;}" ></iframe>');this.mainstframe.onreadystatechange=function(){if(stWidget.mainstframe.readyState==="complete"){stWidget.frameReady=true;if(stWidget.widgetOpen==true&&typeof(stWidget.storedFrag)!="undefined")if(switchTo5x){window.frames.stLframe.location.replace(stWidget.frameUrl5x+stWidget.storedFrag)}else window.frames.stLframe.location.replace(stWidget.frameUrl4x+stWidget.storedFrag)}}}catch(a){this.mainstframe=document.createElement("iframe");this.mainstframe.allowTransparency="true";this.mainstframe.setAttribute("allowTransparency","true");this.mainstframe.onload=function(){stWidget.frameReady=true;if(stWidget.widgetOpen==true&&typeof(stWidget.storedFrag)!="undefined")if(switchTo5x){window.frames.stLframe.location.replace(stWidget.frameUrl5x+stWidget.storedFrag)}else window.frames.stLframe.location.replace(stWidget.frameUrl4x+stWidget.storedFrag)}};this.mainstframe.id="stLframe";this.mainstframe.className="stLframe";this.mainstframe.name="stLframe";this.mainstframe.frameBorder="0";this.mainstframe.scrolling="no";this.mainstframe.width="353px";this.mainstframe.height="350px";this.mainstframe.style.top="0px";this.mainstframe.style.left="0px";this.mainstframe.src="";this.wrapper=document.createElement("div");this.wrapper.id="stwrapper";this.wrapper.className="stwrapper";this.wrapper.style.visibility="hidden";this.wrapper.style.top="-999px";this.wrapper.style.left="-999px";this.closewrapper=document.createElement("div");this.closewrapper.className="stclose";if(switchTo5x){this.mainstframe.width="500px";this.mainstframe.height="430px";this.wrapper.style.top="-999px";this.wrapper.style.left="-999px";this.wrapper.style.width="500px";this.wrapper.style.zIndex=89999999;this.overlay=document.createElement("div");this.overlay.style.height="100%";this.overlay.style.width="100%";this.overlay.style.backgroundColor="#000";this.overlay.style.opacity="0.6";this.overlay.style.filter="Alpha(Opacity=60)";this.overlay.style.position="fixed";if(document.all&&navigator.appVersion.indexOf("MSIE 6.")!=-1)this.overlay.style.position="absolute";this.overlay.style.display="none";this.overlay.style.left="0";this.overlay.style.top="0";this.overlay.style.zIndex=89999990;this.overlay.setAttribute("id","stOverlay");this.closewrapper.className="stCloseNew2"};this.closewrapper.onclick=function(){stWidget.closeWidget()};this.wrapper.appendChild(this.closewrapper);this.wrapper.appendChild(this.mainstframe);this.ogtitle=null;this.ogdesc=null;this.ogurl=null;this.ogimg=null;this.ogtype=null;this.desc=null;this.initFire=false;this.merge=function(d,c){for(var b in c)if(d.hasOwnProperty(b)&&c[b]!==null)d[b]=c[b]};this.oldScroll=0;this.init=function(){if(stWidget.initFire==false){stWidget.initFire=true;if(switchTo5x){window.frames.stLframe.location.replace(stWidget.frameUrl5x+stWidget.createFrag(null,"init"))}else window.frames.stLframe.location.replace(stWidget.frameUrl4x+stWidget.createFrag(null,"init"))}}}();stWidget.options=new function(){this.fpc=stLight.fpc;this.sessionID=null;this.publisher=null;this.tracking=true;this.send_services=null;this.exclusive_services=null;this.headerTitle=null;this.headerfg=null;this.headerbg=null;this.offsetLeft=null;this.offsetTop=null;this.onhover=true;this.async=false;this.autoclose=true;this.autoPosition=true;this.embeds=false;this.doneScreen=true;this.minorServices=true;this.excludeServices=null;this.theme=1;this.serviceBarColor=null;this.shareButtonColor=null;this.footerColor=null;this.headerTextColor=null;this.helpTextColor=null;this.mainWidgetColor=null;this.textBoxFontColor=null;this.textRightToLeft=false;this.shorten=true;this.popup=false;this.newOrZero="new";this.publisherGA=null;this.services="";this.relatedDomain=null}();stWidget.addEntry=function(a){if(!a.element)return false;if(a&&a.service&&((a.service=="email"||a.service=="sharethis"||a.service=="wordpress")||(stIsLoggedIn&&servicesLoggedIn&&typeof(servicesLoggedIn[a.service])!="undefined"&&((useFastShare||(!useFastShare&&switchTo5x))&&(a.service=="facebook"||a.service=="twitter"||a.service=="yahoo"||a.service=="linkedin"))))){openWidget=true}else openWidget=false;if(!openWidget){if(a.type!=="custom"){a.element.appendChild(stButtons.makeButton(a));if(a.service=="plusone")stButtons.getPlusOneFromGoogle();if(a.service=="fblike"||a.service=="fbsend"||a.service=="fbrec"||a.service=="fbLong")stButtons.getXFBMLFromFB()}else stButtons.makeButton(a);return true}else{if(a.type!="custom"){a.element.appendChild(stButtons.makeButton(a));if(a.service=="plusone")stButtons.getPlusOneFromGoogle();if(a.service=="fblike"||a.service=="fbsend"||a.service=="fbrec"||a.service=="fbLong")stButtons.getXFBMLFromFB()}else stButtons.makeButton(a);var b=new Shareable(a);b.idx=stWidget.entries;stWidget.entries++;b.publisher=stLight.publisher;b.sessionID=stLight.sessionID;b.fpc=stLight.fpc;if(a.element.image==null&&stWidget.ogimg!=null)b.image=stWidget.ogimg;if(a.element.summary==null&&stWidget.ogdesc!=null){b.summary=stWidget.ogdesc}else if(a.element.summary==null&&stWidget.desc!=null)b.summary=stWidget.desc;b.url=stWidget.ogurl?stWidget.ogurl:document.location.href;b.url=a.url?a.url:b.url;b.title=stWidget.ogtitle?stWidget.ogtitle:document.title;b.title=a.title?a.title:b.title;stWidget.merge(b,stWidget.options);if(typeof(stWidget.options.textRightToLeft)!="undefined"&&stWidget.options.textRightToLeft!="null"&&stWidget.options.textRightToLeft==true){document.getElementById("stwrapper").style.top="auto";document.getElementById("stwrapper").style.left="auto"};b.mouseOn=function(){stWidget.mouseOnTimer=setTimeout(b.decideFastShare,500)};b.mouseOut=function(){clearInterval(stWidget.mouseOnTimer)};b.decideFastShare=function(){if(!useFastShare||!stIsLoggedIn||a.service=="email"||a.service=="sharethis"||a.service=="wordpress"||(typeof(servicesLoggedIn[a.service])=="undefined"&&(a.service=="facebook"||a.service=="twitter"||a.service=="linkedin"||a.service=="yahoo"))){if(detectMobileDevice()){if(a.service=="sharethis"){var f=document.createElement("form");f.setAttribute("method","GET");f.setAttribute("action","http://edge.sharethis.com/share4x/mobile.html");f.setAttribute("target","_blank");var h={url:b.url,title:b.title,destination:a.service,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID};if(typeof(b.image)!="undefined"&&b.image!=null)h.image=b.image;if(typeof(b.summary)!="undefined"&&b.summary!=null)h.desc=b.summary;h.service=a.service;h.type=a.type;for(var e in h){var c=document.createElement("input");c.setAttribute("type","hidden");c.setAttribute("name",e);c.setAttribute("value",h[e]);f.appendChild(c)};document.body.appendChild(f);f.submit()}else if(a.service=="email"){var d="mailto:?subject="+encodeURIComponent(b.title)+"&body="+encodeURIComponent(b.url),f=document.createElement("form");f.setAttribute("method","POST");f.setAttribute("action",d);f.setAttribute("target","_blank");f.setAttribute("accept-charset","UTF-8");document.body.appendChild(f);f.submit()}}else b.popup()}else{var g=stLight.getSource();stLight.log("fastShare",g,"");stFastShareObj.url=b.url;stFastShareObj.title=b.title;stFastShareObj.image=b.image;stFastShareObj.summary=b.summary;stFastShareObj.element=a.element;stFastShareObj.service=a.service;stFastShareObj.publisher=stLight.publisher;stFastShareObj.fpc=stLight.fpc;stFastShareObj.sessionID=stLight.sessionID;stFastShareObj.hostname=stLight.meta.hostname;stFastShareObj.username=servicesLoggedIn[a.service];if(typeof fastShare=="undefined"){stLight.odjs((("https:"==document.location.protocol)?"https://ws.sharethis.com/button/fastShare.js":"http://w.sharethis.com/button/fastShare.js"),function(){fastShare.showWidget()})}else fastShare.showWidget()}};b.popup=function(){if(stWidget.widgetOpen==false){if(!switchTo5x)stWidget.stCancelClose();var d="share4x";if(switchTo5x){d="share5x";try{if(stLight.clickCallBack!=false)stLight.clickCallBack(a.service)}catch(c){}};if(a.type=="stbar"||a.type=="stsmbar")d="bar";stLight.log("widget",d,a.service+"_"+a.type);if(stWidget.options.popup&&!switchTo5x){window.open(stWidget.frameUrl4x+stWidget.createFrag(b),"newstframe","status=1,toolbar=0,width=345,height=375")}else if(stWidget.options.popup&&switchTo5x){var e="http://sharethis.com/share?url="+b.url+"&title="+b.title+"&img="+b.image+"&summary="+b.summary;window.open(e,"newstframe","status=1,toolbar=0,width=820,height=950")}else{if(stWidget.frameReady==true){if(switchTo5x&&(a.service=="sharethis"||a.service=="email"||a.service=="wordpress"||a.service=="facebook"||a.service=="twitter"||a.service=="linkedin"||a.service=="yahoo")){window.frames.stLframe.location.replace(stWidget.frameUrl5x+stWidget.createFrag(b))}else window.frames.stLframe.location.replace(stWidget.frameUrl4x+stWidget.createFrag(b))}else stWidget.storedFrag=stWidget.createFrag(b);stWidget.positionWidget(b);if(stWidget.options.embeds==false)stWidget.hideEmbeds();setTimeout(function(){stWidget.widgetOpen=true;st_showing=true},200)}}else if(stWidget.widgetOpen==true&&stWidget.options.onhover==false);return false};b.init();return b}};stWidget.createFrag=function(c,b){var f="#light";f=stWidget.options.popup?"#popup":f;__stgetPubGA();if(b=="init"){f="#init";if(stWidget.options.tracking&&stWidget.options.publisherGA==null)if(typeof pageTracker!="undefined"&&pageTracker!==null){stWidget.options.publisherGA=pageTracker._getAccount()}else if(stWidget.options.publisherGA==null&&typeof __stPubGA!=="undefined")stWidget.options.publisherGA=__stPubGA;for(var e in stWidget.options)if(stWidget.options.hasOwnProperty(e)==true&&stWidget.options[e]!==null&&typeof(stWidget.options[e])!="function"&&typeof(stWidget.options[e])!="object"){var a=stWidget.options[e];try{a=decodeURIComponent(a);a=decodeURIComponent(a)}catch(d){};f=f+"/"+e+"="+encodeURIComponent(a)};f=f+"/pUrl="+encodeURIComponent(encodeURIComponent(document.location.href))+((document.title!="")?"/title="+encodeURIComponent(encodeURIComponent(document.title)):"")+"/stLight=true"}else{for(var e in c)if(c.hasOwnProperty(e)==true&&c[e]!==null&&typeof(c[e])!="function"&&typeof(c[e])!="object"&&e!=="idx")f=f+"/"+e+"-=-"+encodeURIComponent(encodeURIComponent(c[e]));if(c.service=="email")f=f+"/page-=-send";if(switchTo5x)if(c.service=="facebook"){f=f+"/page-=-fbhome"}else if(c.service=="twitter"){f=f+"/page-=-twhome"}else if(c.service=="yahoo"){f=f+"/page-=-ybhome"}else if(c.service=="linkedin"){f=f+"/page-=-lihome"}else if(c.service=="wordpress")f=f+"/page-=-wphome"};return f};stWidget.positionWidget=function(o){function getHW(elem){var retH=0,retW=0,going=true;while(elem!=null){retW+=elem.offsetLeft;if(going)retH+=elem.offsetTop;if(window.getComputedStyle){if(document.defaultView.getComputedStyle(elem,null).getPropertyValue("position")=="fixed"){retH+=(document.documentElement.scrollTop||document.body.scrollTop);going=false}}else if(elem.currentStyle)if(elem.currentStyle.position=="fixed"){retH+=(document.documentElement.scrollTop||document.body.scrollTop);going=false};elem=elem.offsetParent};return{height:retH,width:retW}};if(!o)return false;if(!switchTo5x){shareel=o.element;var curleft=curtop=0,mPos=getHW(shareel);curleft=mPos.width;curtop=mPos.height;shareel=o.element;var eltop=0,elleft=0,topVal=0,leftVal=0,elemH=0,elemW=0;eltop=curtop+shareel.offsetHeight+5;elleft=curleft+5;topVal=(eltop+(stWidget.options.offsetTop?stWidget.options.offsetTop:0));topVal=eval(topVal);elemH=topVal;topVal+="px";leftVal=(elleft+(stWidget.options.offsetLeft?stWidget.options.offsetLeft:0));leftVal=eval(leftVal);elemW=leftVal;leftVal+="px";stWidget.wrapper.style.top=topVal;stWidget.wrapper.style.left=leftVal;if(stWidget.options.autoPosition==true){stWidget.oldScroll=document.body.scrollTop;var pginfo=stWidget.pageSize(),effectiveH=pginfo.height+pginfo.scrY,effectiveW=pginfo.width+pginfo.scrX,widgetH=330,widgetW=330,needH=widgetH+elemH,needW=widgetW+elemW,diffH=needH-effectiveH,diffW=needW-effectiveW,newH=elemH-diffH,newW=elemW-diffW,buttonPos=getHW(shareel),leftA,rightA,topA,bottomA=false;if(diffH>0){bottomA=false;topA=true;if((buttonPos.height-widgetH)>0)newH=buttonPos.height-widgetH;stWidget.wrapper.style.top=newH+"px"};if(diffW>0){leftA=false;rightA=true;if((buttonPos.width-widgetW)>0)newW=buttonPos.width-widgetW;stWidget.wrapper.style.left=newW+"px"}};if(stWidget.options.autoPosition=="center"){stWidget.wrapper.style.top="15%";stWidget.wrapper.style.left="35%";stWidget.wrapper.style.position="fixed"}}else{document.getElementById("stOverlay").style.display="block";var topVal;if(stWidget.options.autoPosition==true){if(document.all&&navigator.appVersion.indexOf("MSIE 7.")!=-1){stWidget.wrapper.style.left="500px"}else stWidget.wrapper.style.left="10%";stWidget.wrapper.style.right="10%";topVal=(document.documentElement.clientHeight-parseFloat(stWidget.wrapper.offsetHeight)/2)/2;if(topVal>20){topVal=20}else if(topVal<5)topVal=5;stWidget.wrapper.style.top=topVal+"px";stWidget.wrapper.style.marginLeft="auto";stWidget.wrapper.style.marginRight="auto";stWidget.wrapper.style.textAlign="left";stWidget.wrapper.style.position="fixed";if(document.all&&navigator.appVersion.indexOf("MSIE 6.")!=-1){stWidget.wrapper.style.left="300px";stWidget.wrapper.style.position="absolute"}};if(stWidget.options.autoPosition=="center"){if(document.all&&navigator.appVersion.indexOf("MSIE 7.")!=-1){stWidget.wrapper.style.left="500px"}else stWidget.wrapper.style.left="10%";stWidget.wrapper.style.right="10%";stWidget.wrapper.style.marginLeft="auto";stWidget.wrapper.style.marginRight="auto";stWidget.wrapper.style.position="fixed";topVal=(document.documentElement.clientHeight-parseFloat(stWidget.wrapper.offsetHeight)/2)/2;if(topVal>20){topVal=20}else if(topVal<5)topVal=5;stWidget.wrapper.style.top=topVal+"px";if(document.all&&navigator.appVersion.indexOf("MSIE 6.")!=-1)stWidget.wrapper.style.position="absolute"}};stWidget.wrapper.style.visibility="visible";stWidget.mainstframe.style.visibility="visible"},stWidget.hideWidget=function(){if(stWidget.wrapper.style.visibility!=="hidden")stWidget.wrapper.style.visibility="hidden";if(stWidget.mainstframe.style.visibility!=="hidden")stWidget.mainstframe.style.visibility="hidden";if(switchTo5x)document.getElementById("stOverlay").style.display="none"};stWidget.pageSize=function(){var e=[0,0,0,0],b=0,a=0,d=0,c=0;if(typeof(window.pageYOffset)=="number"){b=window.pageXOffset;a=window.pageYOffset}else if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){b=document.body.scrollLeft;a=document.body.scrollTop}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){b=document.documentElement.scrollLeft;a=document.documentElement.scrollTop};if(window.innerWidth){d=window.innerWidth;c=window.innerHeight}else if(document.documentElement.offsetWidth){d=document.documentElement.offsetWidth;c=document.documentElement.offsetHeight};e={scrX:b,scrY:a,width:d,height:c};return e};stWidget.closetimeout=null;stWidget.stClose=function(a){if(!a)a=1e3;if(!switchTo5x&&stWidget.options.autoclose!=null&&(stWidget.options.autoclose==true||stWidget.options.autoclose=="true"))if(stWidget.openDuration<0.5&&stWidget.stopClosing==false){stWidget.closetimeout=setTimeout("stWidget.closeWidget()",a)}else stWidget.stopClosing=true};stWidget.stCancelClose=function(){clearTimeout(stWidget.closetimeout);stWidget.buttonClicked=true;setTimeout(function(){stWidget.buttonClicked=false},100)};stWidget.closeWidget=function(){if(st_showing==false)return false;st_showing=false;stWidget.widgetOpen=false;stWidget.wrapper.style.visibility="hidden";stWidget.mainstframe.style.visibility="hidden";stWidget.showEmbeds();stWidget.sendEvent("screen","home");if(switchTo5x){document.getElementById("stOverlay").style.display="none"}else{stWidget.wrapper.style.top="-999px";stWidget.wrapper.style.left="-999px"}};stWidget.hideEmbeds=function(){var b=document.getElementsByTagName("embed");for(var a=0;a<b.length;a++)b[a].style.visibility="hidden"};stWidget.showEmbeds=function(){if(stWidget.options.embeds==true)return true;var b=document.getElementsByTagName("embed");for(var a=0;a<b.length;a++)b[a].style.visibility="visible"};stWidget.sendEvent=function(a,d){var c="#widget/"+a+"="+d;try{if(switchTo5x){window.frames.stLframe.location.replace(stWidget.frameUrl5x+c)}else window.frames.stLframe.location.replace(stWidget.frameUrl4x+c)}catch(b){}};stWidget.getOGTags=function(){var b=document.getElementsByTagName("meta");for(var a=0;a<b.length;a++)if(b[a].getAttribute("property")=="og:title"){stWidget.ogtitle=b[a].getAttribute("content")}else if(b[a].getAttribute("property")=="og:type"){stWidget.ogtype=b[a].getAttribute("content")}else if(b[a].getAttribute("property")=="og:url"){stWidget.ogurl=b[a].getAttribute("content")}else if(b[a].getAttribute("property")=="og:image"){stWidget.ogimg=b[a].getAttribute("content")}else if(b[a].getAttribute("property")=="og:description"){stWidget.ogdesc=b[a].getAttribute("content")}else if(b[a].getAttribute("name")=="description"||b[a].getAttribute("name")=="Description")stWidget.desc=b[a].getAttribute("content")};var deviceIphone="iphone",deviceIpod="ipod",deviceIpad="ipad",uagent=navigator.userAgent.toLowerCase()
function detectIphone(){if(uagent.search(deviceIphone)>-1){return true}else return false}
function detectIpod(){if(uagent.search(deviceIpod)>-1){return true}else return false}
function detectIpad(){if(uagent.search(deviceIpad)>-1){return true}else return false}
function detectIphoneOrIpod(){if(detectIphone()){return true}else if(detectIpod()){return true}else return false}
function detectAndroid(){var a=uagent.indexOf("android")>-1;if(a){return true}else return false}
function detectBlackBerry(){var a=uagent.indexOf("blackberry")>-1;if(a){return true}else return false}
function detectMobileDevice(){if(detectIphone()){return true}else if(detectIpad()){return true}else if(detectIpod()){return true}else if(detectAndroid()){return true}else if(detectBlackBerry()){return true}else return false}
function shareLog(a){if(typeof pageTracker!="undefined"&&pageTracker!==null){pageTracker._trackEvent("ShareThis",a)}else if(typeof _gaq!="undefined"&&_gaq!==null){_gaq.push(["_trackEvent","ShareThis",a])}else if(stButtons.publisherTracker!==null){stButtons.publisherTracker._trackEvent("ShareThis",a)}else if(typeof _gat!="undefined"&&_gat!==null)if(typeof(stWidget.options.publisherGA)!="undefined"&&stWidget.options.publisherGA!=null){stButtons.publisherTracker=_gat._getTracker(stWidget.options.publisherGA);stButtons.publisherTracker._trackEvent("ShareThis",a)}};stButtons.completeInit=function(){if(!stButtons.goToInit){stButtons.goToInit=true;stWidget.getOGTags();document.body.appendChild(stWidget.wrapper);if(switchTo5x)document.body.appendChild(stWidget.overlay);if(!switchTo5x)try{var b=document.getElementById("stLframe");b.onmouseover=function(){stWidget.stCancelClose();stWidget.inTime=(new Date()).getTime()};b.onmouseout=function(){stWidget.outTime=(new Date()).getTime();stWidget.openDuration=(stWidget.outTime-stWidget.inTime)/1e3;stWidget.stClose()};try{if(document.body.attachEvent){document.body.attachEvent("onclick",function(){if(stWidget.buttonClicked==false){stWidget.stopClosing=false;stWidget.openDuration=0;stWidget.stClose(100)}})}else document.body.setAttribute("onclick","if(stWidget.buttonClicked==false){stWidget.stopClosing=false;stWidget.openDuration=0;stWidget.stClose(100);}")}catch(a){document.body.onclick=function(){if(stWidget.buttonClicked==false){stWidget.stopClosing=false;stWidget.openDuration=0;stWidget.stClose(100)}}}}catch(a){};stButtons.makeButtons();stWidget.init()}};plusoneCallback=function(c){if(c.state=="on"){var a=(("https:"==document.location.protocol)?"https://ws":"http://wd")+".sharethis.com/api/sharer.php?destination=plusone&url="+encodeURIComponent(c.href);a+="&publisher="+encodeURIComponent(stLight.publisher);a+="&hostname="+encodeURIComponent(stLight.meta.hostname);a+="&location="+encodeURIComponent(stLight.meta.location);a+="&ts="+(new Date()).getTime();a+="&sessionID="+stLight.sessionID;a+="&fpc="+stLight.fpc;var b=new Image(1,1);b.src=a;b.onload=function(){return}}};stButtons.trackFB=function(){try{if(!stButtons.fbTracked&&typeof FB!="undefined"&&typeof(FB.Event)!="undefined"&&typeof(FB.Event.subscribe)!="undefined"){stButtons.fbTracked=true;FB.Event.subscribe("edge.create",function(b){stButtons.trackShare("fblike_auto",b);stLight.callSubscribers("click","fblike",b)});FB.Event.subscribe("edge.remove",function(b){stButtons.trackShare("fbunlike_auto",b);stLight.callSubscribers("click","fbunlike",b)});FB.Event.subscribe("message.send",function(b){stButtons.trackShare("fbsend_auto",b);stLight.callSubscribers("click","fbsend",b)})}}catch(a){}};stButtons.trackTwitter=function(){if(!stButtons.twitterTracked&&typeof twttr!="undefined"&&typeof(twttr.events)!="undefined"&&typeof(twttr.events.bind)!="undefined"){stButtons.twitterTracked=true;twttr.events.bind("click",function(a){stButtons.trackTwitterEvent("click");stLight.callSubscribers("click","twitter")});twttr.events.bind("tweet",function(){stButtons.trackTwitterEvent("tweet")});twttr.events.bind("retweet",function(){stButtons.trackTwitterEvent("retweet");stLight.callSubscribers("click","retweet")});twttr.events.bind("favorite",function(){stButtons.trackTwitterEvent("favorite");stLight.callSubscribers("click","favorite")});twttr.events.bind("follow",function(){stButtons.trackTwitterEvent("follow");stLight.callSubscribers("click","follow")})}};stButtons.trackTwitterEvent=function(a){stButtons.trackShare("twitter_"+a+"_auto")};stButtons.trackShare=function(a,c){if(typeof c!=="undefined"&&c!==null){var b=c}else var b=document.location.href;var d=(("https:"==document.location.protocol)?"https://ws":"http://wd")+".sharethis.com/api/sharer.php?destination="+a+"&url="+encodeURIComponent(b);d+="&publisher="+encodeURIComponent(stLight.publisher);d+="&hostname="+encodeURIComponent(stLight.meta.hostname);d+="&location="+encodeURIComponent(stLight.meta.location);d+="&ts="+(new Date()).getTime();d+="&sessionID="+stLight.sessionID;d+="&fpc="+stLight.fpc;var e=new Image(1,1);e.src=d;e.onload=function(){return}};stLight.processSTQ=function(){if(typeof _stq!="undefined"){for(var a=0;a<_stq.length;a++){var b=_stq[a];stLight.options(b)}}else return false};stLight.onDomContentLoaded=function(){stLight.onReady();stButtons.trackTwitter()};stLight.messageReceiver=function(b){if(b&&(b.origin=="http://edge.sharethis.com"||b.origin=="https://ws.sharethis.com")){var c=b.data;c=c.split("|");if(c[0]=="ShareThis"&&c.length>2){var a=(typeof(c[3])=="undefined")?document.location.href:c[3];stLight.callSubscribers(c[1],c[2],a)}}};stLight.subscribe=function(b,a){if(b=="click")stLight.clickSubscribers.push(a)};stLight.callSubscribers=function(d,a,b){if(d=="click")for(var c=0;c<stLight.clickSubscribers.length;c++)stLight.clickSubscribers[c]("click",a,b)};stLight.gaTS=function(c,a,b){if(a=="fblike"){network="ShareThis_facebook";action="Like"}else if(a=="fbunlike"){network="ShareThis_facebook";action="UnLike"}else if(a=="fbsend"){network="ShareThis_facebook";action="Send"}else if(a=="twitter"){network="ShareThis_twitter";action="Share"}else if(a=="retweet"){network="ShareThis_twitter";action="ReTweet"}else if(a=="favorite"){network="ShareThis_twitter";action="Favorite"}else if(a=="follow"){network="ShareThis_twitter";action="Follow"}else{network="ShareThis_"+a;action="Share"};if(typeof _gaq!="undefined")_gaq.push(["_trackSocial",network,action,b])};stButtons.onReady=function(){var g=document.getElementsByTagName("*"),b=[],c=new RegExp(/sharethis_smartbuttons/),a=false;for(var i=0;i<g.length;i++)if(typeof(g[i].className)=="string"&&g[i].className!="")if(g[i].className.match(c)){a=true;break};if(a){var f=document.getElementsByTagName("head")[0],d=["return=json","cb=stButtons.smartifyButtons"];d=d.join("&");var e=(("https:"==document.location.protocol)?"https://ws.":"http://wd.")+"sharethis.com/api/getRecentServices.php?"+d,h=document.createElement("script");h.setAttribute("type","text/javascript");h.setAttribute("src",e);f.appendChild(h);setTimeout("stButtons.completeInit()",2e3)}else stButtons.completeInit();stLight.subscribe("click",stLight.gaTS)};stLight.domReady=function(){stLight.onReady();stButtons.trackTwitter();__stgetPubGA();if(typeof __stPubGA!=="undefined"&&stLight.readyRun==true&&stWidget.frameReady==true)stWidget.sendEvent("publisherGA",__stPubGA)};stButtons.goToInit=false;stButtons.widget=false;stButtons.nativeCountServices=[];stButtons.widgetArray=[];stButtons.queue=[];stButtons.cbQueue=[];stButtons.cbNativeQueue=[];stButtons.cbVal=0;stButtons.queuePos=0;stButtons.counts=[];st_showing=false;stButtons.urlElements=[];stButtons.publisherTracker=null;stButtons.plusOneLoaded=false;stButtons.plusOneLoading=false;stButtons.xfbmlLoaded=false;stButtons.xfbmlLoading=false;stButtons.fbTracked=false;stButtons.twitterTracked=false;stButtons.countsResp=[];stButtons.countsNativeResp=[];stWidget.getOGTags();stLight.loadServicesLoggedIn(function(){stButtons.locateElements();stButtons.makeButtons()});stLight.clickSubscribers=[];var __stPubGA;if(window.document.readyState=="completed"){stLight.domReady()}else if(typeof(window.addEventListener)!="undefined"){window.addEventListener("load",stLight.domReady,false)}else if(typeof(document.addEventListener)!="undefined"){document.addEventListener("load",stLight.domReady,false)}else if(typeof window.attachEvent!="undefined")window.attachEvent("onload",stLight.domReady);if(typeof(window.addEventListener)!="undefined"){window.addEventListener("click",function(){stWidget.closeWidget()},false)}else if(typeof(document.addEventListener)!="undefined"){document.addEventListener("click",function(){stWidget.closeWidget()},false)}else if(typeof window.attachEvent!="undefined")window.attachEvent("onclick",function(){stWidget.closeWidget()});if(typeof __st_loadLate=="undefined")if(typeof(window.addEventListener)!="undefined"){window.addEventListener("DOMContentLoaded",stLight.onDomContentLoaded,false)}else if(typeof(document.addEventListener)!="undefined")document.addEventListener("DOMContentLoaded",stLight.onDomContentLoaded,false);if(typeof(window.addEventListener)!="undefined"){window.addEventListener("message",stLight.messageReceiver,false)}else if(typeof(document.addEventListener)!="undefined"){document.addEventListener("message",stLight.messageReceiver,false)}else if(typeof window.attachEvent!="undefined")window.attachEvent("onmessage",stLight.messageReceiver);if(document.readyState=="complete"&&stLight.readyRun==false)stLight.domReady();
if(typeof sharethis=="undefined"||typeof sharethis==undefined){window.sharethis=window.sharethis||{};sharethis.widgets=sharethis.widgets||{};sharethis.utilities=sharethis.utilities||{};sharethis.globals=sharethis.globals||{};sharethis.globals=function(){this._stFpc=function(){if(!document.domain)return false;var g=this._stGetFpc("__unam");if(g==false){var c=Math.round(Math.random()*2147483647);c=c.toString(16);var h=(new Date()).getTime();h=h.toString(16);var e="",a=this._stGetD();a=a.split(/\./)[1];e=this._stdHash(a)+"-"+h+"-"+c+"-1";g=e;this._stSetFpc(g)}else{var b=g,f=b.split(/\-/);if(f.length==4){var d=Number(f[3]);d++;b=f[0]+"-"+f[1]+"-"+f[2]+"-"+d;g=b;this._stSetFpc(g)}};return g};this._stSetFpc=function(g){var a="__unam",c=new Date(),j=c.getFullYear(),f=c.getMonth()+9,h=c.getDate(),d=a+"="+escape(g);if(j){var b=new Date(j,f,h);d+="; expires="+b.toGMTString()};var e=this._stGetD();d+="; domain="+escape(e)+";path=/";document.cookie=d};this._stGetD=function(){var b=document.domain.split(/\./),a="";if(b.length>1)a="."+b[b.length-2]+"."+b[b.length-1];return a};this._stGetFpc=function(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else return false};this._stdHash=function(a){var e=0,d=0;for(var c=a.length-1;c>=0;c--){var b=parseInt(a.charCodeAt(c));e=((e<<8)&268435455)+b+(b<<12);if((d=e&161119850)!=0)e=(e^(d>>20))};return e.toString(16)};this.dbrInfo=function(){var a=document.referrer;if(a&&a.length>0){var c=/(http:\/\/)(.*?)\/.*/i,b=/(^.*\?)(.*)/ig,f="",e=a.replace(c,"$2");if(e.length>0){f+="&refDomain="+e}else return false;var d=a.replace(b,"$2");if(d.length>0)f+="&refQuery="+encodeURIComponent(d);return f}else return""};this.initialize=function(){if(typeof SHARETHIS=="undefined"){this.sessionID_time=(new Date()).getTime().toString();this.sessionID_rand=Number(Math.random().toPrecision(5).toString().substr(2)).toString();this.sessionID=this.sessionID_time+"."+this.sessionID_rand;this.fpc=this._stFpc();this.pageViewLogged=false}else{this.fpc=SHARETHIS.fpc;this.sessionID=SHARETHIS.sessionID;this.pageViewLogged=true};this.hostname=location.host;this.location=location.pathname;this.rurl=this.dbrInfo();this.pURL=encodeURIComponent(document.location.href);this.ref=document.referrer;this.adNum=0;this.discoveryNum=0;this.barPageDoneLoading=0;this.hoverbuttonsNum=0;this.sharebarNum=0;this.pulldownbarNum=0};this.initialize()};sharethis.globals=new sharethis.globals();sharethis.widgets.discovery=function(a,b,c){c=(typeof c!="undefined")?c:false;this.location="http://sd.sharethis.com/disc/index.d1c016ddf30270f7b9479659c23053f9.html";if(c)this.location="http://sd.sharethis.com/disc/index-barebones.html";this.settings=b;this.settings.hostname=sharethis.globals.hostname;this.settings.location=sharethis.globals.location;this.createQueryString=function(){var f=new Array("viewType","sort","width","height","domain","type","src","topic","category","defaultSelection","theme","sessionID","fpc","pURL","publisher","hostname","location","ref","defaultImgUrl","openContentInNewWindow","showNoThumbnailArticle"),k=new Array("visible","text"),p=new Array("visible"),g=new Array("numResults","maxResults"),n=new Array("line0","line1","line2"),e=new Array("visible"),h=new Array(),j=new Array("widgetFontFamily","articleLinkFontSize","sourceLinkFontSize","snippetFontSize");if(c){f.push("specialStyle");e.push("align");var d=new Array("visible","align"),r=new Array("everyoneLoadRange"),m=new Array("widgetBackgroundColor","widgetBorder","articleLinkColor","sourceLinkColor"),o=new Array("visible","size");for(i=0;i<o.length;i++)if(this.settings.visualRank!=undefined&&this.settings.visualRank[o[i]]!=undefined)h.push("visualRank."+o[i]+"="+encodeURIComponent(this.settings.visualRank[o[i]]));for(i=0;i<d.length;i++)if(this.settings.headline!=undefined&&this.settings.headline[d[i]]!=undefined)h.push("headline."+d[i]+"="+encodeURIComponent(this.settings.headline[d[i]]))}else{var r=new Array("everyoneLoadRange","friendLoadRange","autoRefreshSpeed","fetchUpdateSpeed","firstFetchUpdateSpeed"),q=new Array("images","intAd"),m=new Array("headerBackgroundColor","headerTextColor","widgetBackgroundColor","widgetBorder","articleLinkColor","sourceLinkColor","conversationBackgroundColor","signInPromptBackgroundColor","signInPromptBorder"),l=new Array("like","comment");for(i=0;i<q.length;i++)if(this.settings.ad!=undefined&&this.settings.ad[q[i]]!=undefined)h.push("ad."+q[i]+"="+encodeURIComponent(this.settings.ad[q[i]]));for(i=0;i<l.length;i++)if(this.settings.socialFeatures!=undefined&&this.settings.socialFeatures[l[i]]!=undefined)h.push("socialFeatures."+l[i]+"="+encodeURIComponent(this.settings.socialFeatures[l[i]]))};for(i=0;i<f.length;i++)if(this.settings[f[i]]!=undefined)h.push(f[i]+"="+encodeURIComponent(this.settings[f[i]]));for(i=0;i<k.length;i++)if(this.settings.header!=undefined&&this.settings.header[k[i]]!=undefined)h.push("header."+k[i]+"="+encodeURIComponent(this.settings.header[k[i]]));for(i=0;i<p.length;i++)if(this.settings.footer!=undefined&&this.settings.footer[p[i]]!=undefined)h.push("footer."+p[i]+"="+encodeURIComponent(this.settings.footer[p[i]]));for(i=0;i<r.length;i++)if(this.settings.realtime!=undefined&&this.settings.realtime[r[i]]!=undefined)h.push("realtime."+r[i]+"="+encodeURIComponent(this.settings.realtime[r[i]]));for(i=0;i<g.length;i++)if(this.settings.resultList!=undefined&&this.settings.resultList[g[i]]!=undefined)h.push("resultList."+g[i]+"="+encodeURIComponent(this.settings.resultList[g[i]]));for(i=0;i<n.length;i++)if(this.settings.metadata!=undefined&&this.settings.metadata[n[i]]!=undefined)h.push("metadata."+n[i]+"="+encodeURIComponent(this.settings.metadata[n[i]]));for(i=0;i<e.length;i++)if(this.settings.image!=undefined&&this.settings.image[e[i]]!=undefined)h.push("image."+e[i]+"="+encodeURIComponent(this.settings.image[e[i]]));for(i=0;i<m.length;i++)if(this.settings.customColors!=undefined&&this.settings.customColors[m[i]]!=undefined)h.push("customColors."+m[i]+"="+encodeURIComponent(this.settings.customColors[m[i]]));for(i=0;i<j.length;i++)if(this.settings.customStyling!=undefined&&this.settings.customStyling[j[i]]!=undefined)h.push("customStyling."+j[i]+"="+encodeURIComponent(this.settings.customStyling[j[i]]));return h.join("&")};this.initialize=function(d,e){try{this.frame=document.createElement('<iframe name="stw_discovery'+sharethis.globals.discoveryNum+'" allowTransparency="true" style="body{background:transparent;},display=inline"></iframe>')}catch(f){this.frame=document.createElement("iframe");this.frame.allowTransparency="true";this.frame.setAttribute("allowTransparency","true")};this.frame.id="stw_discovery"+sharethis.globals.discoveryNum;this.frame.className="stw_discovery";this.frame.name="stw_discovery"+sharethis.globals.discoveryNum;this.frame.frameBorder="0";this.frame.scrolling="no";this.frame.width=this.settings.width+"px";this.frame.height=this.settings.height+"px";this.frame.src=this.location+"#"+this.createQueryString()+"&cs";d.appendChild(this.frame);try{window.frames[this.frame.name].location.replace(this.frame.src)}catch(f){};sharethis.globals.discoveryNum++};this.initialize(a,b)};sharethis.widgets.sharebar=function(a){this.initialize=function(){if(sharethis.globals.sharebarNum==0){try{var b=sharethis.utilities.getInternetExplorerVersion();if(b>-1&&b<7)return;a.hostname=sharethis.globals.hostname;a.location=sharethis.globals.location;sharethis.globals.sharebarOptions=a;if(sharethis.utilities.domUtilities.addListenerCompatible(window,"load",function(){sharethis.globals.barPageDoneLoading=1})==false)sharethis.utilities.domUtilities.addListenerCompatible(document,"load",function(){sharethis.globals.barPageDoneLoading=1});stLight.options({publisher:a.publisher,autoPosition:"center",onhover:false,loadedFromBar:true});sharethis.utilities.loadfile("http://sd.sharethis.com/disc/css/bar.d3d81be383682d9b9cdefa38d64af07c.css","css","head","");sharethis.utilities.loadfile("http://sd.sharethis.com/disc/js/sharebar.fbb3280b93a336e9cab90ae5de5ddf00.js","js","head","")}catch(c){console.log(c)};sharethis.globals.sharebarNum=1}};this.initialize()};sharethis.widgets.hoverbuttons=function(a){this.initialize=function(){if(sharethis.globals.hoverbuttonsNum==0){try{var b=sharethis.utilities.getInternetExplorerVersion();if(b>-1&&b<7)return;a.hostname=sharethis.globals.hostname;a.location=sharethis.globals.location;sharethis.globals.hoveringButtonsOptions=a;if(sharethis.utilities.domUtilities.addListenerCompatible(window,"load",function(){sharethis.globals.barPageDoneLoading=1})==false)sharethis.utilities.domUtilities.addListenerCompatible(document,"load",function(){sharethis.globals.barPageDoneLoading=1});stLight.options({publisher:a.publisher,autoPosition:"center",onhover:false});sharethis.utilities.loadfile("http://sd.sharethis.com/disc/css/hoverbuttons.6eab8de2ee93b309873157b6d3f977fe.css","css","head","");sharethis.utilities.loadfile("http://sd.sharethis.com/disc/js/hoverbuttons.365000265a4ca2d4d4280d897761e46c.js","js","head","")}catch(c){console.log(c)};sharethis.globals.hoverbuttonsNum=1}};this.initialize()};sharethis.widgets.pulldownbar=function(a){this.initialize=function(){if(sharethis.globals.pulldownbarNum==0){try{var b=sharethis.utilities.getInternetExplorerVersion();if(b>-1&&b<7)return;a.hostname=sharethis.globals.hostname;a.location=sharethis.globals.location;sharethis.globals.pulldownbarOptions=a;if(sharethis.utilities.domUtilities.addListenerCompatible(window,"load",function(){sharethis.globals.barPageDoneLoading=1})==false)sharethis.utilities.domUtilities.addListenerCompatible(document,"load",function(){sharethis.globals.barPageDoneLoading=1});stLight.options({publisher:a.publisher,autoPosition:"center",onhover:false});sharethis.utilities.loadfile("http://sd.sharethis.com/disc/css/pulldownbar.d3d81be383682d9b9cdefa38d64af07c.css","css","head","");sharethis.utilities.loadfile("http://sd.sharethis.com/disc/js/pulldownbar.375e191cba11efc2bd25bb3e210b065e.js","js","head","")}catch(c){console.log(c)};sharethis.globals.pulldownbarNum=1}};this.initialize()};sharethis.utilities.loadfile=function(a,b,d,e){var c;if(b=="js"){c=document.createElement("script");c.setAttribute("type","text/javascript");c.setAttribute("src",a)}else if(b=="css"){c=document.createElement("link");c.setAttribute("rel","stylesheet");c.setAttribute("type","text/css");c.setAttribute("href",a)};if(e!=""&&typeof e=="function"){c.onload=e;c.onreadystatechange=function(){if(c.readyState=="loaded"||c.readyState=="complete")e()}};if(typeof c!="undefined")if(d=="head"){document.getElementsByTagName("head")[0].appendChild(c)}else document.getElementsByTagName("body")[0].appendChild(c)};sharethis.utilities.domUtilities=function(){return{addListenerCompatible:function(c,a,b){if(typeof(c.addEventListener)!="undefined"){c.addEventListener(a,b,false);return true}else if(typeof c.attachEvent!="undefined"){c.attachEvent("on"+a,b);return true};return false},removeListenerCompatible:function(c,a,b){if(typeof(c.removeEventListener)!="undefined"){c.removeEventListener(a,b,false);return true}else if(typeof c.detachEvent!="undefined"){c.detachEvent("on"+a,b);return true};return false}}}();sharethis.utilities.getInternetExplorerVersion=function(){var c=-1;if(navigator.appName=="Microsoft Internet Explorer"){var a=navigator.userAgent,b=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");if(b.exec(a)!=null)c=parseFloat(RegExp.$1)};return c};sharethis.utilities.getOGTags=function(){var c=document.getElementsByTagName("meta"),a=new Array();for(var b=0;b<c.length;b++)if(c[b].getAttribute("property")=="og:title"){a.push("og:title="+encodeURIComponent(c[b].getAttribute("content")))}else if(c[b].getAttribute("property")=="og:description"){a.push("og:description="+encodeURIComponent(c[b].getAttribute("content")))}else if(c[b].getAttribute("name")=="description"||c[b].getAttribute("name")=="Description"){a.push("name:description="+encodeURIComponent(c[b].getAttribute("content")))}else if(c[b].getAttribute("name")=="keywords"||c[b].getAttribute("name")=="Keywords")a.push("name:keywords="+encodeURIComponent(c[b].getAttribute("content")));return a.join("&")};sharethis.utilities.initGA=function(b,d,a,c){if(typeof _gat=="undefined"){var e=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");sharethis.utilities.loadfile(e+"google-analytics.com/ga.js","js","head",function(){sharethis.utilities.initGACallBack(b,d,a,c)})}else sharethis.utilities.initGACallBack(b,d,a,c)};sharethis.utilities.initGACallBack=function(c,e,a,d){try{sharethis.widgets.pageTracker=_gat._getTracker("UA-1645146-14");sharethis.utilities.gaLog(c,e,a,d)}catch(b){}};sharethis.utilities.gaLog=function(b,d,a,c){if(typeof(sharethis.widgets.pageTracker)!="undefined"&&sharethis.widgets.pageTracker!=null)sharethis.widgets.pageTracker._trackEvent(b,d,a,c)}};
PopularQueryRenderer=function(container){this.container=container};PopularQueryRenderer.prototype.render=function(queries){var numberOfPopularQueriesToShow=queries.popularQueries.length;if((typeof queries.maxNumberOfPopularQueries=="number")&&(queries.maxNumberOfPopularQueries<numberOfPopularQueriesToShow))numberOfPopularQueriesToShow=queries.maxNumberOfPopularQueries;for(var i=0;i<numberOfPopularQueriesToShow;i++){var a=document.createElement("a");a.setAttribute("href",queries.popularQueries[i].href);a.appendChild(document.createTextNode(queries.popularQueries[i].query));this.container.appendChild(a);this.container.appendChild(document.createTextNode(" "))}};
if(version=="n3"){img82_0433_0_n=new Image();img82_0433_0_n.src="typo3temp/menu/d7351a5ab0.png";img82_0433_0_h=new Image();img82_0433_0_h.src="typo3temp/menu/d581a15216.png";img40_0433_1_n=new Image();img40_0433_1_n.src="typo3temp/menu/3c565914bf.png";img40_0433_1_h=new Image();img40_0433_1_h.src="typo3temp/menu/064c5dae59.png";img13_0433_2_n=new Image();img13_0433_2_n.src="typo3temp/menu/2380dab92d.png";img13_0433_2_h=new Image();img13_0433_2_h.src="typo3temp/menu/f1f8e2aa9d.png";img10_0433_3_n=new Image();img10_0433_3_n.src="typo3temp/menu/653185eba9.png";img10_0433_3_h=new Image();img10_0433_3_h.src="typo3temp/menu/6403dcf7fb.png";img39_0433_4_n=new Image();img39_0433_4_n.src="typo3temp/menu/454cf1a7ac.png";img39_0433_4_h=new Image();img39_0433_4_h.src="typo3temp/menu/fb67a12f5d.png";img47_0433_5_n=new Image();img47_0433_5_n.src="typo3temp/menu/ce578038f6.png";img47_0433_5_h=new Image();img47_0433_5_h.src="typo3temp/menu/53684fe4af.png"};
function over(name,imgObj){if(version=="n3"&&document[name]){document[name].src=eval(name+"_h.src")}else if(document.getElementById&&document.getElementById(name)){document.getElementById(name).src=eval(name+"_h.src")}else if(imgObj)imgObj.src=eval(name+"_h.src")}
function out(name,imgObj){if(version=="n3"&&document[name]){document[name].src=eval(name+"_n.src")}else if(document.getElementById&&document.getElementById(name)){document.getElementById(name).src=eval(name+"_n.src")}else if(imgObj)imgObj.src=eval(name+"_n.src")};

