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.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 e=b.getHours();var a=b.getMinutes();var d=b.getSeconds();return e+":"+a+":"+d+" > "};stlib.buttonInfo={buttonList:[],addButton:function(a){stlib.buttonInfo.buttonList.push(a)},getButton:function(a){if(!isNaN(a)){if(a>=stlib.buttonInfo.buttonList.length){return false}else{return stlib.buttonInfo.buttonList[a]}}else{for(c=0;c<stlib.buttonInfo.buttonList.length;c++){if(stlib.buttonInfo.buttonList[c].service==a){debug(stlib.buttonInfo.buttonList[c])}}}},clickButton:function(a){if(!isNaN(a)){if(a>=stlib.buttonInfo.buttonList.length){return false}else{if(stlib.buttonInfo.getButton(a).service=="sharethis"||stlib.buttonInfo.getButton(a).service=="email"||stlib.buttonInfo.getButton(a).service=="wordpress"){stlib.buttonInfo.getButton(a).popup()}else{stlib.buttonInfo.getButton(a).element.childNodes[0].onclick()}}}else{for(c=0;c<stlib.buttonInfo.buttonList.length;c++){if(stlib.buttonInfo.buttonList[c].service==a){if(stlib.buttonInfo.getButton(c).service=="sharethis"||stlib.buttonInfo.getButton(c).service=="email"||stlib.buttonInfo.getButton(c).service=="wordpress"){stlib.buttonInfo.getButton(c).popup();return true}else{stlib.buttonInfo.getButton(c).element.childNodes[0].onclick()}}}}},resetButton:function(){stlib.buttonInfo.buttonList=[]},listButton:function(){for(c=0;c<stlib.buttonInfo.buttonList.length;c++){debug(stlib.buttonInfo.buttonList[c])}}};stlib.buttonInfo.resetButton();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(f,d){if((typeof(f)=="string")&&(typeof(d)=="string")){_$d_();_$d1("Queueing message: "+d+": "+f)}(typeof(f)=="string")&&(typeof(d)=="string")?this.queue.push([d,f]):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 e="process"+stlib.functionCount;stlib.functionCount++;stlib.functions[e]=a.process;setTimeout("stlib.functions['"+e+"']()",500)}};this.process=function(){_$d1("Processing MessageQueue");a.sending=false;_$d(this.queue);a.send()}};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();if(!stlib.hash.doNotHash){stlib.hash.checkURL()}var a=stlib.data.pageInfo;var b="?";for(param in a){b+=param+"="+encodeURIComponent(a[param])+"&";_$d1("constructParamStringPageInfo: "+param+": "+a[param])}a=stlib.data.shareInfo;for(param in a){b+=param+"="+encodeURIComponent(a[param])+"&";_$d1("constructParamStringShareInfo: "+param+": "+a[param])}return b.substring(0,b.length-1)},share:function(d){var b=stlib.sharer.constructParamString();_$d_();_$d1("Initiating a Share with the following url:");_$d2(stlib.sharer.sharerUrl+b);if(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")))){var a=new Image(1,1);a.src=stlib.sharer.sharerUrl+b;a.onload=function(){return}}else{window.open(stlib.sharer.sharerUrl+b)}d?d():null}};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/8.0")!=-1)?true:false;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.cookie={setCookie:function(e,o,q){var d=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1);var b=(navigator.userAgent.indexOf("MSIE")!=-1);if(d||b){var s=(q)?q*24*60*60:0;var l=document.createElement("div");l.setAttribute("id",e);l.setAttribute("type","hidden");document.body.appendChild(l);var a=document.getElementById(e),f=document.createElement("form");try{var n=document.createElement('<iframe name="'+e+'" ></iframe>')}catch(m){n=document.createElement("iframe")}n.name=e;n.src="javascript:false";n.style.display="none";a.appendChild(n);f.action=(("https:"==document.location.protocol)?"https://sharethis.com/":"http://sharethis.com/")+"account/setCookie.php";f.method="POST";var k=document.createElement("input");k.setAttribute("type","hidden");k.setAttribute("name","name");k.setAttribute("value",e);f.appendChild(k);var r=document.createElement("input");r.setAttribute("type","hidden");r.setAttribute("name","value");r.setAttribute("value",o);f.appendChild(r);var p=document.createElement("input");p.setAttribute("type","hidden");p.setAttribute("name","time");p.setAttribute("value",s);f.appendChild(p);f.target=e;a.appendChild(f);f.submit()}else{if(q){var j=new Date();j.setTime(j.getTime()+(q*24*60*60*1000));var g="; expires="+j.toGMTString()}else{var g=""}var h=e+"="+escape(o)+g;h+="; domain="+escape(".sharethis.com")+";path=/";document.cookie=h}},getCookie:function(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else{return false}},deleteCookie:function(e){var d=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1);var b=(navigator.userAgent.indexOf("MSIE")!=-1);if(d||b){var h=document.createElement("div");h.setAttribute("id",e);h.setAttribute("type","hidden");document.body.appendChild(h);var a=document.getElementById(e),f=document.createElement("form");try{var l=document.createElement('<iframe name="'+e+'" ></iframe>')}catch(j){l=document.createElement("iframe")}l.name=e;l.src="javascript:false";l.style.display="none";a.appendChild(l);f.action=(("https:"==document.location.protocol)?"https://sharethis.com/":"http://sharethis.com/")+"account/deleteCookie.php";f.method="POST";var g=document.createElement("input");g.setAttribute("type","hidden");g.setAttribute("name","name");g.setAttribute("value",e);f.appendChild(g);f.target=e;a.appendChild(f);f.submit()}else{var m="/";var k=".sharethis.com";document.cookie=e.replace(/^\s+|\s+$/g,"")+"="+((m)?";path="+m:"")+((k)?";domain="+k:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}},setFpcCookie:function(a,h){var d=new Date;var k=d.getFullYear();var g=d.getMonth()+9;var j=d.getDate();var e=a+"="+escape(h);if(k){var b=new Date(k,g,j);e+="; expires="+b.toGMTString()}var f=stlib.cookie.getDomain();e+="; domain="+escape(f)+";path=/";document.cookie=e},getFpcCookie:function(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else{return false}},getDomain:function(){var b=document.domain.split(/\./);var a="";if(b.length>1){a="."+b[b.length-2]+"."+b[b.length-1]}return a}};stlib.fpc={cookieName:"__unam",cookieValue:"",createFpc:function(){if(!document.domain||document.domain.search(/\.gov/)>0){return false}var j=stlib.cookie.getFpcCookie(stlib.fpc.cookieName);if(j==false){var d=Math.round(Math.random()*2147483647);d=d.toString(16);var g=(new Date()).getTime();g=g.toString(16);var f=window.location.hostname.split(/\./)[1];if(!f){return false}var h="";h=stlib.fpc.determineHash(f)+"-"+g+"-"+d+"-1";j=h}else{var b=j;var a=b.split(/\-/);if(a.length==4){var e=Number(a[3]);e++;j=a[0]+"-"+a[1]+"-"+a[2]+"-"+e}}stlib.cookie.setFpcCookie(stlib.fpc.cookieName,j);stlib.fpc.cookieValue=j;return j},determineHash:function(b){var f=0;var e=0;for(var d=b.length-1;d>=0;d--){var a=parseInt(b.charCodeAt(d));f=((f<<8)&268435455)+a+(a<<12);if((e=f&161119850)!=0){f=(f^(e>>20))}}return f.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}};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.sourceURL="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 d=stlib.data.pageInfo;for(param in d){b(param,d[param])}d=stlib.data.shareInfo;for(param in d){b(param,d[param])}},init:function(){if(!stlib.data.bInit){stlib.data.bInit=true;stlib.data.resetData();stlib.data.set("url",document.location.href,"shareInfo");if(!stlib.hash.doNotHash){stlib.hash.init();stlib.data.set("shareHash",stlib.hash.shareHash,"pageInfo");stlib.data.set("incomingHash",stlib.hash.incomingHash,"pageInfo")}else{stlib.data.set("shareHash","optout","pageInfo");stlib.data.set("incomingHash","optout","pageInfo")}var f=stlib.hash.updateParams();stlib.data.set("url",f+"#"+stlib.data.get("shareHash","pageInfo"),"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("sourceURL",document.location.href,"pageInfo");stlib.data.set("hostname",document.location.hostname,"pageInfo");stlib.data.set("location",document.location.pathname,"pageInfo");var e=document.referrer;var h=e.replace("http://","").replace("https://","").split("/");var d=h.shift();var a=h.join("/");stlib.data.set("refDomain",d,"pageInfo");stlib.data.set("refQuery",a,"pageInfo")}},setPublisher:function(a){stlib.data.set("publisher",a,"pageInfo");stlib.data.publisherKeySet=true},setSource:function(d,a){var b="";if(a){if(a.toolbar){b="toolbar"+d}else{if(a.page&&a.page!="home"&&a.page!=""){b="chicklet"+d}else{b="button"+d}}}else{b=d}stlib.data.set("source",b,"shareInfo")},set:function(a,d,b){_$d_();_$d1("Setting: "+a+": "+d);if(typeof(d)=="number"){stlib.data[b][a]=d}else{if(typeof(d)=="undefined"||d==null){_$d1("Value undefined or null")}else{_$d1("Stripping HTML: "+a+": "+d.replace(/<[^<>]*>/gi," "));_$d1("Unescaping: "+a+": "+unescape(d.replace(/<[^<>]*>/gi," ")));_$d1("Escape percent: "+a+": "+unescape(d.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25"));_$d1("Decoding: "+a+": "+decodeURIComponent(unescape(d.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")));_$d1("Encoding: "+a+": "+encodeURIComponent(decodeURIComponent(unescape(d.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25"))));stlib.data[b][a]=encodeURIComponent(decodeURIComponent(unescape(d.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]&&stlib.data[b][a]){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){var d=b.substring(0,2)+b.substring(b.length-2,b.length);var a=function(e,f){if(e.charCodeAt(f)==122){return"a"}return String.fromCharCode(e.charCodeAt(f)+1)};return a(d,0)+a(d,1)+a(d,2)+a(d,3)},getHash:function(){var d=false;var b="";var e=document.location.href;e=e.split("#").shift();var a=e.split("?");if(a.length>1){a=a[1].split("&");for(arg in a){try{if(a[arg].substring(0,6)=="sthash"){d=true;b=a[arg]}}catch(f){}}if(d){return b}else{return document.location.hash.substring(1)}}else{return document.location.hash.substring(1)}},clearHash:function(){if(document.location.hash.indexOf("sthash")>-1){document.location.hash=""}},init:function(){var b="";var a=stlib.hash.validChars.length;for(i=0;i<8;i++){b+=stlib.hash.validChars[Math.random()*a|0]}if(stlib.hash.getHash()==""){stlib.hash.shareHash=stlib.hash.prefix+"."+b}else{var d=stlib.hash.getHash().split(".");var e=d.shift();if(e==stlib.hash.prefix||e==stlib.hash.prefix){stlib.hash.incomingHash=stlib.hash.getHash();stlib.hash.shareHash=stlib.hash.prefix+"."+d.shift()+"."+b}else{stlib.hash.shareHash=stlib.hash.prefix+"."+b}}if(stlib.hash.hashAddressBar){document.location.hash=stlib.hash.shareHash}else{stlib.hash.clearHash()}if(!stlib.hash.doNotCopy){stlib.hash.copyPasteInit()}},checkURL:function(){var a=stlib.data.get("destination","shareInfo");var e=stlib.hash.updateParams(a);var b="."+stlib.hash.hashDestination(a);stlib.hash.updateDestination(b);if(typeof(stlib.hash.servicePreferences[a])!="undefined"){if(stlib.hash.servicePreferences[a]=="param"){_$d1("Don't use hash, use params");_$d2(e);if(e.split("?").length>1){var d=e.split("?")[1].split("&");var f=false;for(arg in d){if(d[arg].split(".")[0]=="sthash"){f=true}}if(f){stlib.data.set("url",e,"shareInfo")}else{stlib.data.set("url",e+"&"+stlib.data.pageInfo.shareHash,"shareInfo")}}else{stlib.data.set("url",e+"?"+stlib.data.pageInfo.shareHash,"shareInfo")}}else{_$d1("Using Hash");stlib.data.set("url",e+"#"+stlib.data.pageInfo.shareHash,"shareInfo")}}else{_$d1("Not using custom destination hash type");stlib.data.set("url",e+"#"+stlib.data.pageInfo.shareHash,"shareInfo")}},updateParams:function(a){var g=stlib.data.get("url","shareInfo").split("#").shift();var f=/(\?)sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}/;var e=/(&)sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}/;var d=/(\?)sthash\.[a-zA-z0-9]{8}/;var b=/(&)sthash\.[a-zA-z0-9]{8}/;if(f.test(g)){g=g.replace(f,"?"+stlib.data.pageInfo.shareHash)}else{if(e.test(g)){g=g.replace(e,"&"+stlib.data.pageInfo.shareHash)}else{if(d.test(g)){g=g.replace(d,"?"+stlib.data.pageInfo.shareHash)}else{if(b.test(g)){g=g.replace(b,"&"+stlib.data.pageInfo.shareHash)}}}}return g},updateDestination:function(b){var a=/sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}\.[a-z]{4}/;var d=/sthash\.[a-zA-z0-9]{8}\.[a-z]{4}/;_$d_();_$d1("Updating Destination");if(a.test(stlib.data.pageInfo.shareHash)){_$d2(stlib.data.pageInfo.shareHash.substring(0,23));stlib.data.pageInfo.shareHash=stlib.data.pageInfo.shareHash.substring(0,23)+b}else{if(d.test(stlib.data.pageInfo.shareHash)){_$d2(stlib.data.pageInfo.shareHash.substring(0,15));stlib.data.pageInfo.shareHash=stlib.data.pageInfo.shareHash.substring(0,15)+b}else{stlib.data.pageInfo.shareHash+=b}}},copyPasteInit:function(){var a=document.getElementsByTagName("body")[0];var d=document.createElement("div");d.style.position="absolute";d.style.top="-1999px";d.style.left="-1988px";a.appendChild(d);d.innerHTML="ShareThis Copy and Paste";var b=document.location.href.split("#").shift();var e="#"+stlib.hash.shareHash;if(document.attachEvent){a.oncopy=function(){var g=document.selection.createRange();d.innerHTML=stlib.hash.selectionModify(g.text);var f=document.body.createTextRange();f.moveToElementText(d);f.select();setTimeout(function(){g.select()},1)}}else{if(document.addEventListener){a.oncopy=function(h){var g=document.getSelection();d.innerHTML=stlib.hash.selectionModify(g);var f=document.createRange();f.selectNodeContents(d);var j=g.getRangeAt(0);g.removeAllRanges();g.addRange(f);setTimeout(function(){g.removeAllRanges();g.addRange(j)},0)}}}},selectionModify:function(d){d=""+d;_$d_();_$d1("Copy Paste");var e=/^((http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))/i;var a=/^([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i;var b=document.location.href.split("#").shift();var f="#"+stlib.hash.shareHash;if(e.test(d)||a.test(d)){_$d2("is Url");return d.split("#")[0]+f}else{_$d2("is Not Url");return d+"<br /><br />See more at: "+b+f+".dpuf"}}};stlib.pump=function(a,d,e){var b=this;this.isIframeReady=false;this.isIframeSending=false;this.getHash=function(f){var g=f.split("#");g.shift();return g.join("#")};this.broadcastInit=function(f){this.destination=f;_$d_("---------------------");_$d1("Initiating broadcaster:");_$d(this.destination)};this.broadcastSendMessage=function(f){_$d_("---------------------");_$d1("Initiating Send:");if(this.destination===window){if(stlib.browser.ieFallback){window.location.replace(window.location.href.split("#")[0]+"#"+f);_$d2("child can't communicate with parent");return}_$d2("Iframe to publisher: "+f);parent.postMessage("#"+f,document.referrer)}else{_$d2("Publisher to Iframe: "+f);if(stlib.browser.ieFallback){if(this.destination.contentWindow){this.destination.contentWindow.location.replace(this.destination.src+"#"+f);this.isIframeSending=true}return}this.destination.contentWindow.postMessage("#"+f,this.destination.src)}};this.receiverInit=function(h,l){_$d_("---------------------");_$d1("Initiating Receiver:");_$d(h);if(stlib.browser.ieFallback){this.callback=l;this.source=h;if(h===window){window.location.replace(window.location.href.split("#")[0]+"#");this.currentIframe=window.location.hash;var g="receiver"+stlib.functionCount;stlib.functions[g]=function(n){if(""!=window.location.hash&&"#"!=window.location.hash){var m=window.location.hash;n(m);window.location.replace(window.location.href.split("#")[0]+"#")}};stlib.functionCount++;var k="callback"+stlib.functionCount;stlib.functions[k]=l;stlib.functionCount++;setInterval("stlib.functions['"+g+"'](stlib.functions['"+k+"'])",200)}else{}return}var j=window.addEventListener?"addEventListener":"attachEvent";var f=j=="attachEvent"?"onmessage":"message";window[j](f,function(m){if(h==window){_$d1("arrived in iframe from:");_$d(m.origin);l(m.data)}else{if(m.origin.indexOf("sharethis.com")!=-1){_$d1("arrived in parent from:");_$d(m.origin);l(m.data)}else{_$d1("discarded event from:");_$d(m.origin)}}},false)};this.broadcastInit(a);this.receiverInit(d,e)};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(d,b,a){return 1*d.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 e=b.charCodeAt(0).toString(16);return"\\u".concat(stlib.json.p[e.length],e)},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 d=arguments.length?arguments[0]:this,a,h;if(d===null){a="null"}else{if(d!==undefined&&(h=stlib.json.types[typeof d](d))){switch(h){case Array:a=[];for(var g=0,e=0,b=d.length;e<b;e++){if(d[e]!==undefined&&(h=stlib.json.encode(d[e]))){a[g++]=h}}a="[".concat(a.join(","),"]");break;case Boolean:a=String(d);break;case Date:a='"'.concat(d.getFullYear(),"-",stlib.json.d(d.getMonth()+1),"-",stlib.json.d(d.getDate()),"T",stlib.json.d(d.getHours()),":",stlib.json.d(d.getMinutes()),":",stlib.json.d(d.getSeconds()),'"');break;case Function:break;case Number:a=isFinite(d)?String(d):"null";break;case String:a='"'.concat(d.replace(stlib.json.rs,stlib.json.s).replace(stlib.json.ru,stlib.json.u),'"');break;default:var g=0,f;a=[];for(f in d){if(d[f]!==undefined&&(h=stlib.json.encode(d[f]))){a[g++]='"'.concat(f.replace(stlib.json.rs,stlib.json.s).replace(stlib.json.ru,stlib.json.u),'":',h)}}a="{".concat(a.join(","),"}");break}}}return a},decode:function(a){if(typeof(a)=="string"){var d=null;try{if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){d=window.JSON&&window.JSON.parse?window.JSON.parse(a):(new Function("return "+a))();return d}else{return null}}catch(b){}}}};try{stlib.json.rc=new RegExp('^("(\\\\.|[^"\\\\\\n\\r])*?"|[,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t])+?$')}catch(z){stlib.json.rc=/^(true|false|null|\[.*\]|\{.*\}|".*"|\d+|\d+\.\d+)$/}stlib.logger={loggerUrl:(("https:"==document.location.protocol)?"https://":"http://")+"l.sharethis.com/",constructParamString:function(){var a=stlib.data.pageInfo;var b="";for(param in a){b+=param+"="+a[param]+"&"}a=stlib.data.shareInfo;for(param in a){b+=param+"="+a[param]+"&"}return b.substring(0,b.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("sourceURL","pageInfo")){_$de("sharePageInfo.sourceURL do not exist \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("fpc","pageInfo")){_$de("sharePageInfo.fpc 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(stlib.data.get("counter","shareInfo")){stlib.data.set("ts"+new Date().getTime()+"."+stlib.data.get("counter","shareInfo"),"","shareInfo");stlib.data.unset("counter","shareInfo")}else{stlib.data.set("ts"+new Date().getTime(),"","shareInfo")}var a=(d=="pview")?"pview":"log";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.scriptLoader={loadJavascript:function(b,d){_$d_();_$d1("Loading JS: "+b);var a=stlib.scriptLoader;a.head=document.getElementsByTagName("head")[0];a.scriptSrc=b;a.script=document.createElement("script");a.script.setAttribute("type","text/javascript");a.script.setAttribute("src",a.scriptSrc);a.script.async=true;a.script.onload=d;a.script.onreadystatechange=function(){if(this.readyState=="loaded"){d()}};a.s=document.getElementsByTagName("script")[0];a.s.parentNode.insertBefore(a.script,a.s)},loadCSS:function(b,e){_$d_();_$d1("Loading CSS: "+b);var a=stlib.scriptLoader;var d;a.head=document.getElementsByTagName("head")[0];a.cssSrc=b;a.css=document.createElement("link");a.css.setAttribute("rel","stylesheet");a.css.setAttribute("type","text/css");a.css.setAttribute("href",b);a.css.setAttribute("id",b);setTimeout(function(){e();if(!document.getElementById(b)){d=setInterval(function(){if(document.getElementById(b)){clearInterval(d);e()}},100)}},100);a.head.appendChild(a.css)}};stlib.nativeButtons={supportedNativeButtons:{twitterfollow:{log:false,config:true,requiredFields:[["st_username","Username","Enter 'sharethis' for username"]]},pinterestfollow:{log:true,config:true,requiredFields:[["st_username","Username","Enter 'sharethis' for username"]]},youtube:{log:true,config:true,requiredFields:[["st_username","Username","Enter 'sharethis' for username"]]},foursquaresave:{log:false,config:true,dependencyLoaded:false,dependencyLoading:false},foursquarefollow:{log:false,config:true,requiredFields:[["st_username","Username","Enter 'sharethis' for username"],["st_followId","Follow id","Enter '1234567' for follow id"]]}},loadService:function(a){if(a=="foursquaresave"||a=="foursquarefollow"){if(stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoaded==false){if(stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoading==false){stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoading=true;var d="http://platform.foursquare.com/js/widgets.js";var b={uid:"606"};if("https:"==document.location.protocol){d="http://platform-s.foursquare.com/js/widgets.js";b.secure=true}(function(){window.___fourSq=b;var e=document.createElement("script");e.type="text/javascript";e.src=d;e.async=true;var f=document.getElementsByTagName("script")[0];e.onload=function(){fourSq.widget.Factory.go();stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoaded=true;stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoading=false};e.onreadystatechange=function(){if(this.readyState=="complete"||this.readyState=="loaded"){fourSq.widget.Factory.go();stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoaded=true;stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoading=false}};f.parentNode.insertBefore(e,f)})()}}else{fourSq.widget.Factory.go()}}else{if(a=="pinterestfollow"){}else{if(a=="twitterfollow"){}else{if(a=="youtube"){}else{}}}}},logService:function(a,b){stlib.data.resetShareData();stlib.data.set("url",b,"shareInfo");stlib.data.set("destination",a,"shareInfo");stlib.data.setSource("chicklet");stlib.data.set("buttonType","chicklet","shareInfo");stlib.sharer.share()},makeButton:function(t,e,d){if(t=="foursquaresave"){try{var l=document.createElement("<div></div>");var j=document.createElement("<a></a>")}catch(h){l=document.createElement("div");j=document.createElement("a")}l.className="stNativeButton stFourSquare";j.setAttribute("href","https://foursquare.com/intent/venue.html");j.setAttribute("class","fourSq-widget");j.setAttribute("data-on-open","foursquareCallback");l.appendChild(j);return l}else{if(t=="foursquarefollow"){if(typeof(d.username)=="undefined"||d.username==""){return false}if(typeof(d.followId)=="undefined"||d.followId==""){return false}try{var l=document.createElement("<div></div>");var j=document.createElement("<a></a>")}catch(h){l=document.createElement("div");j=document.createElement("a")}l.className="stNativeButton stFourSquare";j.setAttribute("href","https://foursquare.com/user/"+d.username);j.setAttribute("class","fourSq-widget");j.setAttribute("data-type","follow");j.setAttribute("data-fuid",d.followId);j.setAttribute("data-on-open","foursquareCallback");l.appendChild(j);return l}else{if(t=="pinterestfollow"){if(typeof(d.username)=="undefined"||d.username==""){return false}try{var b=document.createElement("<span></span>");var p=document.createElement("<a></a>");var o=document.createElement("<img></img>")}catch(h){b=document.createElement("span");p=document.createElement("a");o=document.createElement("img")}b.className="stNativeButton stPinterestfollow";var f=d.username;p.setAttribute("target","_blank");p.setAttribute("href","//pinterest.com/"+f+"/");o.setAttribute("src","//passets-cdn.pinterest.com/images/follow-on-pinterest-button.png");o.setAttribute("width","156");o.setAttribute("height","26");o.setAttribute("alt","Follow "+f+" on Pinterest");p.appendChild(o);b.appendChild(p);return b}else{if(t=="twitterfollow"){if(typeof(d.username)=="undefined"||d.username==""){return false}try{var k=document.createElement("<iframe></iframe>")}catch(h){k=document.createElement("iframe")}var m="&screen_name="+d.username;var q="&show_count=false";iedocmode=stlib.browser.getIEVersion();var s="";if(e=="vcount"){q="&show_count=true"}else{if(e=="hcount"){q="&show_count=true"}}k.setAttribute("allowtransparency","true");k.setAttribute("frameborder","0");k.setAttribute("scrolling","no");k.className="stTwitterFollowFrame";k.setAttribute("src","//platform.twitter.com/widgets/follow_button.html?lang=en&show_screen_name=false"+m+q);var r=document.createElement("span");r.className="stNativeButton stTwitterFollowFrame stTwitterFollow";r.appendChild(k);return r}else{if(t=="youtube"){if(typeof(d.username)=="undefined"||d.username==""){return false}try{var n=document.createElement("<span></span>");var g=document.createElement("<a></a>");var a=document.createElement("<img></img>")}catch(h){n=document.createElement("span");g=document.createElement("a");a=document.createElement("img")}n.setAttribute("class","stNativeButton stYoutube");var f=d.username;g.setAttribute("target","_blank");g.setAttribute("href","//youtube.com/subscription_center?add_user="+f);a.setAttribute("src","//s.ytimg.com/yt/img/creators_corner/Subscribe_to_my_videos/YT_Subscribe_130x36_red.png");a.setAttribute("alt","Follow "+f+" on youtube");g.appendChild(a);n.appendChild(g);return n}else{}}}}}},checkNativeButtonSupport:function(a){if(stlib.nativeButtons.supportedNativeButtons[a]){return true}return false},checkNativeButtonLogging:function(a){if(stlib.nativeButtons.supportedNativeButtons[a]){return stlib.nativeButtons.supportedNativeButtons[a].log}return false},checkNativeButtonConfig:function(a){if(stlib.nativeButtons.supportedNativeButtons[a]){return stlib.nativeButtons.supportedNativeButtons[a].config}return false}};foursquareCallback=function(d){if(d){var a="foursquaresave";var b="https://foursquare.com/intent/venue.html";if(d.config.type){a="foursquarefollow";b="https://foursquare.com/user/"+d.config.fuid}stlib.nativeButtons.logService(a,b)}};var IN=new Object();IN.Tags=new Object();IN.Tags.Share=new Object();IN.Tags.Share.handleCount=function(a){return stButtons.linkedinCB(a)};stlib.nativeCounts={nativeCountServices:[],nativeFunc:[],addNativeFunc:function(b,a){stlib.nativeCounts.nativeFunc[b]=a},getNativeCounts:function(d,b,a){switch(d){case"facebook":stlib.scriptLoader.loadJavascript("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,function(){});break;case"linkedin":stlib.scriptLoader.loadJavascript("http://www.linkedin.com/countserv/count/share?format=jsonp&url="+encodeURIComponent(b),function(){});break;case"stumbleupon":stlib.scriptLoader.loadJavascript("http://www.stumbleupon.com/services/1.1/badge.getinfo?url="+encodeURIComponent(b)+"&format=jsonp&callback="+a,function(){});break}},checkNativeCountServicesQueue:function(a){for(var b=0;b<stlib.nativeCounts.nativeCountServices.length;b++){if(stlib.nativeCounts.nativeCountServices[b]==a){return true}}return false}};__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={};var 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}stlib.data.init();stLight.fpc=stlib.data.get("fpc","pageInfo");if(stButtons.messageQueueInstance==null){stButtons.messageQueueInstance=new stlib.messageQueue()}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.getSource2=function(a){var d="share4x";if(switchTo5x){d="share5x";try{if(stLight.clickCallBack!=false){stLight.clickCallBack(a.service)}}catch(b){}}if(a.type=="stbar"||a.type=="stsmbar"){d="bar"}return d};stLight.log=function(d,e,a,b){stlib.data.resetShareData();stlib.data.set("url",document.location.href,"shareInfo");stlib.data.set("title",document.title,"shareInfo");stlib.data.set("counter",stLight.counter++,"shareInfo");stlib.data.setSource(e);if(typeof(a)!="undefined"){stlib.data.set("destination",a,"shareInfo")}if(typeof(b)!="undefined"){stlib.data.set("buttonType",b,"shareInfo")}stlib.logger.log(d);if(d=="pview"){stLight.createSegmentFrame()}};stLight._stFpc=function(){if(!document.domain||document.domain.search(/\.gov/)>0){return false}var h=stLight._stGetFpc("__unam");if(h==false){var d=Math.round(Math.random()*2147483647);d=d.toString(16);var j=(new Date()).getTime();j=j.toString(16);var f="";var a=stLight._stGetD();a=a.split(/\./)[1];if(!a){return false}f=stLight._stdHash(a)+"-"+j+"-"+d+"-1";h=f;stLight._stSetFpc(h)}else{var b=h;var g=b.split(/\-/);if(g.length==4){var e=Number(g[3]);e++;b=g[0]+"-"+g[1]+"-"+g[2]+"-"+e;h=b;stLight._stSetFpc(h)}}return h};stLight._stSetFpc=function(h){var a="__unam";var d=new Date;var k=d.getFullYear();var g=d.getMonth()+9;var j=d.getDate();var e=a+"="+escape(h);if(k){var b=new Date(k,g,j);e+="; expires="+b.toGMTString()}var f=stLight._stGetD();e+="; domain="+escape(f)+";path=/";document.cookie=e};stLight._stGetD=function(){var b=document.domain.split(/\./);var 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 f=0,e=0;for(var d=a.length-1;d>=0;d--){var b=parseInt(a.charCodeAt(d));f=((f<<8)&268435455)+b+(b<<12);if((e=f&161119850)!=0){f=(f^(e>>20))}}return f.toString(16)};stLight._thisScript=null;stLight.getShareThisLightScript=function(){var e=document.getElementsByTagName("script");var d=null;for(var b=0;b<e.length;b++){var a=e[b].src;if(a.search(/.*sharethis.*\/button\/light.*/)>=0){d=e[b]}}return d};stLight.dbrInfo=function(){var k=document.referrer;if(k&&k.length>0){var h=/\/\/.*?\//;var e=k.match(h);if(typeof(e)!=="undefined"&&typeof(e[0])!=="undefined"){var b=new RegExp(document.domain,"gi");if(b.test(e[0])==true){return false}}var g=/(http:\/\/)(.*?)\/.*/i;var f=/(^.*\?)(.*)/ig;var a="";var d=k.replace(g,"$2");var b=new RegExp(d,"gi");if(d.length>0){a+="&refDomain="+d}else{return false}var j=k.replace(f,"$2");if(j.length>0){a+="&refQuery="+encodeURIComponent(j)}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 d=document.body;var 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;");d.appendChild(stLight.segmentframe)};stLight.options=function(a){if(a&&a.publisher){stlib.data.setPublisher(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}if(a&&a.hashAddressBar){stlib.hash.hashAddressBar=true}if(a&&a.doNotHash){stlib.hash.doNotHash=true}if(a&&a.doNotCopy){stlib.hash.doNotCopy=true}for(var b in a){if(stWidget.options.hasOwnProperty(b)&&a[b]!==null){stWidget.options[b]=a[b]}}};stLight.hasButtonOnPage=function(){var e=document.getElementsByTagName("*");var d=new RegExp(/^st_(.*?)$/);var a=e.length;for(var b=0;b<a;b++){if(typeof(e[b].className)=="string"&&e[b].className!=""){if(e[b].className.match(d)&&e[b].className.match(d).length>=2&&e[b].className.match(d)[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(u){var g=u.service;var G=u.text;if(G==null&&(u.type=="vcount"||u.type=="hcount")){G="Share";if(g=="email"){G="Mail"}}if(g=="fb_like"){g="fblike"}else{if(g=="fblike_fbLong"){g="fblike";u.type="fbLong"}}var h=stWidget.ogurl?stWidget.ogurl:document.location.href;h=u.url?u.url:h;var S=h;if(!stlib.hash.doNotHash){S=h+"#"+stlib.data.pageInfo.shareHash}stlib.data.set("url",S,"shareInfo");var J=stWidget.ogtitle?stWidget.ogtitle:document.title;J=u.title?u.title:J;var f=(u.thumbnail&&u.thumbnail!=null)?u.thumbnail:stWidget.ogimg;f=(u.image)?u.image:f;var X=stWidget.desc?stWidget.desc:"";X=stWidget.ogdesc?stWidget.ogdesc:stWidget.desc;X=(u.description&&u.description!=null)?u.description:X;if(/(http|https):\/\//.test(h)==false){h=decodeURIComponent(h);J=decodeURIComponent(J)}if(/(http|https):\/\//.test(h)==false){h=decodeURIComponent(h);J=decodeURIComponent(J)}var ad=document.createElement("span");ad.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;");ad.className="stButton";if(u.type=="custom"&&g!="email"&&g!="sharethis"&&g!="wordpress"){u.element.onclick=function(){_$d_();_$d1("Clicked on a custom button to share");stLight.callSubscribers("click",g,h);stlib.data.resetShareData();stlib.data.set("url",h,"shareInfo");stlib.data.set("title",J,"shareInfo");stlib.data.set("destination",g,"shareInfo");stlib.data.setSource("chicklet");stlib.data.set("buttonType",u.type,"shareInfo");if(typeof(f)!="undefined"&&f!=null){stlib.data.set("image",f,"shareInfo")}if(typeof(X)!="undefined"&&X!=null){stlib.data.set("description",X,"shareInfo")}if(g=="twitter"&&u.element.getAttribute("st_username")!=null){stlib.data.set("refUsername",u.element.getAttribute("st_username"),"shareInfo")}stlib.sharer.share()};return false}if(!((g=="email"||g=="sharethis"||g=="wordpress")||(stIsLoggedIn&&servicesLoggedIn&&typeof(servicesLoggedIn[g])!="undefined"&&((useFastShare||(!useFastShare&&switchTo5x))&&(g=="facebook"||g=="twitter"||g=="yahoo"||g=="linkedin"))))){ad.onclick=function(){_$d_();_$d1("Clicked on a regular button to share");stLight.callSubscribers("click",g,h);var b=this.getElementsByTagName("*");for(var a=0;a<b.length;a++){if(b[a].className=="stBubble_hcount"||b[a].className=="stBubble_count"){if(!stlib.nativeCounts.checkNativeCountServicesQueue(g)){if(!isNaN(b[a].innerHTML)){b[a].innerHTML=Number(b[a].innerHTML)+1}}}}if(stWidget.options.tracking){shareLog(g)}stlib.data.resetShareData();stlib.data.set("url",h,"shareInfo");stlib.data.set("title",J,"shareInfo");stlib.data.set("destination",g,"shareInfo");stlib.data.setSource("chicklet");stlib.data.set("buttonType",u.type,"shareInfo");if(typeof(f)!="undefined"&&f!=null){stlib.data.set("image",f,"shareInfo")}if(typeof(X)!="undefined"&&X!=null){stlib.data.set("description",X,"shareInfo")}if(g=="twitter"&&u.element.getAttribute("st_username")!=null){stlib.data.set("refUsername",u.element.getAttribute("st_username"),"shareInfo")}stlib.sharer.share()}}if(g=="gbuzz"){return ad}if(g=="fblike"||g=="fbsend"||g=="fbrec"||g=="fbLong"||g=="fbsub"){if(g=="fbsub"){if(u.element.getAttribute("st_username")!=null){h="http://facebook.com/"+u.element.getAttribute("st_username")}else{h=""}}return stButtons.makeFBButton(g,u.type,h)}if(stlib.nativeButtons.checkNativeButtonSupport(g)){var T={};if(u.element.getAttribute("st_username")!=null){T.username=u.element.getAttribute("st_username")}if(u.element.getAttribute("st_followId")!=null){T.followId=u.element.getAttribute("st_followId")}retObj=stlib.nativeButtons.makeButton(g,u.type,T);if(retObj){if(stlib.nativeButtons.checkNativeButtonLogging(g)){retObj.onclick=function(){stlib.nativeButtons.logService(g,h)}}return retObj}else{if(typeof(window.console)!=="undefined"){try{console.debug("Looks like "+g+" is missing some required parameters. Please recheck "+g+" HTML \nFor help, contact support@sharethis.com")}catch(Y){}}return ad}}if(g=="plusone"){stButtons.loadPlusone=true;var E=document.createElement("div");E.innerHTML="&nbsp;";iedocmode=stlib.browser.getIEVersion();var v=(navigator.userAgent.indexOf("MSIE 7.0")!=-1);var j=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1);var N="display:inline-block;overflow:hidden;line-height:0px;";var B="overflow:hidden;zoom:1;display:inline;vertical-align:bottom;";var C="overflow:hidden;zoom:1;display:inline;line-height:0px;position:relative;";var e=document.createElement("g:plusone");e.setAttribute("href",h);if(u.type=="vcount"){e.setAttribute("size","tall");E.setAttribute("style",N+"vertical-align:bottom;width:55px; height:61px;");v&&E.style.setAttribute?E.style.setAttribute("cssText",N+"vertical-align:bottom;width:55px; height:61px;",0):null;(iedocmode&&(iedocmode==7)&&E.style.setAttribute)?E.style.setAttribute("cssText",C+"vertical-align:bottom;bottom:-8px;width:55px; height:80px;",0):(null)}else{if(u.type=="hcount"){e.setAttribute("size","medium");e.setAttribute("count","true");E.setAttribute("style",N+"position:relative;vertical-align:middle;bottom:0px;width:75px; height:21px;");v&&E.style.setAttribute?E.style.setAttribute("cssText",N+"position:relative;vertical-align:middle;width:75px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&E.style.setAttribute)?E.style.setAttribute("cssText",C+"vertical-align:middle;bottom:2px;width:75px; height:21px;",0):(null)}else{if(u.type=="button"){e.setAttribute("size","medium");e.setAttribute("count","false");E.setAttribute("style",N+"position:relative;vertical-align:middle;bottom:0px;width:36px; height:21px;");v&&E.style.setAttribute?E.style.setAttribute("cssText",N+"position:relative;vertical-align:middle;width:36px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&E.style.setAttribute)?E.style.setAttribute("cssText",C+"vertical-align:middle;bottom:-8px;width:36px; height:39px;",0):(null)}else{if(u.type=="large"){e.setAttribute("size","medium");e.setAttribute("count","false");E.setAttribute("style",N+"position:relative;vertical-align:middle;bottom:8px;width:36px; height:30px;");v&&E.style.setAttribute?E.style.setAttribute("cssText",N+"position:relative;vertical-align:middle;bottom:8px;width:36px; height:30px;",0):null;(iedocmode&&(iedocmode==7)&&E.style.setAttribute)?E.style.setAttribute("cssText",C+"vertical-align:middle;bottom:-3px;width:36px; height:39px;",0):(null)}else{e.setAttribute("size","small");e.setAttribute("count","false");E.setAttribute("style",N+"position:relative;vertical-align:middle;bottom:0px;width:36px; height:16px;");v&&E.style.setAttribute?E.style.setAttribute("cssText",N+"position:relative;vertical-align:middle;width:36px; height:16px;",0):null;(iedocmode&&(iedocmode==7)&&E.style.setAttribute)?E.style.setAttribute("cssText",C+"vertical-align:middle;bottom:-12px;width:36px; height:36px;",0):(null)}}}}E.appendChild(e);e.setAttribute("callback","plusoneCallback");return E}var k=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";var W=document.createElement("img");W.src=k+"check-big.png";W.style.position="absolute";W.style.top="-7px";W.style.right="-7px";W.style.width="19px";W.style.height="19px";W.style.maxWidth="19px";W.style.maxHeight="19px";var r=g;function n(a){var ae=new Date();var b=null;var af=0;do{b=new Date();af++;if(af>a){break}}while(((b-ae)<a)||!esiLoaded)}if(!esiLoaded&&(g=="facebook"||g=="twitter"||g=="linkedin"||g=="yahoo")){n(500)}if(!(useFastShare&&servicesLoggedIn&&typeof(servicesLoggedIn[g])!="undefined"&&(g=="facebook"||g=="twitter"||g=="linkedin"||g=="yahoo"))){W.style.display="none"}if(u.type=="chicklet"){var L=document.createElement("span");L.className="chicklets "+g;if(G==null){L.innerHTML="&nbsp;";ad.style.paddingLeft="0px";ad.style.paddingRight="0px";ad.style.width="16px"}else{L.appendChild(document.createTextNode(G));W.style.right="auto";W.style.left="8px";W.style.top="-5px"}ad.appendChild(L);W.src=k+"check-small.png";W.style.top="-6px";W.style.width="13px";W.style.height="13px";W.style.maxWidth="13px";W.style.maxHeight="13px";ad.appendChild(W);return ad}else{if(u.type=="large"){var L=document.createElement("span");L.className="stLarge";ad.appendChild(L);L.style.backgroundImage="url('"+k+r+"_32.png')";ad.appendChild(W);return ad}else{if(u.type=="basic"||u.type=="circle"||u.type=="brushed"||u.type=="shiny"){var L=document.createElement("span");L.className="stLarge";L.className=u.size=="16"?((u.type=="brushed"||u.type=="shiny")?"stSmall2":"stSmall"):L.className;L.className=u.size=="64"?"stHuge":L.className;ad.appendChild(L);L.style.backgroundImage="url('"+k+u.type+"/"+u.size+"/"+r+(u.color?"_"+u.color:"_"+u.type)+".png')";ad.appendChild(W);return ad}else{if(u.type=="pcount"||u.type=="stbar"||u.type=="stsmbar"){var A=document.createElement("span");var L=document.createElement("span");if(u.type=="stsmbar"){L.className="stSmBar";var k=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";L.style.backgroundImage="url('"+k+r+"_16.png')";W.src=k+"check-small.png"}else{L.className="stLarge";var k=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";L.style.backgroundImage="url('"+k+r+"_32.png')"}L.appendChild(W);A.appendChild(L);var s=document.createElement("span");var ac=document.createElement("div");if(u.type=="stsmbar"){ac.className="stBubbleSmHoriz"}else{ac.className="stBubbleSm"}ac.setAttribute("id","stBubble_"+u.count);ac.style.visibility="hidden";var U=document.createElement("div");U.className="stBubble_count_sm";ac.appendChild(U);s.appendChild(ac);s.appendChild(A);ad.appendChild(s);stButtons.getCount2(h,g,U);A.onmouseover=function(){var a=document.getElementById("stBubble_"+u.count);a.style.visibility="visible"};A.onmouseout=function(){var a=document.getElementById("stBubble_"+u.count);a.style.visibility="hidden"};return ad}else{if(u.type=="button"||u.type=="vcount"||u.type=="hcount"){var A=document.createElement("span");A.className="stButton_gradient";var H=document.createElement("span");H.className="chicklets "+g;if(G==null){H.innerHTML="&nbsp;"}else{H.appendChild(document.createTextNode(G))}A.appendChild(H);if(g=="facebook"||g=="twitter"||g=="linkedin"||g=="yahoo"||g=="pinterest"){var t=document.createElement("span");t.className="stMainServices st-"+g+"-counter";t.innerHTML="&nbsp";A=t;t.style.backgroundImage="url('"+k+r+"_counter.png')"}A.appendChild(W);if(u.type=="vcount"){var s=document.createElement("div");var ac=document.createElement("div");ac.className="stBubble";var U=document.createElement("div");U.className="stBubble_count";ac.appendChild(U);s.appendChild(ac);s.appendChild(A);ad.appendChild(s);stButtons.getCount2(h,g,U)}else{if(u.type=="hcount"){var s=document.createElement("span");var M=document.createElement("span");M.className="stButton_gradient stHBubble";var q=document.createElement("span");q.className="stButton_left";q.innerHTML="&nbsp;";var w=document.createElement("span");w.className="stButton_right";w.innerHTML="&nbsp;";var U=document.createElement("span");U.className="stBubble_hcount";M.appendChild(U);s.appendChild(A);var D=document.createElement("span");D.className="stArrow";D.appendChild(M);s.appendChild(D);ad.appendChild(s);stButtons.getCount2(h,g,U)}else{ad.appendChild(A)}}if(u.type=="vcount"||u.type=="hcount"){if(u.ctype=="native"){if(g=="twitter"){var V=document.createElement("span");V.className="stButton";var F=55;var Z=20;var Q="";var l="none";var I=7;if(u.type=="vcount"){var p=document.createElement("div");F=55;Z=62;Q="top:42px;";l="vertical";W.style.top="34px"}else{if(u.type=="hcount"){var p=document.createElement("span");F=110;Z=20;l="horizontal";W.style.right="44px"}}iedocmode=stlib.browser.getIEVersion();var R=document.createElement("span");R.setAttribute("style","vertical-align:bottom;line-height:0px;position:absolute;padding:0px !important;"+Q+"width:55px;height:20px;");(iedocmode&&(iedocmode==7)&&R.style.setAttribute)?R.style.setAttribute("cssText","vertical-align:bottom;line-height:0px;position:absolute;padding:0px !important;"+Q+"width:55px;height:20px;",0):null;try{var P=document.createElement('<iframe name="stframe" allowTransparency="true" scrolling="no" frameBorder="0"></iframe>')}catch(Y){P=document.createElement("iframe");P.setAttribute("allowTransparency","true");P.setAttribute("frameborder","0");P.setAttribute("scrolling","no")}var ab=encodeURIComponent(h);P.setAttribute("src","http://platform.twitter.com/widgets/tweet_button.html?count="+l+"&url="+ab);P.setAttribute("style","width:"+F+"px;height:"+Z+"px;");(iedocmode&&(iedocmode==7)&&P.style.setAttribute)?P.style.setAttribute("cssText","width:"+F+"px;height:"+Z+"px;",0):null;if((useFastShare&&servicesLoggedIn&&typeof(servicesLoggedIn[g])!="undefined")){p.appendChild(R)}p.appendChild(P);A=p;A.appendChild(W);V.appendChild(A);V.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;vertical-align:bottom;margin-top:6px;width:"+F+"px;height:"+Z+"px;");(iedocmode&&(iedocmode==7)&&V.style.setAttribute)?V.style.setAttribute("cssText","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;vertical-align:bottom;width:"+F+"px;height:"+Z+"px;",0):null;ad=V}else{if(g=="facebook"){stButtons.getXFBMLFromFB();return stButtons.makeFBButton("fblike",u.type,h)}else{if(g=="linkedin"){}}}}}}else{if(u.type=="css"){var A=document.createElement("div");A.className="stCSSButton";if(u.cssType=="cssV"){var y=document.createElement("div");y.className="stCSSVBubble";var K=document.createElement("div");K.className="stCSSVBubble_count";y.appendChild(K);var m=document.createElement("div");m.className="stCSSVArrow";var O=document.createElement("div");O.className="stCSSVArrowBorder";O.appendChild(m);ad.appendChild(y);ad.appendChild(O);stButtons.getCount2(h,g,K)}var d=document.createElement("div");d.className="stCSSSprite "+g;d.innerHTML="&nbsp;";var L=document.createElement("span");L.className="stCSSText";A.appendChild(d);if(G==null||G==""){}else{L.appendChild(document.createTextNode(G));A.appendChild(L)}A.appendChild(W);ad.appendChild(A);if(u.cssType=="cssH"){var x=document.createElement("div");x.className="stCSSHBubble";var K=document.createElement("div");K.className="stCSSHBubble_count";x.appendChild(K);var aa=document.createElement("div");aa.className="stCSSHArrow";var o=document.createElement("div");o.className="stCSSHArrowBorder";o.appendChild(aa);ad.appendChild(o);ad.appendChild(x);stButtons.getCount2(h,g,K)}}}}}}}return ad};stButtons.makeFBButton=function(k,m,b){try{var j=document.createElement("<div></div>")}catch(e){j=document.createElement("div")}var d=b;var h="button_count";var n="fb-send";var f="";iedocmode=stlib.browser.getIEVersion();var g="";if(m=="vcount"){h="box_count"}else{if(m=="hcount"){}else{if(m=="large"){g=(iedocmode&&(iedocmode==7))?"vertical-align:bottom;bottom:3px;":"bottom:7px;margin-top:9px;"}else{if(m=="button"){}else{g="top:1px;margin-top:0px;"}}}}if(k=="fbLong"){n="fb-like";h="standard";j.setAttribute("data-layout",h);j.setAttribute("data-send","false");j.setAttribute("data-show-faces","false")}else{if(k=="fbsend"){n="fb-send"}else{if(k=="fblike"||k=="fbrec"){(k=="fbrec")?f="recommend":null;n="fb-like";j.setAttribute("data-action",f);j.setAttribute("data-send","false");j.setAttribute("data-layout",h);j.setAttribute("data-show-faces","false")}else{if(k=="fbsub"){n="fb-subscribe";j.setAttribute("data-layout",h);j.setAttribute("data-show-faces","false")}}}}j.setAttribute("class",n);j.setAttribute("data-href",d);if(iedocmode&&(iedocmode==7)){if(k!="fbsend"){j=document.createElement("<div class='"+n+"' data-action='"+f+"' data-send='false' data-layout='"+h+"' data-show-faces='false' data-href='"+d+"'></div>")}else{j=document.createElement("<div class='"+n+"' data-href='"+d+"'></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;"+g);(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;"+g,0):(null);var l=document.createElement("div");l.setAttribute("id","fb-root");a.appendChild(l);a.appendChild(j);return a};stButtons.getCount=function(d,a,e){var b=false;if(e&&e!==null){while(e.childNodes.length>=1){try{e.removeChild(e.firstChild)}catch(f){}}}stButtons.cbQueue.push({url:d,service:a,element:e});stButtons.getCountsFromService(d,a,e)};stButtons.getCount2=function(d,a,e){var b=false;if(e&&e!==null){while(e.childNodes.length>=1){try{e.removeChild(e.firstChild)}catch(f){}}}if(stlib.nativeCounts.checkNativeCountServicesQueue(a)){stButtons.cbNativeQueue.push({url:d,service:a,element:e});if(typeof(stButtons.countsNativeResp[d])=="undefined"){stButtons.countsNativeResp[d]=[]}if(typeof(stButtons.countsNativeResp[d][a])=="undefined"){stlib.nativeCounts.getNativeCounts(a,d,"stButtons."+a+"CB");stButtons.countsNativeResp[d][a]=null}else{if(stButtons.countsNativeResp[d][a]!=null){switch(a){case"facebook":stButtons.facebookCB(stButtons.countsNativeResp[d][a]);break;case"linkedin":stButtons.linkedinCB(stButtons.countsNativeResp[d][a]);break;case"stumbleupon":stButtons.stumbleuponCB(stButtons.countsNativeResp[d][a]);break}}}}else{stButtons.cbQueue.push({url:d,service:a,element:e});stButtons.getCountsFromService(d,a,e)}};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 d=0;d<stButtons.cbQueue.length;d++){var f=stButtons.cbQueue[d];if(b.ourl==f.url){var h="";try{if(f.service=="sharethis"){if(stWidget.options.newOrZero=="zero"){h=(b.total>0)?stButtons.human(b.total):"0"}else{h=(b.total>0)?stButtons.human(b.total):"New"}}else{if(f.service=="facebook"&&typeof(b.facebook2)!="undefined"){h=stButtons.human(b.facebook2)}else{if(typeof(b[f.service])!="undefined"){h=(b[f.service]>0)?stButtons.human(b[f.service]):"0"}else{h="0"}}}if(/stHBubble/.test(f.element.parentNode.className)==true){f.element.parentNode.style.display="inline-block"}else{if(/stBubble/.test(f.element.parentNode.className)==true){f.element.parentNode.style.display="block"}}f.element.innerHTML=h}catch(e){if(!f.element.hasChildNodes()){var g=document.createElement("div");g.innerHTML=h;f.element.appendChild(g)}}a=true}}};stButtons.processNativeCount=function(b,a){if(!(b)){return}if(!(a)){return}for(var d=0;d<stButtons.cbNativeQueue.length;d++){var f=stButtons.cbNativeQueue[d];if(b.ourl==f.url){var h="";try{if(f.service==a){h=(b[a]!=null)?stButtons.human(b[a]):"-"}else{continue}if(/stHBubble/.test(f.element.parentNode.className)==true){f.element.parentNode.style.display="inline-block"}else{if(/stBubble/.test(f.element.parentNode.className)==true){f.element.parentNode.style.display="block"}}f.element.innerHTML=h}catch(e){if(!f.element.hasChildNodes()){var g=document.createElement("div");g.innerHTML=h;f.element.appendChild(g)}}}}};stButtons.human=function(a){if(a>=100000){a=a/1000;a=Math.round(a);a=a+"K"}else{if(a>=10000){a=a/100;a=Math.round(a);a=a/10;a=a+"K"}}return a};stButtons.locateElements=function(d){var v=document.getElementsByTagName("*");var o=[];var P=new RegExp(/st_(.*?)_custom/);var O=new RegExp(/st_(.*?)_vcount/);var w=new RegExp(/st_(.*?)_vcount_native/);var N=new RegExp(/st_(.*?)_hcount/);var n=new RegExp(/st_(.*?)_hcount_native/);var M=new RegExp(/st_(.*?)_button/);var L=new RegExp(/st_(.*?)_large/);var J=new RegExp(/st_(.*?)_pcount/);var I=new RegExp(/st_(.*?)_stbar/);var F=new RegExp(/st_(.*?)_stsmbar/);var E=new RegExp(/st_(.*?)_css/);var u=new RegExp(/^st_(.*?)$/);var h=new RegExp(/st_(.*?)_basic/);var p=new RegExp(/st_(.*?)_circle/);var l=new RegExp(/(st_(.*?)_basic)|(st_(.*?)_circle)/);var e=new RegExp(/(st_(.*?)_brushed)|(st_(.*?)_shiny)/);var C=new RegExp(/(st_(.*?)_brushed)/);var Q=new RegExp(/(st_(.*?)_shiny)/);var g=v.length;var A=0,B,m,j,a=[],t=false;if(typeof(stRecentServices)!="undefined"&&stRecentServices!="undefined"&&stRecentServices!="false"&&stRecentServices){t=true}for(var D=0;D<g;D++){B="";m=false;j=false;if(typeof(v[D].className)=="string"&&v[D].className!=""){if(v[D].className.match(P)&&v[D].className.match(P).length>=2&&v[D].className.match(P)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(P)[1];typeName="custom";if(B=="plusone"||B=="fblike"||B=="fbrec"||B=="fbsend"||B=="fbsub"){typeName="chicklet"}o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:typeName});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(l)&&v[D].className.match(l).length>=2){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.split("_")[1];var R="basic";if(v[D].className.match(p)){R="circle"}o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:R,size:v[D].className.split("$")[1],color:v[D].className.split("$")[2]});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(e)&&v[D].className.match(e).length>=2){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.split("_")[1];var R="brushed";if(v[D].className.match(Q)){R="shiny"}o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:R,size:v[D].className.split("$")[1]});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(O)&&v[D].className.match(O).length>=2&&v[D].className.match(O)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(O)[1];var G="";if(v[D].className.match(w)&&v[D].className.match(w).length>=2&&v[D].className.match(w)[1]){G="native"}o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"vcount",ctype:G});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(N)&&v[D].className.match(N).length>=2&&v[D].className.match(N)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(N)[1];var G="";if(v[D].className.match(n)&&v[D].className.match(n).length>=2&&v[D].className.match(n)[1]){G="native"}o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"hcount",ctype:G});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(M)&&v[D].className.match(M).length>=2&&v[D].className.match(M)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(M)[1];o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"button"});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(L)&&v[D].className.match(L).length>=2&&v[D].className.match(L)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(L)[1];o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"large"});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(J)&&v[D].className.match(J).length>=2&&v[D].className.match(J)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(J)[1];o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"pcount",count:D});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(I)&&v[D].className.match(I).length>=2&&v[D].className.match(I)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(I)[1];o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"stbar",count:D});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(F)&&v[D].className.match(F).length>=2&&v[D].className.match(F)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(F)[1];o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"stsmbar",count:D});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(E)&&v[D].className.match(E).length>=2&&v[D].className.match(E)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(E)[1];var H=v[D].className.split("_");o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"css",cssType:H[H.length-1]});v[D].setAttribute("st_processed","yes")}}else{if(v[D].className.match(u)&&v[D].className.match(u).length>=2&&v[D].className.match(u)[1]){if(stButtons.testElem(v[D])==false){j=true;B=v[D].className.match(u)[1];o.push({service:B,element:v[D],url:v[D].getAttribute("st_url"),title:v[D].getAttribute("st_title"),image:(v[D].getAttribute("st_img")!=null)?v[D].getAttribute("st_img"):v[D].getAttribute("st_image"),summary:v[D].getAttribute("st_summary"),text:v[D].getAttribute("displayText"),type:"chicklet"});v[D].setAttribute("st_processed","yes")}}}}}}}}}}}}}if(t){if(j){for(A=0;A<a.length;A++){if(a[A].service==B){a[A].count++;m=true}}if(!m){a.push({service:B,count:1,doNotReplace:false,processed:false})}}}}}if(t){var K=[];for(var s=a.length-1;s>=0;s--){if(a[s].service=="sharethis"||a[s].doNotReplace){a[s].processed=true;continue}else{for(var r in stRecentServices){var f=false;if(!stRecentServices[r].processed){for(var b=0;b<a.length;b++){if(r==a[b].service&&!a[b].processed){f=true;a[b].doNotReplace=true;stRecentServices[r].processed=true;break}}if(f){a[s].processed=true}else{K.push({oldService:a[s].service,newService:r});for(var q=0;q<o.length;q++){if(o[q].service==a[s].service){o[q].service=r;o[q].text=stRecentServices[r].title;o[q].element.setAttribute("displayText",stRecentServices[r].title);o[q].element.className=o[q].element.className.replace(a[s].service,r)}}stRecentServices[r].processed=true;a[s].processed=true;break}}}}}}for(var D=0;D<o.length;D++){stWidget.addEntry(o[D])}};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.c5baa216d1d6ec321a007e632822c125.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.async=stWidget.options.asyncPlusone;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";var d,b=document.getElementsByTagName("script")[0];if(document.getElementById("facebook-jssdk")){return}d=document.createElement("script");d.id="facebook-jssdk";d.src="//connect.facebook.net/"+a+"/all.js#xfbml=1";d.async=stWidget.options.async;d.onload=function(){FB.init({appId:"",xfbml:true});FB.XFBML.parse();stButtons.trackFB();stButtons.xfbmlLoaded=true;stButtons.xfbmlLoading=false};d.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(d,b)}}else{FB.XFBML.parse();stButtons.trackFB()}};stButtons.addCount=function(a){stButtons.counts.push(a)};stButtons.getCountsFromService=function(d,b,e){if(stButtons.checkQueue(d)==false){var a=a+"-"+stButtons.cbVal;a="stButtons.processCB";stButtons.cbVal++;var f=(("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(f+encodeURIComponent(d),function(){});stButtons.queue.push(d)}if(stButtons.countsResp[d]){stButtons.processCount(stButtons.countsResp[d])}};stButtons.checkQueue=function(a){for(var b=0;b<stButtons.queue.length;b++){if(stButtons.queue[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(d){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 e=this;var f=false;this.attachButton=function(g){this.element=g;if((this.onhover==true||this.onhover=="true")&&!detectMobileDevice()&&((!switchTo5x)||(switchTo5x&&(d.service=="sharethis"||d.service=="email"||d.service=="wordpress")))){g.onmouseover=this.mouseOn;g.onmouseout=this.mouseOut}g.onclick=function(h){e.decideFastShare()}};this.init=function(){stWidget.merge(this,d);stWidget.shareables.push(this);if(d.element!==null){this.attachButton(d.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.43352af53459339eba98539404d136bf.html");this.frameUrl4x=(("https:"==document.location.protocol)?"https://ws.sharethis.com/secure/index.html":"http://edge.sharethis.com/share4x/index.08494d37c792aa82b4ba36e63cbd06f6.html");this.frameUrlChoice=switchTo5x?this.frameUrl5x:this.frameUrl4x;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;stButtons.pumpInstance=new stlib.pump(stWidget.mainstframe,stWidget.mainstframe,function(){stButtons.messageQueueInstance.process()});stButtons.messageQueueInstance.setPumpInstance(stButtons.pumpInstance);try{stButtons.pumpInstance.broadcastSendMessage("Buttons Ready")}catch(b){}}}}catch(a){this.mainstframe=document.createElement("iframe");this.mainstframe.allowTransparency="true";this.mainstframe.setAttribute("allowTransparency","true");this.mainstframe.onload=function(){stWidget.frameReady=true;stButtons.pumpInstance=new stlib.pump(stWidget.mainstframe,stWidget.mainstframe,function(){stButtons.messageQueueInstance.process()});stButtons.messageQueueInstance.setPumpInstance(stButtons.pumpInstance);try{stButtons.pumpInstance.broadcastSendMessage("Buttons Ready")}catch(b){}}}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.frameUrlChoice;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(e,d){for(var b in d){if(e.hasOwnProperty(b)&&d[b]!==null){e[b]=d[b]}}};this.oldScroll=0;this.init=function(){if(stWidget.initFire==false){stWidget.initFire=true;if(stlib.browser.ieFallback){setTimeout("stButtons.messageQueueInstance.send(stWidget.createFrag(stlib.data,'data'), 'data');",1000)}else{stButtons.messageQueueInstance.send(stWidget.createFrag(stlib.data,"data"),"data")}if(stlib.browser.ieFallback){setTimeout("stButtons.messageQueueInstance.send(stWidget.createFrag(null,'init'), 'init');",2000)}else{stButtons.messageQueueInstance.send(stWidget.createFrag(null,"init"),"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.asyncPlusone=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;this.hashAddressBar=false;this.doNotHash=false;this.doNotCopy=false};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"||a.service=="fbsub"){stButtons.getXFBMLFromFB()}if(stlib.nativeButtons.checkNativeButtonSupport(a.service)){stlib.nativeButtons.loadService(a.service)}}else{stButtons.makeButton(a)}stlib.buttonInfo.addButton(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"||a.service=="fbsub"){stButtons.getXFBMLFromFB()}if(stlib.nativeButtons.checkNativeButtonSupport(a.service)){stlib.nativeButtons.loadService(a.service)}}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;if(!stlib.hash.doNotHash){b.url=b.url+"#"+stlib.data.pageInfo.shareHash}stlib.data.set("url",b.url,"shareInfo");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 g={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){g.image=b.image}if(typeof(b.summary)!="undefined"&&b.summary!=null){g.desc=b.summary}g.service=a.service;g.type=a.type;for(var e in g){var d=document.createElement("input");d.setAttribute("type","hidden");d.setAttribute("name",e);d.setAttribute("value",g[e]);f.appendChild(d)}document.body.appendChild(f);f.submit()}else{if(a.service=="email"){var f=document.createElement("form");f.setAttribute("method","POST");f.setAttribute("action","mailto:");f.setAttribute("target","_blank");var g={body:b.url,subject:b.title};for(var e in g){var d=document.createElement("input");d.setAttribute("type","hidden");d.setAttribute("name",e);d.setAttribute("value",g[e]);f.appendChild(d)}document.body.appendChild(f);f.submit()}}}else{b.popup()}}else{stLight.log("widget","fastShare",a.service,a.type);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.type=a.type;stFastShareObj.publisher=stlib.data.get("publisher","pageInfo");stFastShareObj.fpc=stlib.data.get("fpc","pageInfo");stFastShareObj.sessionID=stlib.data.get("sessionID","pageInfo");stFastShareObj.hostname=stlib.data.get("hostname","pageInfo");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 g=stLight.getSource2(a);stLight.log("widget",g,a.service,a.type);if(stWidget.options.popup&&!switchTo5x){var j=stWidget.createFrag(b);_$d_();_$d1("4x Popup Called");_$d1(j);_$d_();window.open(stWidget.frameUrl4x+"#"+j,"newstframe","status=1,toolbar=0,width=345,height=375")}else{if(stWidget.options.popup&&switchTo5x){var h="http://sharethis.com/share?url="+b.url;if(b.title!=null){h+="&title="+b.title}if(b.image!=null){h+="&img="+b.image}if(b.summary!=null){h+="&summary="+b.summary}if(a.type!=null){h+="&type="+a.type}var f="";if(stlib.data){var e=stlib.json.encode(stlib.data.pageInfo);var d=stlib.json.encode(stlib.data.shareInfo);if(stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()){e=encodeURIComponent(encodeURIComponent(e));d=encodeURIComponent(encodeURIComponent(d))}else{e=encodeURIComponent(e);d=encodeURIComponent(d)}f="&pageInfo="+e+"&shareInfo="+d}window.open(h+f,"newstframe","status=1,toolbar=0,width=820,height=950")}else{stButtons.messageQueueInstance.send(stWidget.createFrag(b),"light");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();stlib.buttonInfo.addButton(b);return b}};stWidget.createFrag=function(a,k){var j="light";j=stWidget.options.popup?"popup":j;__stgetPubGA();if(k=="data"){j="data";for(var b in a){if(a.hasOwnProperty(b)==true&&a[b]!==null&&typeof(a[b])!="function"){if(typeof(a[b])=="object"){var e=stlib.json.encode(a[b])}else{var e=a[b]}if(stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()){j=j+"/"+b+"="+encodeURIComponent(encodeURIComponent(e))}else{j=j+"/"+b+"="+encodeURIComponent(e)}}}}else{if(k=="init"){j="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 b in stWidget.options){if(stWidget.options.hasOwnProperty(b)==true&&stWidget.options[b]!==null&&typeof(stWidget.options[b])!="function"&&typeof(stWidget.options[b])!="object"){var h=stWidget.options[b];try{h=decodeURIComponent(h);h=decodeURIComponent(h)}catch(d){}j=j+"/"+b+"="+encodeURIComponent(h)}}j=j+"/pUrl="+encodeURIComponent(encodeURIComponent(document.location.href))+((document.title!="")?"/title="+encodeURIComponent(encodeURIComponent(document.title)):"")+"/stLight=true"}else{for(var b in a){if(a.hasOwnProperty(b)==true&&a[b]!==null&&typeof(a[b])!="function"&&typeof(a[b])!="object"&&b!=="idx"){j=j+"/"+b+"-=-"+encodeURIComponent(encodeURIComponent(a[b]))}}if(a.service=="email"){j=j+"/page-=-send"}if(switchTo5x){if(a.service=="facebook"){j=j+"/page-=-fbhome"}else{if(a.service=="twitter"){j=j+"/page-=-twhome"}else{if(a.service=="yahoo"){j=j+"/page-=-ybhome"}else{if(a.service=="linkedin"){j=j+"/page-=-lihome"}else{if(a.service=="wordpress"){j=j+"/page-=-wphome"}}}}}}if(stlib.data){var g=stlib.json.encode(stlib.data.pageInfo);var f=stlib.json.encode(stlib.data.shareInfo);if(stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()){g=encodeURIComponent(encodeURIComponent(g));f=encodeURIComponent(encodeURIComponent(f))}else{g=encodeURIComponent(g);f=encodeURIComponent(f)}j+="/pageInfo-=-"+g;j+="/shareInfo-=-"+f}}}return j};stWidget.positionWidget=function(o){function getHW(elem){var retH=0;var retW=0;var 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;var mPos=getHW(shareel);curleft=mPos.width;curtop=mPos.height;shareel=o.element;var eltop=0;var elleft=0;var topVal=0;var leftVal=0;var elemH=0;var 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();var effectiveH=pginfo.height+pginfo.scrY;var effectiveW=pginfo.width+pginfo.scrX;var widgetH=330;var widgetW=330;var needH=widgetH+elemH;var needW=widgetW+elemW;var diffH=needH-effectiveH;var diffW=needW-effectiveW;var newH=elemH-diffH;var newW=elemW-diffW;var buttonPos=getHW(shareel);var 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 f=[0,0,0,0];var b=0;var a=0;var e=0;var d=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){e=window.innerWidth;d=window.innerHeight}else{if(document.documentElement.offsetWidth){e=document.documentElement.offsetWidth;d=document.documentElement.offsetHeight}}f={scrX:b,scrY:a,width:e,height:d};return f};stWidget.closetimeout=null;stWidget.stClose=function(a){if(!a){a=1000}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 b="widget/"+a+"="+d;stButtons.messageQueueInstance.send(b,"widget")};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";var deviceIpod="ipod";var deviceIpad="ipad";var 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)/1000;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(a){if(a.state=="on"){stlib.data.resetShareData();stlib.data.set("url",a.href,"shareInfo");stlib.data.set("destination","plusone","shareInfo");stlib.data.setSource("chicklet");stlib.data.set("buttonType","chicklet","shareInfo");stlib.sharer.share()}};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,d){if(typeof(d)!=="undefined"&&d!==null){var b=d}else{var b=document.location.href}stlib.data.resetShareData();stlib.data.set("url",b,"shareInfo");stlib.data.set("destination",a,"shareInfo");stlib.data.set("buttonType","chicklet","shareInfo");stlib.data.setSource("chicklet");stlib.sharer.share()};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 d=b.data;d=d.split("|");if(d[0]=="ShareThis"&&d.length>2){var a=(typeof(d[3])=="undefined")?document.location.href:d[3];stLight.callSubscribers(d[1],d[2],a)}}};stLight.subscribe=function(b,a){if(b=="click"){stLight.clickSubscribers.push(a)}else{stLight.nonClickSubscribers.push(a)}};stLight.callSubscribers=function(e,a,b){if(e=="click"){for(var d=0;d<stLight.clickSubscribers.length;d++){stLight.clickSubscribers[d]("click",a,b)}}};stLight.gaTS=function(d,a,b){var e="";var f="";if(a=="fblike"){e="ShareThis_facebook";f="Like"}else{if(a=="fbunlike"){e="ShareThis_facebook";f="UnLike"}else{if(a=="fbsend"){e="ShareThis_facebook";f="Send"}else{if(a=="twitter"){e="ShareThis_twitter";f="Share"}else{if(a=="retweet"){e="ShareThis_twitter";f="ReTweet"}else{if(a=="favorite"){e="ShareThis_twitter";f="Favorite"}else{if(a=="follow"){e="ShareThis_twitter";f="Follow"}else{e="ShareThis_"+a;f="Share"}}}}}}}if(typeof(_gaq)!="undefined"){_gaq.push(["_trackSocial",e,f,b])}};stButtons.onReady=function(){var h=document.getElementsByTagName("*");var b=[];var d=new RegExp(/sharethis_smartbuttons/);var a=false;for(var k=0;k<h.length;k++){if(typeof(h[k].className)=="string"&&h[k].className!=""){if(h[k].className.match(d)){a=true;break}}}if(a){var g=document.getElementsByTagName("head")[0];var e=["return=json","cb=stButtons.smartifyButtons"];e=e.join("&");var f=(("https:"==document.location.protocol)?"https://ws.":"http://wd.")+"sharethis.com/api/getRecentServices.php?"+e;var j=document.createElement("script");j.setAttribute("type","text/javascript");j.setAttribute("src",f);g.appendChild(j);setTimeout("stButtons.completeInit()",2000)}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.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.pumpInstance=null;stButtons.messageQueueInstance=null;stButtons.countsResp=[];stButtons.countsNativeResp=[];stWidget.getOGTags();stLight.loadServicesLoggedIn(function(){stButtons.locateElements();stButtons.makeButtons()});stLight.clickSubscribers=[];stLight.nonClickSubscribers=[];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()};
