if(typeof(stlib)=="undefined"){var stlib={}}if(!stlib.functions){stlib.functions=[];stlib.functionCount=0}stlib.global={};stlib.global.hash=document.location.href.split("#");stlib.global.hash.shift();stlib.global.hash=stlib.global.hash.join("#");stlib.dynamicOn=true;stlib.browser={iemode:null,firefox:null,firefoxVersion:null,safari:null,chrome:null,windows:null,mac:null,ieFallback:(/MSIE [6789]/).test(navigator.userAgent),init:function(){if(window.navigator.appName=="Microsoft Internet Explorer"){if(document.documentMode){stlib.browser.iemode=document.documentMode}else{stlib.browser.iemode=5;if(document.compatMode){if(document.compatMode=="CSS1Compat"){stlib.browser.iemode=7}}}}stlib.browser.firefox=(navigator.userAgent.indexOf("Firefox")!=-1)?true:false;stlib.browser.firefoxVersion=(navigator.userAgent.indexOf("Firefox/5.0")!=-1||navigator.userAgent.indexOf("Firefox/9.0")!=-1)?false:true;stlib.browser.safari=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1)?true:false;stlib.browser.chrome=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")!=-1)?true:false;stlib.browser.windows=(navigator.userAgent.indexOf("Windows")!=-1)?true:false;stlib.browser.mac=(navigator.userAgent.indexOf("Macintosh")!=-1)?true:false},getIEVersion:function(){return stlib.browser.iemode},isFirefox:function(){return stlib.browser.firefox},firefox8Version:function(){return stlib.browser.firefoxVersion},isSafari:function(){return stlib.browser.safari},isWindows:function(){return stlib.browser.windows},isMac:function(){return stlib.browser.mac}};stlib.browser.init();stlib.browser.mobile={mobile:false,uagent:null,android:null,iOs:null,silk:null,windows:null,kindle:null,init:function(){this.uagent=navigator.userAgent.toLowerCase();if(this.isAndroid()){this.mobile=true}else{if(this.isIOs()){this.mobile=true}else{if(this.isSilk()){this.mobile=true}else{if(this.isWindowsPhone()){this.mobile=true}else{if(this.isKindle()){this.mobile=true}}}}}},isMobile:function isMobile(){return this.mobile},isAndroid:function(){if(this.android===null){this.android=this.uagent.indexOf("android")>-1}return this.android},isKindle:function(){if(this.kindle===null){this.kindle=this.uagent.indexOf("kindle")>-1}return this.kindle},isIOs:function isIOs(){if(this.iOs===null){this.iOs=(this.uagent.indexOf("ipad")>-1)||(this.uagent.indexOf("ipod")>-1)||(this.uagent.indexOf("iphone")>-1)}return this.iOs},isSilk:function(){if(this.silk===null){this.silk=this.uagent.indexOf("silk")>-1}return this.silk},isWindowsPhone:function(){if(this.windows===null){this.windows=this.uagent.indexOf("windows phone")>-1}return this.windows},handleForMobileFriendly:function handleForMobileFriendly(c,n,f){if(!this.isMobile()){return false}if(typeof(stLight)==="undefined"){stLight={};stLight.publisher=n.publisher;stLight.sessionID=n.sessionID;stLight.fpc=""}var j=(typeof(c.title)!=="undefined")?c.title:encodeURIComponent(document.title);var a=(typeof(c.url)!=="undefined")?c.url:document.URL;if(n.service=="sharethis"){var j=(typeof(c.title)!=="undefined")?c.title:encodeURIComponent(document.title);var a=(typeof(c.url)!=="undefined")?c.url:document.URL;var b=document.createElement("form");b.setAttribute("method","GET");b.setAttribute("action","http://edge.sharethis.com/share4x/mobile.html");b.setAttribute("target","_blank");var e={url:a,title:j,destination:n.service,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID};if(typeof(c.image)!="undefined"&&c.image!=null){e.image=c.image}if(typeof(c.summary)!="undefined"&&c.summary!=null){e.desc=c.summary}if(typeof(f)!="undefined"&&typeof(f.exclusive_services)!="undefined"&&f.exclusive_services!=null){e.exclusive_services=f.exclusive_services}if(typeof(n.exclusive_services)!="undefined"&&n.exclusive_services!=null){e.exclusive_services=n.exclusive_services}if(typeof(f)!="undefined"&&typeof(f.services)!="undefined"&&f.services!=null){e.services=f.services}if(typeof(n.services)!="undefined"&&n.services!=null){e.services=n.services}var k=n;if(typeof(f)!="undefined"){k=f}if(typeof(k.doNotHash)!="undefined"&&k.doNotHash!=null){e.doNotHash=k.doNotHash}if(typeof(c.via)!="undefined"&&c.via!=null){e.via=c.via}e.service=n.service;e.type=n.type;if(stlib.data){var i=stlib.json.encode(stlib.data.pageInfo);var h=stlib.json.encode(stlib.data.shareInfo);if(stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()){i=encodeURIComponent(encodeURIComponent(i));h=encodeURIComponent(encodeURIComponent(h))}else{i=encodeURIComponent(i);h=encodeURIComponent(h)}e.pageInfo=i;e.shareInfo=h}for(var l in e){var d=document.createElement("input");d.setAttribute("type","hidden");d.setAttribute("name",l);d.setAttribute("value",e[l]);b.appendChild(d)}document.body.appendChild(b);b.submit();return true}if(n.service=="email"){var g=a+"%0A%0a";g+="Sent using ShareThis";var m="mailto:?";m+="Subject="+j;m+="&body="+g;window.location.href=m;return true}return false}};stlib.browser.mobile.init();stlib.debugOn=false;stlib.debug={count:0,messages:[],debug:function(b,a){if(a&&(typeof console)!="undefined"){console.log(b)}stlib.debug.messages.push(b)},show:function(a){for(message in stlib.debug.messages){if((typeof console)!="undefined"){if(a){/ERROR/.test(stlib.debug.messages[message])?console.log(stlib.debug.messages[message]):null}else{console.log(stlib.debug.messages[message])}}}},showError:function(){stlib.debug.show(true)}};var _$d=function(a){stlib.debug.debug(a,stlib.debugOn)};var _$d0=function(){_$d(" ")};var _$d_=function(){_$d("___________________________________________")};var _$d1=function(a){_$d(_$dt()+"| "+a)};var _$d2=function(a){_$d(_$dt()+"| * "+a)};var _$de=function(a){_$d(_$dt()+"ERROR: "+a)};var _$dt=function(){var b=new Date();var d=b.getHours();var a=b.getMinutes();var c=b.getSeconds();return d+":"+a+":"+c+" > "};stlib.logger={loggerUrl:(("https:"==document.location.protocol)?"https://":"http://")+"l.sharethis.com/",productArray:new Array(),version:"",lang:"en",constructParamString:function(){var a=stlib.data.pageInfo;var c="";var b;for(b in a){c+=b+"="+a[b]+"&"}a=stlib.data.shareInfo;for(b in a){c+=b+"="+a[b]+"&"}return c.substring(0,c.length-1)},log:function(d,f){_$d_();_$d1("Log Event PageInfo:");_$d(stlib.data.pageInfo);_$d1("Log Event ShareInfo:");_$d(stlib.data.shareInfo);if(typeof(d)=="undefined"){_$de("event does not exist \nFor help, contact support@sharethis.com");return}if(stlib.data.pageInfo==null||stlib.data.shareInfo==null){_$de("stlib.logger does not have enough info to log \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("url","shareInfo")){_$de("shareThisInfo.url do not exist \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("sessionID","pageInfo")){_$de("sharePageInfo.sessionID do not exist \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("destination","shareInfo")){if(d!="pview"){_$de("shareThisInfo.destination do not exist \nFor help, contact support@sharethis.com");return}}if(!stlib.data.get("buttonType","shareInfo")){if(d!="pview"){_$de("shareThisInfo.type do not exist \nFor help, contact support@sharethis.com");return}}if(!stlib.data.get("source","shareInfo")){_$de("shareThisInfo.source do not exist \nFor help, contact support@sharethis.com");return}if(d=="pview"){stlib.data.unset("destination","shareInfo");stlib.data.unset("buttonType","shareInfo")}else{stlib.data.unset("refDomain","pageInfo");stlib.data.unset("refQuery","pageInfo")}if(typeof(stlib.data.get("counter","shareInfo"))!="undefined"){var c=0;if(stlib.data.get("counter","shareInfo")){c=stlib.data.get("counter","shareInfo")}stlib.data.set("ts"+new Date().getTime()+"."+c,"","shareInfo");stlib.data.unset("counter","shareInfo")}else{stlib.data.set("ts"+new Date().getTime(),"","shareInfo")}var a=(d=="pview")?"pview":((d=="debug")?"cns":"log");if(d=="pview"){var e=stlib.logger.loggerUrl+a+"?event="+d+"&product="+stlib.logger.productArray+"&version="+stlib.logger.version+"&lang="+stlib.logger.lang+"&"+stlib.logger.constructParamString()}else{var e=stlib.logger.loggerUrl+a+"?event="+d+"&"+stlib.logger.constructParamString()}_$d1("Final Log Url:");_$d2(e);var b=new Image(1,1);b.src=e;b.onload=function(){return};f?f():null}};stlib.json={c:{"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\","/":"/"},d:function(a){return a<10?"0".concat(a):a},e:function(c,f,e){e=eval;delete eval;if(typeof eval==="undefined"){eval=e}f=eval(""+c);eval=e;return f},i:function(c,b,a){return 1*c.substr(b,a)},p:["","000","00","0",""],rc:null,rd:/^[0-9]{4}\-[0-9]{2}\-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$/,rs:/(\x5c|\x2F|\x22|[\x0c-\x0d]|[\x08-\x0a])/g,rt:/^([0-9]+|[0-9]+[,\.][0-9]{1,3})$/,ru:/([\x00-\x07]|\x0b|[\x0e-\x1f])/g,s:function(a,b){return"\\".concat(stlib.json.c[b])},u:function(a,b){var c=b.charCodeAt(0).toString(16);return"\\u".concat(stlib.json.p[c.length],c)},v:function(b,a){return stlib.json.types[typeof result](result)!==Function&&(a.hasOwnProperty?a.hasOwnProperty(b):a.constructor.prototype[b]!==a[b])},types:{"boolean":function(){return Boolean},"function":function(){return Function},number:function(){return Number},object:function(a){return a instanceof a.constructor?a.constructor:null},string:function(){return String},"undefined":function(){return null}},$$:function(a){function b(f,d){d=f[a];delete f[a];try{stlib.json.e(f)}catch(e){f[a]=d;return 1}}return b(Array)&&b(Object)},encode:function(){var c=arguments.length?arguments[0]:this,a,g;if(c===null){a="null"}else{if(c!==undefined&&(g=stlib.json.types[typeof c](c))){switch(g){case Array:a=[];for(var f=0,d=0,b=c.length;d')}catch(k){l=document.createElement("iframe")}l.name=d;l.src="javascript:false";l.style.display="none";a.appendChild(l);e.action=(("https:"==document.location.protocol)?"https://sharethis.com/":"http://sharethis.com/")+"account/setCookie.php";e.method="POST";var i=document.createElement("input");i.setAttribute("type","hidden");i.setAttribute("name","name");i.setAttribute("value",d);e.appendChild(i);var q=document.createElement("input");q.setAttribute("type","hidden");q.setAttribute("name","value");q.setAttribute("value",m);e.appendChild(q);var n=document.createElement("input");n.setAttribute("type","hidden");n.setAttribute("name","time");n.setAttribute("value",r);e.appendChild(n);e.target=d;a.appendChild(e);e.submit()}else{if(o){var h=new Date();h.setTime(h.getTime()+(o*24*60*60*1000));var f="; expires="+h.toGMTString()}else{var f=""}var g=d+"="+escape(m)+f;g+="; domain="+escape(".sharethis.com")+";path=/";document.cookie=g}},getCookie:function(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else{return false}},deleteCookie:function(d){var k="/";var j=".sharethis.com";document.cookie=d.replace(/^\s+|\s+$/g,"")+"="+((k)?";path="+k:"")+((j)?";domain="+j:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT";var c=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1);var b=(navigator.userAgent.indexOf("MSIE")!=-1);if(c||b){var g=document.createElement("div");g.setAttribute("id",d);g.setAttribute("type","hidden");document.body.appendChild(g);var a=document.getElementById(d),e=document.createElement("form");try{var i=document.createElement('')}catch(h){i=document.createElement("iframe")}i.name=d;i.src="javascript:false";i.style.display="none";a.appendChild(i);e.action=(("https:"==document.location.protocol)?"https://sharethis.com/":"http://sharethis.com/")+"account/deleteCookie.php";e.method="POST";var f=document.createElement("input");f.setAttribute("type","hidden");f.setAttribute("name","name");f.setAttribute("value",d);e.appendChild(f);e.target=d;a.appendChild(e);e.submit()}},deleteAllSTCookie:function(){var d=document.cookie;d=d.split(";");for(var f=0;f1){a="."+b[b.length-2]+"."+b[b.length-1]}return a},checkCookiesEnabled:function(){if(!tpcCookiesEnableCheckingDone){stlib.cookie.setCookie("STPC","yes",1);if(stlib.cookie.getCookie("STPC")=="yes"){tpcCookiesEnabledStatus=true}else{tpcCookiesEnabledStatus=false}tpcCookiesEnableCheckingDone=true;return tpcCookiesEnabledStatus}else{return tpcCookiesEnabledStatus}},hasLocalStorage:function(){try{localStorage.setItem("stStorage","yes");localStorage.removeItem("stStorage");return true}catch(a){return false}}};stlib.fpc={cookieName:"__unam",cookieValue:"",createFpc:function(){if(!document.domain||document.domain.search(/\.gov/)>0){return false}var h=stlib.cookie.getFpcCookie(stlib.fpc.cookieName);if(h==false){var c=Math.round(Math.random()*2147483647);c=c.toString(16);var f=(new Date()).getTime();f=f.toString(16);var e=window.location.hostname.split(/\./)[1];if(!e){return false}var g="";g=stlib.fpc.determineHash(e)+"-"+f+"-"+c+"-1";h=g}else{var b=h;var a=b.split(/\-/);if(a.length==4){var d=Number(a[3]);d++;h=a[0]+"-"+a[1]+"-"+a[2]+"-"+d}}stlib.cookie.setFpcCookie(stlib.fpc.cookieName,h);stlib.fpc.cookieValue=h;return h},determineHash:function(b){var e=0;var d=0;for(var c=b.length-1;c>=0;c--){var a=parseInt(b.charCodeAt(c));e=((e<<8)&268435455)+a+(a<<12);if((d=e&161119850)!=0){e=(e^(d>>20))}}return e.toString(16)}};stlib.validate={regexes:{notEncoded:/(%[^0-7])|(%[0-7][^0-9a-f])|["{}\[\]\<\>\\\^`\|]/gi,tooEncoded:/%25([0-7][0-9a-f])/gi,publisher:/^(([a-z]{2}(-|\.))|)[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,url:/^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i,fpc:/^[0-9a-f]{7}-[0-9a-f]{11}-[0-9a-f]{7,8}-[0-9]*$/i,sessionID:/^[0-9]*\.[0-9a-f]*$/i,title:/.*/,description:/.*/,buttonType:/^(chicklet|vcount|hcount|large|custom|button|)$/,comment:/.*/,destination:/.*/,source:/.*/,image:/(^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))|^$/i,sourceURL:/^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i,sharURL:/(^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))|^$/i}};stlib.html={encode:function(a){if(stlib.html.startsWith(a,"http")){return String(a).replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}else{return String(a).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}},startsWith:function(a,b){return(a.match("^"+b)==b)}};if(typeof(stlib.data)=="undefined"){stlib.data={bInit:false,publisherKeySet:false,pageInfo:{},shareInfo:{},resetPageData:function(){stlib.data.pageInfo.fpc="ERROR";stlib.data.pageInfo.sessionID="ERROR";stlib.data.pageInfo.hostname="ERROR";stlib.data.pageInfo.location="ERROR"},resetShareData:function(){stlib.data.shareInfo={};stlib.data.shareInfo.url="ERROR";stlib.data.shareInfo.sharURL="";stlib.data.shareInfo.buttonType="ERROR";stlib.data.shareInfo.destination="ERROR";stlib.data.shareInfo.source="ERROR"},resetData:function(){stlib.data.resetPageData();stlib.data.resetShareData()},validate:function(){var a=stlib.validate.regexes;function b(e,g){if(g!=encodeURIComponent(g)){a.notEncoded.test(g)?_$de(e+" not encoded"):null;a.tooEncoded.test(g)?_$de(e+" has too much encoding"):null}var f=a[e]?a[e].test(decodeURIComponent(g)):true;if(!f){_$de(e+" failed validation")}}var c=stlib.data.pageInfo;var d;for(d in c){b(d,c[d])}c=stlib.data.shareInfo;for(d in c){b(d,c[d])}},init:function(){if(!stlib.data.bInit){stlib.data.bInit=true;stlib.data.resetData();stlib.data.set("url",document.location.href,"shareInfo");var f="";stlib.hash.init();stlib.data.set("shareHash",stlib.hash.shareHash,"pageInfo");stlib.data.set("incomingHash",stlib.hash.incomingHash,"pageInfo");if(!stlib.hash.doNotHash){f="#"+stlib.data.get("shareHash","pageInfo")}var e=stlib.hash.updateParams();stlib.data.set("url",e+f,"shareInfo");if(stlib.data.publisherKeySet!=true){stlib.data.set("publisher","ur.00000000-0000-0000-0000-000000000000","pageInfo")}stlib.fpc.createFpc();stlib.data.set("fpc",stlib.fpc.cookieValue,"pageInfo");var b=(new Date()).getTime().toString();var g=Number(Math.random().toPrecision(5).toString().substr(2)).toString();stlib.data.set("sessionID",b+"."+g,"pageInfo");stlib.data.set("hostname",document.location.hostname,"pageInfo");stlib.data.set("location",document.location.pathname,"pageInfo");var d=document.referrer;var h=d.replace("http://","").replace("https://","").split("/");var c=h.shift();var a=h.join("/");stlib.data.set("refDomain",c,"pageInfo");stlib.data.set("refQuery",a,"pageInfo")}},setPublisher:function(a){stlib.data.set("publisher",a,"pageInfo");stlib.data.publisherKeySet=true},setSource:function(c,a){var b="";if(a){if(a.toolbar){b="toolbar"+c}else{if(a.page&&a.page!="home"&&a.page!=""){b="chicklet"+c}else{b="button"+c}}}else{b=c}stlib.data.set("source",b,"shareInfo")},set:function(a,c,b){_$d_();_$d1("Setting: "+a+": "+c);if(typeof(c)=="number"||typeof(c)=="boolean"){stlib.data[b][a]=c}else{if(typeof(c)=="undefined"||c==null){_$d1("Value undefined or null")}else{stlib.data[b][a]=encodeURIComponent(decodeURIComponent(unescape(c.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")));if(a=="url"||a=="location"||a=="image"){try{stlib.data[b][a]=encodeURIComponent(decodeURIComponent(decodeURI(c.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")))}catch(d){stlib.data[b][a]=encodeURIComponent(decodeURIComponent(unescape(c.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")))}}}}},get:function(a,b){if(stlib.data[b]&&stlib.data[b][a]){return decodeURIComponent(stlib.data[b][a])}else{return false}},unset:function(a,b){if(stlib.data[b]&&typeof(stlib.data[b][a])!="undefined"){delete stlib.data[b][a]}}};stlib.data.resetData()}stlib.hash={doNotHash:true,hashAddressBar:false,doNotCopy:true,prefix:"sthash",shareHash:"",incomingHash:"",validChars:["1","2","3","4","5","6","7","8","9","0","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],servicePreferences:{linkedin:"param",stumbleupon:"param",bebo:"param"},hashDestination:function(b){if(b=="copy"){return"dpuf"}var c=b.substring(0,2)+b.substring(b.length-2,b.length);var a=function(d,e){if(d.charCodeAt(e)==122){return"a"}return String.fromCharCode(d.charCodeAt(e)+1)};return a(c,0)+a(c,1)+a(c,2)+a(c,3)},getHash:function(){var c=false;var b="";var d=document.location.href;d=d.split("#").shift();var a=d.split("?");if(a.length>1){a=a[1].split("&");for(arg in a){try{if(a[arg].substring(0,6)=="sthash"){c=true;b=a[arg]}}catch(e){}}if(c){return b}else{return document.location.hash.substring(1)}}else{return document.location.hash.substring(1)}},stripHash:function(a){var b=a;b=b.split("#");if(b.length>1){return b[1]}else{return""}},clearHash:function(){if(stlib.hash.validateHash(document.location.hash)){var a=document.location.href.split("#").shift();if(window.history&&history.replaceState){history.replaceState(null,document.title,a)}else{if((/MSIE/).test(navigator.userAgent)){window.location.replace("#")}else{document.location.hash=""}}}},init:function(){var b="";var a=stlib.hash.validChars.length;for(var e=0;e<8;e++){b+=stlib.hash.validChars[Math.random()*a|0]}if(stlib.hash.getHash()==""){stlib.hash.shareHash=stlib.hash.prefix+"."+b}else{var c=stlib.hash.getHash().split(".");var d=c.shift();if(d==stlib.hash.prefix||d==stlib.hash.prefix){stlib.hash.incomingHash=stlib.hash.getHash();stlib.hash.shareHash=stlib.hash.prefix+"."+c.shift()+"."+b}else{stlib.hash.shareHash=stlib.hash.prefix+"."+b}}if(!stlib.hash.doNotHash&&stlib.hash.hashAddressBar){if(document.location.hash==""||stlib.hash.validateHash(document.location.hash)){if(window.history&&history.replaceState){history.replaceState(null,"ShareThis","#"+stlib.hash.shareHash+".dpbs")}else{if((/MSIE/).test(navigator.userAgent)){window.location.replace("#"+stlib.hash.shareHash+".dpbs")}else{document.location.hash=stlib.hash.shareHash+".dpbs"}}}}else{stlib.hash.clearHash()}if(!stlib.hash.doNotHash&&!stlib.hash.doNotCopy){stlib.hash.copyPasteInit()}stlib.hash.copyPasteLog()},checkURL:function(){var b=stlib.data.get("destination","shareInfo");var f=stlib.hash.updateParams(b);var d="."+stlib.hash.hashDestination(b);stlib.hash.updateDestination(d);if(!stlib.hash.doNotHash&&typeof(stlib.data.pageInfo.shareHash)!="undefined"){var c=stlib.data.get("url","shareInfo");var g=stlib.hash.stripHash(c);if(stlib.hash.validateHash(g)||g==""){if(typeof(stlib.hash.servicePreferences[b])!="undefined"){if(stlib.hash.servicePreferences[b]=="param"){_$d1("Don't use hash, use params");_$d2(f);if(f.split("?").length>1){var e=f.split("?")[1].split("&");var h=false;for(var a=0;a50){a=" - See more at: "+j+"";if(!e.test(n)&&!i.test(n)&&!k.test(n)&&!c.test(n)){d+=a}}}if(n.length>140){n=n.substring(0,137)+"..."}stlib.hash.logCopy(j,n);return((l&&l==true)?a:d)}};stlib.messageQueue=function(){var a=this;this.pumpInstance=null;this.queue=[];this.dependencies=["data"];this.sending=true;this.setPumpInstance=function(b){this.pumpInstance=b};this.send=function(e,c){if((typeof(e)=="string")&&(typeof(c)=="string")){_$d_();_$d1("Queueing message: "+c+": "+e)}(typeof(e)=="string")&&(typeof(c)=="string")?this.queue.push([c,e]):null;if(this.sending==false||stlib.browser.ieFallback){if(this.pumpInstance!=null){if(this.dependencies.length>0){for(messageSet in this.queue){if(this.queue[messageSet][0]==this.dependencies[0]){if(this.queue.length>0){_$d1("Current Queue Length: "+this.queue.length);var b=this.queue.shift();this.pumpInstance.broadcastSendMessage(b[1]);this.dependencies.shift();this.sending=true}}}}else{if(this.queue.length>0){_$d1("Current Queue Length: "+this.queue.length);var b=this.queue.shift();this.pumpInstance.broadcastSendMessage(b[1]);this.sending=true}}}else{_$d_();_$d1("Pump is null")}}if((stlib.browser.ieFallback)&&(this.queue.length>0)){var d="process"+stlib.functionCount;stlib.functionCount++;stlib.functions[d]=a.process;setTimeout("stlib.functions['"+d+"']()",500)}};this.process=function(){_$d1("Processing MessageQueue");a.sending=false;_$d(this.queue);a.send()}};stlib.pump=function(a,c,d){var b=this;this.isIframeReady=false;this.isIframeSending=false;this.getHash=function(e){var f=e.split("#");f.shift();return f.join("#")};this.broadcastInit=function(e){this.destination=e;_$d_("---------------------");_$d1("Initiating broadcaster:");_$d(this.destination)};this.broadcastSendMessage=function(e){_$d_("---------------------");_$d1("Initiating Send:");if(this.destination===window){if(stlib.browser.ieFallback){window.location.replace(window.location.href.split("#")[0]+"#"+e);_$d2("child can't communicate with parent");return}_$d2("Iframe to publisher: "+e);parent.postMessage("#"+e,document.referrer)}else{_$d2("Publisher to Iframe: "+e);if(stlib.browser.ieFallback){if(this.destination.contentWindow){this.destination.contentWindow.location.replace(this.destination.src+"#"+e);this.isIframeSending=true}return}this.destination.contentWindow.postMessage("#"+e,this.destination.src)}};this.receiverInit=function(g,j){_$d_("---------------------");_$d1("Initiating Receiver:");_$d(g);if(stlib.browser.ieFallback){this.callback=j;this.source=g;if(g===window){window.location.replace(window.location.href.split("#")[0]+"#");this.currentIframe=window.location.hash;var f="receiver"+stlib.functionCount;stlib.functions[f]=function(l){if(""!=window.location.hash&&"#"!=window.location.hash){var k=window.location.hash;l(k);window.location.replace(window.location.href.split("#")[0]+"#")}};stlib.functionCount++;var i="callback"+stlib.functionCount;stlib.functions[i]=j;stlib.functionCount++;setInterval("stlib.functions['"+f+"'](stlib.functions['"+i+"'])",200)}else{}var h=window.addEventListener?"addEventListener":"attachEvent";var e=h=="attachEvent"?"onmessage":"message";window[h](e,function(k){if(g==window){}else{if(k.origin.indexOf("sharethis.com")!=-1){if(k.data.match(/#Pinterest Click/)){stlib.sharer.sharePinterest()}}}},false);return}var h=window.addEventListener?"addEventListener":"attachEvent";var e=h=="attachEvent"?"onmessage":"message";window[h](e,function(k){if(g==window){_$d1("arrived in iframe from:");_$d(k.origin);if(k.data.match(/#fragmentPump/)||k.data.match(/#Buttons Ready/)||k.data.match(/#Widget Ready/)||k.data.indexOf("#light")==0||k.data.indexOf("#widget")==0||k.data.indexOf("#popup")==0||k.data.indexOf("#show")==0||k.data.indexOf("#init")==0||k.data.indexOf("#test")==0||k.data.indexOf("#data")==0){j(k.data)}}else{if(k.origin.indexOf("sharethis.com")!=-1){_$d1("arrived in parent from:");_$d(k.origin);if(k.data.match(/#fragmentPump/)||k.data.match(/#Buttons Ready/)||k.data.match(/#Widget Ready/)||k.data.indexOf("#light")==0||k.data.indexOf("#widget")==0||k.data.indexOf("#popup")==0||k.data.indexOf("#show")==0||k.data.indexOf("#init")==0||k.data.indexOf("#test")==0||k.data.indexOf("#data")==0){j(k.data)}else{if(k.data.match(/#Pinterest Click/)){stlib.sharer.sharePinterest()}}}else{_$d1("discarded event from:");_$d(k.origin)}}},false)};this.broadcastInit(a);this.receiverInit(c,d)};stlib.sharer={sharerUrl:(("https:"==document.location.protocol)?"https://ws./":"http://wd./")+"sharethis.com/api/sharer.php",regAuto:new RegExp(/(.*?)_auto$/),constructParamString:function(){stlib.data.validate();stlib.hash.checkURL();var a=stlib.data.pageInfo;var c="?";var b;for(b in a){c+=b+"="+encodeURIComponent(a[b])+"&";_$d1("constructParamStringPageInfo: "+b+": "+a[b])}a=stlib.data.shareInfo;for(b in a){c+=b+"="+encodeURIComponent(a[b])+"&";_$d1("constructParamStringShareInfo: "+b+": "+a[b])}return c.substring(0,c.length-1)},sharePinterest:function(){if(stlib.data.get("image","shareInfo")==false||stlib.data.get("image","shareInfo")==null||stlib.data.get("pinterest_native","shareInfo")=="true"){if(typeof(stWidget)!="undefined"&&typeof(stWidget.closeWidget)==="function"){stWidget.closeWidget()}if(typeof(stcloseWidget)==="function"){stcloseWidget()}if(typeof(stToolbar)!="undefined"&&typeof(stToolbar.closeWidget)==="function"){stToolbar.closeWidget()}var a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("charset","UTF-8");a.setAttribute("src","http://assets.pinterest.com/js/pinmarklet.js?r="+Math.random()*99999999);document.body.appendChild(a)}},share:function(d,a){var c=stlib.sharer.constructParamString();_$d_();_$d1("Initiating a Share with the following url:");_$d2(stlib.sharer.sharerUrl+c);if((stlib.data.get("destination","shareInfo")=="email")||(stlib.data.get("destination","shareInfo")=="pinterest"&&stlib.data.get("source","shareInfo").match(/share4xmobile/)==null&&stlib.data.get("source","shareInfo").match(/share4xpage/)==null&&stlib.data.get("source","shareInfo").match(/5xpage/)==null&&(stlib.data.get("image","shareInfo")==false||stlib.data.get("image","shareInfo")==null))||stlib.data.get("destination","shareInfo")=="snapsets"||stlib.data.get("destination","shareInfo")=="copy"||stlib.data.get("destination","shareInfo")=="plusone"||stlib.data.get("destination","shareInfo").match(stlib.sharer.regAuto)||(typeof(stlib.nativeButtons)!="undefined"&&stlib.nativeButtons.checkNativeButtonSupport(stlib.data.get("destination","shareInfo")))||(stlib.data.get("pinterest_native","shareInfo")!=false&&stlib.data.get("pinterest_native","shareInfo")!=null)){var b=new Image(1,1);b.src=stlib.sharer.sharerUrl+c;b.onload=function(){return}}else{if(typeof(a)!="undefined"&&a==true){window.open(stlib.sharer.sharerUrl+c,(new Date()).valueOf(),"scrollbars=1, status=1, height=480, width=640, resizable=1")}else{window.open(stlib.sharer.sharerUrl+c)}}d?d():null}};if(typeof(_gaq)!=="undefined"&&typeof(__stPubGA)!=="undefined"){if(typeof(_gat)!=="undefined"){var __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(!SHARETHIS){if(!SHARETHIS_TOOLBAR){var SHARETHIS_TOOLBAR=false}var SHARETHIS=null;function parseQueryString(b){var d={};if(b==undefined){b=location.search?location.search:""}if(b.charAt(0)=="?"){b=b.substring(1)}var f=b.indexOf("?");if(f){b=b.substring(f+1)}f=b.indexOf("#");if(f){b=b.substring(f+1)}b=b.replace("+"," ");var g=b.split(/[&;]/g);for(var f=0;f0){bottomA=false;topA=true;if((buttonPos.height-widgetH)>0){newH=buttonPos.height-widgetH}SHARETHIS.wrapper.style.top=newH+"px"}if(diffW>0){leftA=false;rightA=true;if((buttonPos.width-widgetW)>0){newW=buttonPos.width-widgetW}SHARETHIS.wrapper.style.left=newW+"px"}}SHARETHIS.wrapper.style.visibility="visible";SHARETHIS.mainstframe.style.visibility="visible"},this.hideWidget=function(){if(SHARETHIS.wrapper.style.visibility!=="hidden"){SHARETHIS.wrapper.style.visibility="hidden"}if(SHARETHIS.mainstframe.style.visibility!=="hidden"){SHARETHIS.mainstframe.style.visibility="hidden"}},this.pageSize=function(){var pScroll=[0,0,0,0];var scX=0;var scY=0;var winX=0;var winY=0;if(typeof(window.pageYOffset)=="number"){scX=window.pageXOffset;scY=window.pageYOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scX=document.body.scrollLeft;scY=document.body.scrollTop}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scX=document.documentElement.scrollLeft;scY=document.documentElement.scrollTop}}}if(window.innerWidth){winX=window.innerWidth;winY=window.innerHeight}else{if(document.documentElement.offsetWidth){winX=document.documentElement.offsetWidth;winY=document.documentElement.offsetHeight}}pScroll={scrX:scX,scrY:scY,width:winX,height:winY};return pScroll};this.addEntry=function(properties,options){if(_thisScript===null){var tmpScr=getShareThisScript();SHARETHIS.options=parseQueryString(tmpScr.src);this.frameUrl=(("https:"==document.location.protocol)?"https://ws.sharethis.com/secure/index.html":"http://edge.sharethis.com/share4x/index.8981626edb3e6ebb561322f974a165c5.html");this.postUrl=(("https:"==document.location.protocol)?"https://ws./":"http://wd./")+"sharethis.com/api/setCache_ws.php";if(SHARETHIS.options.button){SHARETHIS.options.button=SHARETHIS.getBool(SHARETHIS.options.button.toString())}if(SHARETHIS.options.popup){SHARETHIS.options.popup=SHARETHIS.getBool(SHARETHIS.options.popup.toString())}if(SHARETHIS.options.embeds){SHARETHIS.options.embeds=SHARETHIS.getBool(SHARETHIS.options.embeds.toString())}var init="init";SHARETHIS.newwinfrag="#popup";for(var o in SHARETHIS.options){if(SHARETHIS_tstOptions(o)==true){init=init+"/"+o+"="+encodeURIComponent(options[o]);this.newwinfrag=this.newwinfrag+"/"+o+"-=-"+encodeURIComponent(options[o])}}SHARETHIS.initstr=init;SHARETHIS.messageQueueInstance.send(SHARETHIS.initstr,"init")}var o=new SHARETHIS_Shareable(properties,SHARETHIS_merge2(SHARETHIS.options,options));if(typeof(o.properties.url)==="object"){try{o.properties.url=o.properties.url.href}catch(err){}}for(var prop in o.properties){try{o.properties[prop]=o.properties[prop].toString()}catch(err){}}var xInt="";var xInt2="";var sendDataInt="";var sendPopupDataInt="";if(this.meta.publisher=="5afea983-e449-4a75-a464-3c9a7f6c6e37"||this.meta.publisher=="e1e0ea5a-a326-4731-b1d1-f21623043511"||this.meta.publisher=="ccd2a158-6cce-4bbc-afa8-1d2dc62fe84c"||this.meta.publisher=="1e542d6f-546f-4d85-a790-bbaf333155b7"||this.meta.publisher=="89879177-51bf-4cf0-91c9-6326d062d5e6"||this.meta.publisher=="44b6b8a4-c8df-4bd0-8d8d-e6ad27ec63f4"||stlib.browser.mobile.isMobile()){o.options.onmouseover=false}if(SHARETHIS.options.onmouseover){if(SHARETHIS.options.onmouseover=="true"){o.options.onmouseover=true}else{if(SHARETHIS.options.onmouseover=="false"){o.options.onmouseover=false}}}if(o.options.popup){o.options.onmouseover=false;SHARETHIS.popupExists=true}else{if(SHARETHIS_TOOLBAR!==true){SHARETHIS.widgetExists=true}}o.idx=this.shareables.push(o)-1;var id="sharethis_"+o.idx;var oidx=o.idx;if(o.properties.url!==this.lastUrl){this.lastUrl=o.properties.url}else{SHARETHIS.logFlag=false}o.chicklet=function(e){if(!e){var e=window.event}if(e.target){o.trigger=e.target}else{if(e.srcElement){o.trigger=e.srcElement}}var dest=o.trigger.getAttribute("st_dest");stlib.data.resetShareData();stlib.data.set("url",o.properties.url,"shareInfo");stlib.data.set("title",o.properties.title,"shareInfo");stlib.data.set("destination",dest,"shareInfo");stlib.data.setSource("chicklet");stlib.data.set("buttonType","custom","shareInfo");if(typeof(o.properties.icon)!="undefined"&&o.properties.icon!=null){stlib.data.set("image",o.properties.icon,"shareInfo")}if(typeof(o.properties.summary)!="undefined"&&o.properties.summary!=null){stlib.data.set("description",o.properties.summary,"shareInfo")}stlib.sharer.share()};o.popup=function(e){if(stlib.browser.ieFallback){if(typeof(SHARETHIS.initIE)=="undefined"||SHARETHIS.initIE!=true){return}}stCancelClose();if(!o.options.service){var service="";if(e&&e.currentTarget){service=e.currentTarget.getAttribute("st_page")}else{service=o.button.getAttribute("st_page")}if(service=="home"){o.options.service="sharethis"}else{if(service=="send"){o.options.service="email"}}}if(stlib.browser.mobile.handleForMobileFriendly(o,o.options)){SHARETHIS.log("widget",o,"mobile");return}o.options.autoclose=true;SHARETHIS.postEntries(o);if(SHARETHIS_TOOLBAR===true){if(st_showing===false){SHARETHIS.log("widget",o,"toolbar")}st_showing=true;clearInterval(stVisibleInterval);SHARETHIS.hideEmbeds();var added="#popup/title="+encodeURIComponent(encodeURIComponent(o.properties.title))+"/url="+encodeURIComponent(encodeURIComponent(o.properties.url))+"/publisher="+o.options.publisher+"/toolbar=true";var pgval="";if(SHARETHIS.page!=null){pgval="/page="+SHARETHIS.page}SHARETHIS.messageQueueInstance.send(added+pgval,"popup");SHARETHIS.wrapper.style.visibility="visible";SHARETHIS.mainstframe.style.visibility="visible"}else{if((SHARETHIS.ready===true&&SHARETHIS.frameReady===true)||(SHARETHIS.popupExists===true&&SHARETHIS.ready==true&&SHARETHIS.widgetExists===false)||(SHARETHIS.popupExists===true&&SHARETHIS.ready==true&&SHARETHIS.frameReady===true)){clearInterval(stVisibleInterval);if((typeof(e)!="undefined"&&typeof(e)!="unknown"&&e)||(typeof(event)!="undefined"&&typeof(event)!="unknown"&&event)){if(typeof(e)!="undefined"&&typeof(e)!="unknown"&&e){o.trigger=e.target}else{if(typeof(event)!="undefined"&&typeof(event)!="unknown"&&event){o.trigger=event.srcElement}}if(o.trigger!==null&&o.trigger){id=o.trigger.id;SHARETHIS.current_element=o.trigger;o.page=o.trigger.getAttribute("st_page");if(st_showing===false){if(o.page=="home"){SHARETHIS.log("widget",o,"button")}else{SHARETHIS.log("widget",o,"chicklet")}}}else{o.page="home";if(st_showing===false){SHARETHIS.log("widget",o,"button")}}}else{if(o.element!=null){id=o.element.id;SHARETHIS.current_element=o.element}o.page="home";if(st_showing===false){SHARETHIS.log("widget",o,"button")}}var pageFrag=o.page?"/page="+o.page:"/page=home";SHARETHIS.curr_offsetTop=Number(o.options.offsetTop);SHARETHIS.curr_offsetLeft=Number(o.options.offsetLeft);if(SHARETHIS.curr_offsetTop>0||SHARETHIS.curr_offsetTop>0){SHARETHIS.autoPosition=false}SHARETHIS.curr_id=id;if(o.options.onclick){var res=o.options.onclick.apply(document,[o]);if(res==false){return false}}var added="#popup/title-=-"+encodeURIComponent(encodeURIComponent(o.properties.title))+"/url-=-"+encodeURIComponent(encodeURIComponent(o.properties.url))+"/publisher-=-"+o.options.publisher+"/toolbar-=-true";if(stlib.data){var toStoreA=stlib.json.encode(stlib.data.pageInfo);var toStoreB=stlib.json.encode(stlib.data.shareInfo);if(stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()){toStoreA=encodeURIComponent(encodeURIComponent(toStoreA));toStoreB=encodeURIComponent(encodeURIComponent(toStoreB))}else{toStoreA=encodeURIComponent(toStoreA);toStoreB=encodeURIComponent(toStoreB)}added+="/pageInfo-=-"+toStoreA;added+="/shareInfo-=-"+toStoreB}_$d_();_$d1("Is popup:"+o.options.popup);if(o.options.popup){_$d2(SHARETHIS.frameUrl);_$d2(added);var newwinurl=SHARETHIS.frameUrl+added;window.open(newwinurl,"newstframe","status=1,toolbar=0,width=350,height=450")}else{if(st_showing==false){if(o.options.embeds==false){SHARETHIS.hideEmbeds()}stautoclose=o.options.autoclose;if(o.options.onmouseover==false){stautoclose=false}if(SHARETHIS.sendNum')}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(ovr);x.appendChild(img)}}break;case"horizontal":case"vertical":var ovr=document.createElement("div");ovr.className="stoverlay";o.button=ovr;var img=document.createElement("img");img.setAttribute("src",(("https:"==document.location.protocol)?"https://ws./":"http://w./")+"sharethis.com/images/hbutton.gif");if(o.options.onmouseover==false||o.options.onmouseover=="false"){ovr.onclick=o.popup}if(o.options.onmouseover==true||o.options.onmouseover=="true"){ovr.onclick=function(){stCancelClose()};ovr.onmouseover=function(){stCancelClose();SHARETHIS.mousetimer=setTimeout(o.popup,150)};ovr.onmouseout=function(){clearInterval(SHARETHIS.mousetimer)}}try{if(o.options.button==true&&SHARETHIS.bodyLoaded==false){document.write('
')}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(ovr);x.appendChild(img)}}break;default:var a=document.createElement("a");a.className="stbutton stico_"+(o.options.style?o.options.style:(SHARETHIS.options.style?SHARETHIS.options.style:"default"));a.title="ShareThis via email, AIM, social bookmarking and networking sites, etc.";a.href="javascript:void(0)";a.setAttribute("st_page","home");if(o.options.onmouseover==false||o.options.onmouseover=="false"){a.onclick=o.popup}if(o.options.onmouseover==true||o.options.onmouseover=="true"){a.onclick=function(){stCancelClose()};a.onmouseover=function(){stCancelClose();SHARETHIS.mousetimer=setTimeout(o.popup,150)};a.onmouseout=function(){clearInterval(SHARETHIS.mousetimer)}}var t=document.createElement("span");t.className="stbuttontext";t.setAttribute("st_page","home");t.appendChild(document.createTextNode(o.options.buttonText));a.appendChild(t);o.button=a;try{if(o.options.button==true&&SHARETHIS.bodyLoaded==false){if(document.readyState!="complete"&&document.readyState!="loaded"&&document.readyState!="interactive"){document.write('')}else{if(document.readyState!="complete"&&(/MSIE/gi.test(navigator.userAgent))){document.write('')}}}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(a)}}}if(SHARETHIS.logFlag){SHARETHIS.buttonCount++}return o},this.postEntries=function(o){SHARETHIS.sendNum=0;var urls="";var propertylist=[];var tmp_prop={};urls=urls+o.properties.url;for(p in o.properties){if(SHARETHIS_tstOptions(p)==true){tmp_prop[p]=null;tmp_prop[p]=o.properties[p]}}var metaProps={};var meta=document.getElementsByTagName("meta");for(var i=0;i')}catch(err){this.segmentframe=document.createElement("iframe")}this.segmentframe.id="stSegmentFrame";this.segmentframe.name="stSegmentFrame";var wrapper=document.body;var frameUrl=(("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();this.segmentframe.src=frameUrl;this.segmentframe.frameBorder="0";this.segmentframe.scrolling="no";this.segmentframe.width="0px";this.segmentframe.height="0px";this.segmentframe.setAttribute("style","display:none;");wrapper.appendChild(this.segmentframe)},this.getBool=function(variable){var vtype;var toReturn;if(variable!=null){switch(typeof(variable)){case"boolean":vtype="boolean";return variable;break;case"number":vtype="number";if(variable==0){toReturn=false}else{toReturn=true}break;case"string":vtype="string";if(variable=="true"||variable=="1"){toReturn=true}else{if(variable=="false"||variable=="0"){toReturn=false}else{if(variable.length>0){toReturn=true}else{if(variable.length==0){toReturn=false}}}}break}return toReturn}},this.onStFrameLoad=function(){if(SHARETHIS.frameLoaded===false){SHARETHIS.widgetCalled=true;SHARETHIS.frameLoaded=true;if(SHARETHIS.st_clicked==true){setTimeout("SHARETHIS.st_clicked_o.popup()",1000)}}};this.readyTest=function(){if(SHARETHIS.frameReady===true&&SHARETHIS.ready===true){clearInterval(SHARETHIS.readyTestInterval);SHARETHIS.onStFrameLoad()}};this.sendEvent=function(name,value){var tmpSend="widget/"+name+"="+value;this.messageQueueInstance.send(tmpSend,"widget")};this.initData=function(){stlib.data.init();this.dataInit=true;stlib.data.resetShareData();stlib.data.set("url",document.location.href,"shareInfo");stlib.data.set("title",document.title,"shareInfo");stlib.data.set("source","sharethis.js.4x","shareInfo");stlib.logger.productArray.push("Widget4x");stlib.logger.version="sharethis.js";stlib.logger.log("pview");this.messageQueueInstance=new stlib.messageQueue();var thisMessageQueue=this.messageQueueInstance;this.pumpInstance=new stlib.pump(this.mainstframe,this.mainstframe,function(){thisMessageQueue.process()});this.messageQueueInstance.setPumpInstance(this.pumpInstance);try{this.pumpInstance.broadcastSendMessage("Buttons Ready")}catch(err){}var stringNeeded="data";for(var o in stlib.data){if(stlib.data.hasOwnProperty(o)==true&&stlib.data[o]!==null&&typeof(stlib.data[o])!="function"){if(typeof(stlib.data[o])=="object"){var toStore=stlib.json.encode(stlib.data[o])}else{if(typeof stlib.data[o]=="boolean"){var toStore=stlib.data[o]?"true":"false"}else{var toStore=stlib.data[o]}}if(stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()){stringNeeded+="/"+o+"="+encodeURIComponent(encodeURIComponent(toStore))}else{stringNeeded+="/"+o+"="+encodeURIComponent(toStore)}}}this.fragString=stringNeeded;if(stlib.browser.ieFallback){setTimeout(function(){SHARETHIS.messageQueueInstance.send(SHARETHIS.fragString,"data")},1000)}else{this.messageQueueInstance.send(stringNeeded,"data")}if(stlib.browser.ieFallback){setTimeout(function(){SHARETHIS.messageQueueInstance.send(SHARETHIS.sendInit[0],"init")},2000);setTimeout(function(){SHARETHIS.initIE=true},2500)}else{this.messageQueueInstance.send(this.sendInit[0],"init")}};this.initialize=function(options){if(typeof(options.publisher)=="undefined"&&typeof(stLight)!=="undefined"){options.publisher=(typeof(stLight)!=="undefined")?stLight.publisher:null}for(o in options){options[o]=options[o].toString()}for(o in options){if(o=="type"&&options[o]=="website"){options[o]="custom"}}if(_thisScript==null){var _slist=document.getElementsByTagName("script");var _thisScript3=_slist[_slist.length-1];var ST_script_src=_thisScript3.src}else{var ST_script_src=_thisScript.src}this.frameUrl=(("https:"==document.location.protocol)?"https://ws.sharethis.com/secure/index.html":"http://edge.sharethis.com/share4x/index.8981626edb3e6ebb561322f974a165c5.html");this.postUrl=(("https:"==document.location.protocol)?"https://ws./":"http://wd./")+"sharethis.com/api/setCache_ws.php";this.options=options||{};if(this.options.button){this.options.button=this.getBool(this.options.button.toString())}if(this.options.popup){this.options.popup=this.getBool(this.options.popup.toString())}if(this.options.embeds){this.options.embeds=this.getBool(this.options.embeds.toString())}if(this.options.doNotHash){this.options.doNotHash=this.getBool(this.options.doNotHash.toString());stlib.hash.doNotHash=this.options.doNotHash}if(this.options.doNotCopy){this.options.doNotCopy=this.getBool(this.options.doNotCopy.toString());stlib.hash.doNotCopy=this.options.doNotCopy}if(this.options.hashAddressBar){this.options.hashAddressBar=this.getBool(this.options.hashAddressBar.toString());stlib.hash.hashAddressBar=this.options.hashAddressBar}if(this.options.publisher){this.meta.publisher=this.options.publisher;stlib.data.setPublisher(this.options.publisher)}var tmp_css=(("https:"==document.location.protocol)?"https://ws.sharethis.com/button/css/sharethis-secure.css":"http://w.sharethis.com/button/css/sharethis.f8aeb821aa52b7af5ae4d3675118594c.css");try{if(this.options.css){tmp_css=this.options.css.toString()}}catch(err){}var css=tmp_css;this.load("link",{href:(this.options.css?this.options.css:css),rel:"stylesheet",type:"text/css"});try{this.mainstframe=document.createElement('');this.mainstframe.onreadystatechange=function(){if(SHARETHIS.mainstframe.readyState==="complete"){SHARETHIS.frameReady=true;that.initData()}}}catch(err){this.mainstframe=document.createElement("iframe");this.mainstframe.allowTransparency="true";this.mainstframe.setAttribute("allowTransparency","true");this.mainstframe.onload=function(){SHARETHIS.frameReady=true;that.initData()}}this.mainstframe.id="stframe";this.mainstframe.className="stframe";this.mainstframe.name="stframe";this.mainstframe.frameBorder="0";this.mainstframe.scrolling="no";this.mainstframe.width="350px";this.mainstframe.height="450px";this.mainstframe.style.top="0px";this.mainstframe.style.left="0px";try{this.fp=document.createElement('')}catch(err){this.fp=document.createElement("iframe");this.fp.style.visibility="hidden"}this.fp.name="stpostframe";this.fp.width="0px";this.fp.height="0px";this.fp.src="";var init="init";this.newwinfrag="#popup";for(var o in options){if(SHARETHIS_tstOptions(o)==true){init=init+"/"+o+"="+encodeURIComponent(options[o]);this.newwinfrag=this.newwinfrag+"/"+o+"-=-"+encodeURIComponent(options[o])}}if(typeof(stLight)!=="undefined"){init=init+"/stLight=true";this.newwinfrag=this.newwinfrag+"/stLight-=-true"}this.initstr=init;this.sendInit.push(this.initstr);this.mainstframe.src=this.frameUrl;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";this.closewrapper.onclick=stcloseWidget;this.wrapper.appendChild(this.closewrapper);this.wrapper.appendChild(this.mainstframe);this.defer(function(){SHARETHIS.bodyLoaded=true;SHARETHIS.trackTwitter();SHARETHIS.trackFB();SHARETHIS.createSegmentFrame();SHARETHIS.subscribe("click",SHARETHIS.gaTS);if(SHARETHIS_TOOLBAR===true){document.body.appendChild(SHARETHIS.fp);SHARETHIS_TOOLBAR_DIV.appendChild(SHARETHIS.wrapper)}if(SHARETHIS.popupExists===true&&SHARETHIS.popupCalled===false){document.body.appendChild(SHARETHIS.fp);SHARETHIS.popupCalled=true}if(SHARETHIS.widgetCalled===false&&SHARETHIS.widgetExists===true){document.body.appendChild(SHARETHIS.wrapper);setTimeout(function(){try{}catch(err){}},100);SHARETHIS.readyTestInterval=setInterval(SHARETHIS.readyTest,250)}try{var stfrm=document.getElementById("stframe");stfrm.onmouseover=function(){stCancelClose();SHARETHIS.inTime=(new Date()).getTime()};stfrm.onmouseout=function(){SHARETHIS.outTime=(new Date()).getTime();SHARETHIS.openDuration=(SHARETHIS.outTime-SHARETHIS.inTime)/1000;stClose()};try{if(document.body.attachEvent){document.body.attachEvent("onclick",function(){if(SHARETHIS.buttonClicked==false){SHARETHIS.stopClosing=false;SHARETHIS.openDuration=0;stClose(100)}})}else{document.body.setAttribute("onclick","if(SHARETHIS.buttonClicked==false){SHARETHIS.stopClosing=false;SHARETHIS.openDuration=0;stClose(100);}")}}catch(err){document.body.onclick=function(){if(SHARETHIS.buttonClicked==false){SHARETHIS.stopClosing=false;SHARETHIS.openDuration=0;stClose(100)}}}}catch(err){}});if(typeof(window.addEventListener)!="undefined"){window.addEventListener("load",this.onReady,false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("load",this.onReady,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",this.onReady)}}}if(typeof(__st_loadLate)=="undefined"){if(typeof(window.addEventListener)!="undefined"){window.addEventListener("DOMContentLoaded",this.onReady,false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("DOMContentLoaded",this.onReady,false)}}}setTimeout(function(){for(var s in SHARETHIS.shareables){if(SHARETHIS.shareables[s].options!=undefined){switch(SHARETHIS.shareables[s].options.style){case"vertical":var ifr;try{ifr=document.createElement('')}catch(err){ifr=document.createElement("iframe");ifr.allowTransparency="true";ifr.setAttribute("allowTransparency","true")}ifr.className="stcounter";ifr.frameBorder="0";ifr.scrolling="no";ifr.width="57px";ifr.height="39px";ifr.src=(("https:"==document.location.protocol)?"https://ws./":"http://wd./")+"sharethis.com/button/vcounter.php?url="+encodeURIComponent(SHARETHIS.shareables[s].properties.url);SHARETHIS.shareables[s].button.parentNode.appendChild(ifr);break;case"horizontal":var ifr;try{ifr=document.createElement('')}catch(err){ifr=document.createElement("iframe");ifr.allowTransparency="true";ifr.setAttribute("allowTransparency","true")}ifr.className="stcounter";ifr.frameBorder="0";ifr.scrolling="no";ifr.width="37px";ifr.height="18px";ifr.src=(("https:"==document.location.protocol)?"https://ws./":"http://wd./")+"sharethis.com/button/hcounter.php?url="+encodeURIComponent(SHARETHIS.shareables[s].properties.url);SHARETHIS.shareables[s].button.parentNode.appendChild(ifr);break}}}},1000)};this.initialize(options)}var closetimeout;function stClose(a){if(!a){a=1000}if(stautoclose==true&&SHARETHIS_TOOLBAR==false){if(SHARETHIS.openDuration<0.5&&SHARETHIS.stopClosing==false){closetimeout=setTimeout("stcloseWidget()",a)}else{SHARETHIS.stopClosing=true}}}function stCancelClose(){clearTimeout(closetimeout);SHARETHIS.buttonClicked=true;setTimeout(function(){SHARETHIS.buttonClicked=false},100)}function stcloseWidget(){if(typeof(SHARETHIS.grayOut)!=="undefined"){SHARETHIS.grayOut(false)}if(st_showing==false){return false}st_showing=false;SHARETHIS.wrapper.style.visibility="hidden";SHARETHIS.mainstframe.style.visibility="hidden";SHARETHIS.wrapper.style.top="-999px";SHARETHIS.wrapper.style.left="-999px";SHARETHIS.showEmbeds();SHARETHIS.sendEvent("screen","home");SHARETHIS.sendArray=[]}function SHARETHIS_tstOptions(a){var d=["type","title","summary","content","url","icon","category","updated","published","author","button","onmouseover","buttonText","popup","offsetLeft","offsetTop","embeds","autoclose","publisher","tabs","services","charset","headerbg","inactivebg","inactivefg","linkfg","style","send_services","exclusive_services","post_services","headerfg","headerType","headerTitle","sessionID","tracking","fpc","ads","pUrl","publisher","doneScreen","jsref","publisherGA","lang","doNotHash"];var c=false;for(var b=0;b1){a="."+b[b.length-2]+"."+b[b.length-1]}return a}function _stdHash(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)}var _thisScript=null;function getShareThisScript(){var d=document.getElementsByTagName("script");var c=null;for(var b=0;b=0){c=d[b]}else{if(a.search(/.*sharethis.*\/widget\/\?/)>=0||a.search(/.*sharethis.*\/widget\/index/)>=0||a.search(/.*sharethis.*\/widget\/\?&/)>=0){c=d[b]}}}return c}function dbrInfo(){var i=document.referrer;if(i&&i.length>0){var g=/\/\/.*?\//;var 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;var e=/(^.*\?)(.*)/ig;var a="";var c=i.replace(f,"$2");var 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}}_thisScript=getShareThisScript();if(_thisScript){SHARETHIS=new ShareThis(parseQueryString(_thisScript.src))}else{SHARETHIS=new ShareThis()}}var _slist=document.getElementsByTagName("script");var _thisScript2=_slist[_slist.length-1];if(_thisScript2&&_thisScript2.parentNode.tagName!="HEAD"&&typeof(_sttoolbar)=="undefined"){var obj=SHARETHIS.addEntry()}SHARETHIS.trackFB=function(){try{if(FB&&FB.Event&&FB.Event.subscribe){FB.Event.subscribe("edge.create",function(b){SHARETHIS.trackShare("fblike_auto",b);SHARETHIS.callSubscribers("click","fblike",b)});FB.Event.subscribe("edge.remove",function(b){SHARETHIS.trackShare("fbunlike_auto",b);SHARETHIS.callSubscribers("click","fbunlike",b)});FB.Event.subscribe("message.send",function(b){SHARETHIS.trackShare("fbsend_auto",b);SHARETHIS.callSubscribers("click","fbsend",b)})}}catch(a){}};SHARETHIS.trackTwitter=function(){try{if(twttr&&twttr.events&&twttr.events.bind){twttr.events.bind("click",function(){SHARETHIS.trackTwitterEvent("click");SHARETHIS.callSubscribers("click","twitter")});twttr.events.bind("tweet",function(){SHARETHIS.trackTwitterEvent("tweet")});twttr.events.bind("retweet",function(){SHARETHIS.trackTwitterEvent("retweet");SHARETHIS.callSubscribers("click","retweet")});twttr.events.bind("favorite",function(){SHARETHIS.trackTwitterEvent("favorite");SHARETHIS.callSubscribers("click","favorite")});twttr.events.bind("follow",function(){SHARETHIS.trackTwitterEvent("follow");SHARETHIS.callSubscribers("click","follow")})}}catch(a){}};SHARETHIS.trackTwitterEvent=function(a){SHARETHIS.trackShare("twitter_"+a+"_auto")};SHARETHIS.trackShare=function(a,c){if(typeof(c)!=="undefined"||c!==null){var b=c}else{var b=document.location.href}stlib.data.set("url",b,"shareInfo");stlib.data.set("destination",a,"shareInfo");stlib.data.set("buttonType","button","shareInfo");stlib.data.setSource("sharethis4x");stlib.sharer.share()};SHARETHIS.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];SHARETHIS.callSubscribers(c[1],c[2],a)}}};SHARETHIS.subscribe=function(b,a){if(b=="click"){SHARETHIS.clickSubscribers.push(a)}};SHARETHIS.callSubscribers=function(d,a,b){if(d=="click"){for(var c=0;c