var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); 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){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;c0){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();stlib.hash.checkURL();var a=stlib.data.pageInfo;var d="?";var b;for(b in a){d+=b+"="+encodeURIComponent(a[b])+"&";_$d1("constructParamStringPageInfo: "+b+": "+a[b])}a=stlib.data.shareInfo;for(b in a){d+=b+"="+encodeURIComponent(a[b])+"&";_$d1("constructParamStringShareInfo: "+b+": "+a[b])}return d.substring(0,d.length-1)},sharePinterest:function(){if(typeof(stWidget)!="undefined"&&typeof(stWidget.closeWidget)==="function"){stWidget.closeWidget()}if(typeof(stcloseWidget)==="function"){stcloseWidget()}if(typeof(stToolbar)!="undefined"&&typeof(stToolbar.closeWidget)==="function"){stToolbar.closeWidget()}var a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("charset","UTF-8");a.setAttribute("src","http://assets.pinterest.com/js/pinmarklet.js?r="+Math.random()*99999999);document.body.appendChild(a)},share:function(e,a){var d=stlib.sharer.constructParamString();_$d_();_$d1("Initiating a Share with the following url:");_$d2(stlib.sharer.sharerUrl+d);if((stlib.data.get("destination","shareInfo")=="pinterest"&&stlib.data.get("source","shareInfo").match(/share4xmobile/)==null&&stlib.data.get("source","shareInfo").match(/share4xpage/)==null&&stlib.data.get("source","shareInfo").match(/5xpage/)==null&&(stlib.data.get("image","shareInfo")==false||stlib.data.get("image","shareInfo")==null))||stlib.data.get("destination","shareInfo")=="copy"||stlib.data.get("destination","shareInfo")=="plusone"||stlib.data.get("destination","shareInfo").match(stlib.sharer.regAuto)||(typeof(stlib.nativeButtons)!="undefined"&&stlib.nativeButtons.checkNativeButtonSupport(stlib.data.get("destination","shareInfo")))){var b=new Image(1,1);b.src=stlib.sharer.sharerUrl+d;b.onload=function(){return}}else{if(typeof(a)!="undefined"&&a==true){window.open(stlib.sharer.sharerUrl+d,(new Date()).valueOf(),"scrollbars=1, status=1, height=480, width=640, resizable=1")}else{window.open(stlib.sharer.sharerUrl+d)}}e?e():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/5.0")!=-1||navigator.userAgent.indexOf("Firefox/9.0")!=-1)?false:true;stlib.browser.safari=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1)?true:false;stlib.browser.chrome=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")!=-1)?true:false;stlib.browser.windows=(navigator.userAgent.indexOf("Windows")!=-1)?true:false;stlib.browser.mac=(navigator.userAgent.indexOf("Macintosh")!=-1)?true:false},getIEVersion:function(){return stlib.browser.iemode},isFirefox:function(){return stlib.browser.firefox},firefox8Version:function(){return stlib.browser.firefoxVersion},isSafari:function(){return stlib.browser.safari},isWindows:function(){return stlib.browser.windows},isMac:function(){return stlib.browser.mac}};stlib.browser.init();stlib.browser.mobile={mobile:false,uagent:null,android:null,iOs:null,silk:null,windows:null,kindle:null,init:function(){this.uagent=navigator.userAgent.toLowerCase();if(this.isAndroid()){this.mobile=true}else{if(this.isIOs()){this.mobile=true}else{if(this.isSilk()){this.mobile=true}else{if(this.isWindowsPhone()){this.mobile=true}else{if(this.isKindle()){this.mobile=true}}}}}},isMobile:function isMobile(){return this.mobile},isAndroid:function(){if(this.android===null){this.android=this.uagent.indexOf("android")>-1}return this.android},isKindle:function(){if(this.kindle===null){this.kindle=this.uagent.indexOf("kindle")>-1}return this.kindle},isIOs:function isIOs(){if(this.iOs===null){this.iOs=(this.uagent.indexOf("ipad")>-1)||(this.uagent.indexOf("ipod")>-1)||(this.uagent.indexOf("iphone")>-1)}return this.iOs},isSilk:function(){if(this.silk===null){this.silk=this.uagent.indexOf("silk")>-1}return this.silk},isWindowsPhone:function(){if(this.windows===null){this.windows=this.uagent.indexOf("windows phone")>-1}return this.windows},handleForMobileFriendly:function handleForMobileFriendly(d,q,g){if(!this.isMobile()){return false}if(typeof(stLight)==="undefined"){stLight={};stLight.publisher=q.publisher;stLight.sessionID=q.sessionID;stLight.fpc=""}var l=(typeof(d.title)!=="undefined")?d.title:encodeURIComponent(document.title);var a=(typeof(d.url)!=="undefined")?d.url:document.URL;if(q.service=="sharethis"){var l=(typeof(d.title)!=="undefined")?d.title:encodeURIComponent(document.title);var a=(typeof(d.url)!=="undefined")?d.url:document.URL;var b=document.createElement("form");b.setAttribute("method","GET");b.setAttribute("action","http://edge.sharethis.com/share4x/mobile.html");b.setAttribute("target","_blank");var f={url:a,title:l,destination:q.service,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID};if(typeof(d.image)!="undefined"&&d.image!=null){f.image=d.image}if(typeof(d.summary)!="undefined"&&d.summary!=null){f.desc=d.summary}if(typeof(g)!="undefined"&&typeof(g.exclusive_services)!="undefined"&&g.exclusive_services!=null){f.exclusive_services=g.exclusive_services}if(typeof(q.exclusive_services)!="undefined"&&q.exclusive_services!=null){f.exclusive_services=q.exclusive_services}if(typeof(g)!="undefined"&&typeof(g.services)!="undefined"&&g.services!=null){f.services=g.services}if(typeof(q.services)!="undefined"&&q.services!=null){f.services=q.services}var m=q;if(typeof(g)!="undefined"){m=g}if(typeof(m.doNotHash)!="undefined"&&m.doNotHash!=null){f.doNotHash=m.doNotHash}if(typeof(d.via)!="undefined"&&d.via!=null){f.via=d.via}f.service=q.service;f.type=q.type;if(stlib.data){var k=stlib.json.encode(stlib.data.pageInfo);var j=stlib.json.encode(stlib.data.shareInfo);if(stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()){k=encodeURIComponent(encodeURIComponent(k));j=encodeURIComponent(encodeURIComponent(j))}else{k=encodeURIComponent(k);j=encodeURIComponent(j)}f.pageInfo=k;f.shareInfo=j}for(var n in f){var e=document.createElement("input");e.setAttribute("type","hidden");e.setAttribute("name",n);e.setAttribute("value",f[n]);b.appendChild(e)}document.body.appendChild(b);b.submit();return true}if(q.service=="email"){var h=a+"%0A%0a";h+="Sent using ShareThis";var p="mailto:?";p+="Subject="+l;p+="&body="+h;window.location.href=p;return true}return false}};stlib.browser.mobile.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('')}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('')}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"}},deleteAllSTCookie:function(){var e=document.cookie;e=e.split(";");for(var g=0;g1){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.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(f,h){if(h!=encodeURIComponent(h)){a.notEncoded.test(h)?_$de(f+" not encoded"):null;a.tooEncoded.test(h)?_$de(f+" has too much encoding"):null}var g=a[f]?a[f].test(decodeURIComponent(h)):true;if(!g){_$de(f+" failed validation")}}var d=stlib.data.pageInfo;var e;for(e in d){b(e,d[e])}d=stlib.data.shareInfo;for(e in d){b(e,d[e])}},init:function(){if(!stlib.data.bInit){stlib.data.bInit=true;stlib.data.resetData();stlib.data.set("url",document.location.href,"shareInfo");var g="";stlib.hash.init();stlib.data.set("shareHash",stlib.hash.shareHash,"pageInfo");stlib.data.set("incomingHash",stlib.hash.incomingHash,"pageInfo");if(!stlib.hash.doNotHash){g="#"+stlib.data.get("shareHash","pageInfo")}var f=stlib.hash.updateParams();stlib.data.set("url",f+g,"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 h=Number(Math.random().toPrecision(5).toString().substr(2)).toString();stlib.data.set("sessionID",b+"."+h,"pageInfo");stlib.data.set("hostname",document.location.hostname,"pageInfo");stlib.data.set("location",document.location.pathname,"pageInfo");var e=document.referrer;var j=e.replace("http://","").replace("https://","").split("/");var d=j.shift();var a=j.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"||typeof(d)=="boolean"){stlib.data[b][a]=d}else{if(typeof(d)=="undefined"||d==null){_$d1("Value undefined or null")}else{stlib.data[b][a]=encodeURIComponent(decodeURIComponent(unescape(d.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")));if(a=="url"||a=="location"||a=="image"){try{stlib.data[b][a]=encodeURIComponent(decodeURIComponent(decodeURI(d.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")))}catch(f){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]&&typeof(stlib.data[b][a])!="undefined"){delete stlib.data[b][a]}}};stlib.data.resetData()}stlib.hash={doNotHash:true,hashAddressBar:false,doNotCopy:true,prefix:"sthash",shareHash:"",incomingHash:"",validChars:["1","2","3","4","5","6","7","8","9","0","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],servicePreferences:{linkedin:"param",stumbleupon:"param",bebo:"param"},hashDestination:function(b){if(b=="copy"){return"dpuf"}var 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)}},stripHash:function(a){var b=a;b=b.split("#");if(b.length>1){return b[1]}else{return""}},clearHash:function(){if(stlib.hash.validateHash(document.location.hash)){if(window.history&&history.replaceState){history.replaceState(null,"ShareThis","#")}else{if((/MSIE/).test(navigator.userAgent)){window.location.replace("#")}else{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.doNotHash&&stlib.hash.hashAddressBar){if(document.location.hash==""||stlib.hash.validateHash(document.location.hash)){if(window.history&&history.replaceState){history.replaceState(null,"ShareThis","#"+stlib.hash.shareHash+".dpbs")}else{if((/MSIE/).test(navigator.userAgent)){window.location.replace("#"+stlib.hash.shareHash+".dpbs")}else{document.location.hash=stlib.hash.shareHash+".dpbs"}}}}else{stlib.hash.clearHash()}if(!stlib.hash.doNotHash&&!stlib.hash.doNotCopy){stlib.hash.copyPasteInit()}stlib.hash.copyPasteLog()},checkURL:function(){var a=stlib.data.get("destination","shareInfo");var f=stlib.hash.updateParams(a);var d="."+stlib.hash.hashDestination(a);stlib.hash.updateDestination(d);if(!stlib.hash.doNotHash&&typeof(stlib.data.pageInfo.shareHash)!="undefined"){var b=stlib.data.get("url","shareInfo");var g=stlib.hash.stripHash(b);if(stlib.hash.validateHash(g)||g==""){if(typeof(stlib.hash.servicePreferences[a])!="undefined"){if(stlib.hash.servicePreferences[a]=="param"){_$d1("Don't use hash, use params");_$d2(f);if(f.split("?").length>1){var e=f.split("?")[1].split("&");var h=false;for(arg in e){if(e[arg].split(".")[0]=="sthash"){h=true}}if(h){stlib.data.set("url",f,"shareInfo")}else{stlib.data.set("url",f+"&"+stlib.data.pageInfo.shareHash,"shareInfo")}}else{stlib.data.set("url",f+"?"+stlib.data.pageInfo.shareHash,"shareInfo")}if(a=="linkedin"){if(stlib.data.get("sharURL","shareInfo")!=""){stlib.data.set("sharURL",stlib.data.get("url","shareInfo"),"shareInfo")}}}else{_$d1("Using Hash");stlib.data.set("url",f+"#"+stlib.data.pageInfo.shareHash,"shareInfo")}}else{_$d1("Not using custom destination hash type");stlib.data.set("url",f+"#"+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,24));stlib.data.pageInfo.shareHash=stlib.data.pageInfo.shareHash.substring(0,24)+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}}},validateHash:function(a){var b=/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}$/;var d=/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}\.[a-z]{4}$/;var e=/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-z]{4}$/;var f=/[\?#&]?sthash\.[a-zA-z0-9]{8}$/;return f.test(a)||e.test(a)||d.test(a)||b.test(a)},appendHash:function(a){var b=stlib.hash.stripHash(a);if(stlib.data.pageInfo.shareHash&&(stlib.hash.validateHash(b)||b=="")){a=a.replace("#"+b,"")+"#"+stlib.data.pageInfo.shareHash}else{}return a},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.addEventListener){a.addEventListener("copy",function(j){if(typeof(Tynt)!="undefined"){return}var h=document.getSelection();var g=h.getRangeAt(0).cloneContents();d.innerHTML="";d.appendChild(g);if((h+"").trim().length==0){}else{if(d.innerHTML==(h+"")){d.innerHTML=stlib.hash.selectionModify(h)}else{d.innerHTML+=stlib.hash.selectionModify(h,true)}}var f=document.createRange();f.selectNodeContents(d);var k=h.getRangeAt(0);h.removeAllRanges();h.addRange(f);setTimeout(function(){h.removeAllRanges();h.addRange(k)},0)},false)}else{if(document.attachEvent){}}},copyPasteLog:function(){var d=window.addEventListener?"addEventListener":"attachEvent";var b=d=="attachEvent"?"oncopy":"copy";var a=document.getElementsByTagName("body")[0];a[d](b,function(g){var f=true;stlib.data.resetShareData();stlib.data.set("url",document.location.href,"shareInfo");stlib.data.setSource("copy");stlib.data.set("destination","copy","shareInfo");stlib.data.set("buttonType","custom","shareInfo");if(typeof(Tynt)!="undefined"){stlib.data.set("result","tynt","shareInfo");stlib.logger.log("debug");f=false}if(typeof(addthis_config)!="undefined"){stlib.data.set("result","addThis","shareInfo");if(typeof(addthis_config.data_track_textcopy)=="undefined"||addthis_config.data_track_textcopy){stlib.data.set("enabled","true","shareInfo");f=false}else{stlib.data.set("enabled","false","shareInfo")}stlib.logger.log("debug")}if(f){stlib.data.set("result","pass","shareInfo");stlib.logger.log("debug")}},false)},logCopy:function(a,b){stlib.data.resetShareData();stlib.data.set("url",a,"shareInfo");stlib.data.setSource("copy");stlib.data.set("destination","copy","shareInfo");stlib.data.set("buttonType","custom","shareInfo");if(b){stlib.data.set("description",b,"shareInfo")}stlib.sharer.share()},selectionModify:function(p,n){p=""+p;_$d_();_$d1("Copy Paste");var o=/^((http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))/i;var h=/^([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i;var f=/^\+?1?[\.\-\\)_\s]?[\\(]?[0-9]{3}[\.\-\\)_\s]?[0-9]{3}[\.\-_\s]?[0-9]{4}$|^[0-9]{3}[\.\-_\s]?[0-9]{4}$/;var k=/^[0-9]{3}[\.\-_\s]?[0-9]{8}$/;var m=/^[0-9]{2}[\.\-_\s]?[0-9]{4}[\.\-_\s]?[0-9]{4}$/;var d=/[\-_\.a-z0-9]+@[\-_\.a-z0-9]+\.[\-_\.a-z0-9]+/i;var g=/[\s@]/;var b=document.location.href.split("#").shift();var j="#"+stlib.hash.shareHash;var a="";var l="";var e="";if(typeof(n)=="undefined"&&((o.test(p)||h.test(p))&&!g.test(p.trim()))){_$d2("is Url");if(p.match(/#/)==null||stlib.hash.validateHash(p)){l=p.split("#")[0]+j+".dpuf";e=l}else{l=p;e=l}}else{_$d2("is Not Url");if(document.location.hash==""||(/^#$/).test(document.location.hash)||stlib.hash.validateHash(document.location.hash)){l=b+j+".dpuf"}else{l=document.location.href}e=p;if(p.length>50){a=" - See more at: "+l+"";if(!f.test(p)&&!k.test(p)&&!m.test(p)&&!d.test(p)){e+=a}}}if(p.length>140){p=p.substring(0,137)+"..."}stlib.hash.logCopy(l,p);return((n&&n==true)?a:e)}};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{}var j=window.addEventListener?"addEventListener":"attachEvent";var f=j=="attachEvent"?"onmessage":"message";window[j](f,function(m){if(h==window){}else{if(m.origin.indexOf("sharethis.com")!=-1){if(m.data.match(/#Pinterest Click/)){stlib.sharer.sharePinterest()}}}},false);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);if(m.data.match(/#fragmentPump/)||m.data.match(/#Buttons Ready/)||m.data.match(/#Widget Ready/)||m.data.indexOf("#light")==0||m.data.indexOf("#widget")==0||m.data.indexOf("#popup")==0||m.data.indexOf("#show")==0||m.data.indexOf("#init")==0||m.data.indexOf("#test")==0||m.data.indexOf("#data")==0){l(m.data)}}else{if(m.origin.indexOf("sharethis.com")!=-1){_$d1("arrived in parent from:");_$d(m.origin);if(m.data.match(/#fragmentPump/)||m.data.match(/#Buttons Ready/)||m.data.match(/#Widget Ready/)||m.data.indexOf("#light")==0||m.data.indexOf("#widget")==0||m.data.indexOf("#popup")==0||m.data.indexOf("#show")==0||m.data.indexOf("#init")==0||m.data.indexOf("#test")==0||m.data.indexOf("#data")==0){l(m.data)}else{if(m.data.match(/#Pinterest Click/)){stlib.sharer.sharePinterest()}}}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");var j=document.createElement("")}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(x=="foursquarefollow"){if(typeof(d.username)=="undefined"||d.username==""){return false}if(typeof(d.followId)=="undefined"||d.followId==""){return false}try{var l=document.createElement("
");var j=document.createElement("")}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(x=="googleplusfollow"||x=="googleplusadd"){if(typeof(d.followId)=="undefined"||d.followId==""){return false}try{var r=document.createElement("")}catch(h){r=document.createElement("span")}r.className="stNativeButton stGoogleNative";var p=document.createElement("g:plus");p.setAttribute("href","https://plus.google.com/"+d.followId);p.setAttribute("width","300");p.setAttribute("height","69");r.appendChild(p);return r}else{if(x=="pinterestfollow"){if(typeof(d.username)=="undefined"||d.username==""){return false}try{var b=document.createElement("");var q=document.createElement("");var o=document.createElement("")}catch(h){b=document.createElement("span");q=document.createElement("a");o=document.createElement("img")}b.className="stNativeButton stPinterestfollow";var g=d.username;q.setAttribute("target","_blank");q.setAttribute("href","http://pinterest.com/"+g+"/");o.setAttribute("src","http://passets-cdn.pinterest.com/images/follow-on-pinterest-button.png");o.setAttribute("width","156");o.setAttribute("height","26");o.setAttribute("alt","Follow "+g+" on Pinterest");q.appendChild(o);b.appendChild(q);return b}else{if(x=="twitterfollow"){if(typeof(d.username)=="undefined"||d.username==""){return false}try{var k=document.createElement("")}catch(h){k=document.createElement("iframe")}var m="&screen_name="+d.username;var s="&show_count=false";iedocmode=stlib.browser.getIEVersion();var w="";if(e=="vcount"){s="&show_count=true"}else{if(e=="hcount"){s="&show_count=true"}}k.setAttribute("allowtransparency","true");k.setAttribute("frameborder","0");k.setAttribute("scrolling","no");k.className="stTwitterFollowFrame";k.setAttribute("src","http://platform.twitter.com/widgets/follow_button.html?lang=en&show_screen_name=false"+m+s);var v=document.createElement("span");v.className="stNativeButton stTwitterFollowFrame stTwitterFollow";v.appendChild(k);return v}else{if(x=="youtube"){if(typeof(d.username)=="undefined"||d.username==""){return false}try{var n=document.createElement("");var f=document.createElement("");var a=document.createElement("")}catch(h){n=document.createElement("span");f=document.createElement("a");a=document.createElement("img")}n.setAttribute("class","stNativeButton stYoutube");var g=d.username;f.setAttribute("target","_blank");f.setAttribute("href","http://youtube.com/subscription_center?add_user="+g);a.setAttribute("src","http://s.ytimg.com/yt/img/creators_corner/Subscribe_to_my_videos/YT_Subscribe_130x36_red.png");a.setAttribute("alt","Follow "+g+" on youtube");f.appendChild(a);n.appendChild(f);return n}else{if(x=="linkedinfollow"){if(typeof(d.followId)=="undefined"||d.followId==""){return false}var t=document.createElement("span");t.setAttribute("class","stNativeButton stLinkedinfollow");var u=document.createElement("script");u.type="text/javascript";u.setAttribute("type","IN/FollowCompany");u.setAttribute("data-id",d.followId);u.setAttribute("data-counter","none");if(e=="vcount"){u.setAttribute("data-counter","top")}else{if(e=="hcount"){u.setAttribute("data-counter","right")}}t.appendChild(u);return t}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)}};stlib.nativeCounts={nativeCountServices:{linkedin:true,facebook:true,stumbleupon:true},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&callback="+a+"&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){if(stlib.nativeCounts.nativeCountServices[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={};stFastShareObj.shorten=true;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=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&&esiLoaded==false){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('')}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&&typeof(a.hashAddressBar)!="undefined"){stlib.hash.hashAddressBar=a.hashAddressBar}if(a&&typeof(a.doNotHash)!="undefined"){stlib.hash.doNotHash=a.doNotHash}if(a&&typeof(a.doNotCopy)!="undefined"){stlib.hash.doNotCopy=a.doNotCopy}for(var b in a){if(b=="shorten"){stFastShareObj.shorten=a[b]}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=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(x){var g=x.service;var J=x.text;var Z="";if(typeof(stWidget.options.shorten)!="undefined"){Z=stWidget.options.shorten}if(J==null&&(x.type=="vcount"||x.type=="hcount")){J="Share";if(g=="email"){J="Mail"}}if(g=="fb_like"){g="fblike"}else{if(g=="fblike_fbLong"){g="fblike";x.type="fbLong"}}var h=stWidget.ogurl?stWidget.ogurl:(stWidget.twitterurl?stWidget.twitterurl:document.location.href);h=x.url?x.url:h;var V=h;if(!stlib.hash.doNotHash){V=stlib.hash.appendHash(h);h=V}stlib.data.set("url",V,"shareInfo");var M=stWidget.ogtitle?stWidget.ogtitle:(stWidget.twittertitle?stWidget.twittertitle:document.title);M=x.title?x.title:M;var f=stWidget.ogimg?stWidget.ogimg:(stWidget.twitterimg?stWidget.twitterimg:(x.thumbnail?x.thumbnail:null));f=(x.image)?x.image:f;var ab=stWidget.desc?stWidget.desc:"";ab=stWidget.ogdesc?stWidget.ogdesc:(stWidget.twitterdesc?stWidget.twitterdesc:stWidget.desc);ab=(x.summary&&x.summary!=null)?x.summary:ab;var t=(x.message&&x.message!=null)?x.message:"";if(/(http|https):\/\//.test(h)==false){h=decodeURIComponent(h);M=decodeURIComponent(M)}var ah=document.createElement("span");ah.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;");ah.className="stButton";if(x.type=="custom"&&g!="email"&&g!="sharethis"&&g!="wordpress"){x.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("shorten",Z,"shareInfo");stlib.data.set("title",M,"shareInfo");stlib.data.set("destination",g,"shareInfo");stlib.data.setSource("chicklet");stlib.data.set("buttonType",x.type,"shareInfo");if(typeof(f)!="undefined"&&f!=null){stlib.data.set("image",f,"shareInfo")}if(typeof(ab)!="undefined"&&ab!=null){stlib.data.set("description",ab,"shareInfo")}if(t!=""){stlib.data.set("message",t,"shareInfo")}if(x.element.getAttribute("st_username")!=null){stlib.data.set("refUsername",x.element.getAttribute("st_username"),"shareInfo")}if(g=="twitter"&&x.element.getAttribute("st_via")!=null){stlib.data.set("via",x.element.getAttribute("st_via").replace(/^\s+|\s+$/g,""),"shareInfo")}stlib.sharer.share(null,stWidget.options.servicePopup);if(g=="pinterest"&&(stlib.data.get("image","shareInfo")==false||stlib.data.get("image","shareInfo")==null)){stlib.sharer.sharePinterest()}};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"))))){ah.onclick=function(){_$d_();_$d1("Clicked on a regular button to share");stLight.callSubscribers("click",g,h);var b=this.getElementsByTagName("*");for(var a=0;a0){m=o[0]}}e.setAttribute("href",m);if(x.type=="vcount"){e.setAttribute("size","tall");H.setAttribute("style",Q+"vertical-align:bottom;width:55px; height:61px;");y&&H.style.setAttribute?H.style.setAttribute("cssText",Q+"vertical-align:bottom;width:55px; height:61px;",0):null;(iedocmode&&(iedocmode==7)&&H.style.setAttribute)?H.style.setAttribute("cssText",F+"vertical-align:bottom;bottom:-8px;width:55px; height:80px;",0):(null)}else{if(x.type=="hcount"){e.setAttribute("size","medium");e.setAttribute("count","true");H.setAttribute("style",Q+"position:relative;vertical-align:middle;bottom:0px;width:75px; height:21px;");y&&H.style.setAttribute?H.style.setAttribute("cssText",Q+"position:relative;vertical-align:middle;width:75px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&H.style.setAttribute)?H.style.setAttribute("cssText",F+"vertical-align:middle;bottom:2px;width:75px; height:21px;",0):(null)}else{if(x.type=="button"){e.setAttribute("size","medium");e.setAttribute("count","false");H.setAttribute("style",Q+"position:relative;vertical-align:middle;bottom:0px;width:36px; height:21px;");y&&H.style.setAttribute?H.style.setAttribute("cssText",Q+"position:relative;vertical-align:middle;width:36px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&H.style.setAttribute)?H.style.setAttribute("cssText",F+"vertical-align:middle;bottom:-8px;width:36px; height:39px;",0):(null)}else{if(x.type=="large"){e.setAttribute("size","large");e.setAttribute("count","false");H.setAttribute("style",Q+"position:relative;vertical-align:middle;bottom:12px;width:38px; height:27px;");y&&H.style.setAttribute?H.style.setAttribute("cssText",Q+"position:relative;vertical-align:middle;bottom:0px;width:38px; height:30px;",0):null;(iedocmode&&((iedocmode==8)||(iedocmode==9))&&H.style.setAttribute)?H.style.setAttribute("cssText",F+"vertical-align:middle;bottom:7px;width:38px; height:39px;",0):(null);(iedocmode&&(iedocmode==7)&&H.style.setAttribute)?H.style.setAttribute("cssText",F+"vertical-align:middle;bottom:1px;width:38px; height:39px;",0):(null)}else{e.setAttribute("size","small");e.setAttribute("count","false");H.setAttribute("style",Q+"position:relative;vertical-align:middle;bottom:0px;width:36px; height:16px;");y&&H.style.setAttribute?H.style.setAttribute("cssText",Q+"position:relative;vertical-align:middle;width:36px; height:16px;",0):null;(iedocmode&&(iedocmode==7)&&H.style.setAttribute)?H.style.setAttribute("cssText",F+"vertical-align:middle;bottom:-12px;width:36px; height:36px;",0):(null)}}}}H.appendChild(e);e.setAttribute("callback","plusoneCallback");return H}var k=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";var aa=document.createElement("img");aa.src=k+"check-big.png";aa.style.position="absolute";aa.style.top="-7px";aa.style.right="-7px";aa.style.width="19px";aa.style.height="19px";aa.style.maxWidth="19px";aa.style.maxHeight="19px";var u=g;function p(a){var ai=new Date();var b=null;var aj=0;do{b=new Date();aj++;if(aj>a){break}}while(((b-ai)')}catch(ac){S=document.createElement("iframe");S.setAttribute("allowTransparency","true");S.setAttribute("frameborder","0");S.setAttribute("scrolling","no")}var af=encodeURIComponent(h);S.setAttribute("src","http://platform.twitter.com/widgets/tweet_button.html?count="+l+"&url="+af);S.setAttribute("style","width:"+I+"px;height:"+ad+"px;");(iedocmode&&(iedocmode==7)&&S.style.setAttribute)?S.style.setAttribute("cssText","width:"+I+"px;height:"+ad+"px;",0):null;if((useFastShare&&servicesLoggedIn&&typeof(servicesLoggedIn[g])!="undefined")){r.appendChild(U)}r.appendChild(S);D=r;D.appendChild(aa);Y.appendChild(D);Y.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;vertical-align:bottom;margin-top:6px;width:"+I+"px;height:"+ad+"px;");(iedocmode&&(iedocmode==7)&&Y.style.setAttribute)?Y.style.setAttribute("cssText","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;vertical-align:bottom;width:"+I+"px;height:"+ad+"px;",0):null;ah=Y}else{if(g=="facebook"){stButtons.getXFBMLFromFB(x);return stButtons.makeFBButton("fblike",x.type,h)}else{if(g=="linkedin"){}}}}}}else{if(x.type=="css"){var D=document.createElement("div");D.className="stCSSButton";if(x.cssType=="cssV"){var C=document.createElement("div");C.className="stCSSVBubble";var N=document.createElement("div");N.className="stCSSVBubble_count";C.appendChild(N);var n=document.createElement("div");n.className="stCSSVArrow";var R=document.createElement("div");R.className="stCSSVArrowBorder";R.appendChild(n);ah.appendChild(C);ah.appendChild(R);stButtons.getCount2(h,g,N)}var d=document.createElement("div");d.className="stCSSSprite "+g;d.innerHTML=" ";var O=document.createElement("span");O.className="stCSSText";D.appendChild(d);if(J==null||J==""){}else{O.appendChild(document.createTextNode(J));D.appendChild(O)}D.appendChild(aa);ah.appendChild(D);if(x.cssType=="cssH"){var B=document.createElement("div");B.className="stCSSHBubble";var N=document.createElement("div");N.className="stCSSHBubble_count";B.appendChild(N);var ae=document.createElement("div");ae.className="stCSSHArrow";var q=document.createElement("div");q.className="stCSSHArrowBorder";q.appendChild(ae);ah.appendChild(q);ah.appendChild(B);stButtons.getCount2(h,g,N)}}}}}}}return ah};stButtons.makeFBButton=function(k,m,b){try{var j=document.createElement("
")}catch(e){j=document.createElement("div")}if((/#sthash/i).test(b)){var n=b.split("#");if(n.length>0){b=n[0]}}var d=b;var h="button_count";var l="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"){l="fb-like";h="standard";j.setAttribute("data-layout",h);j.setAttribute("data-send","false");j.setAttribute("data-show-faces","false")}else{if(k=="fbsend"){l="fb-send"}else{if(k=="fblike"||k=="fbrec"){(k=="fbrec")?f="recommend":null;l="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"){l="fb-subscribe";j.setAttribute("data-layout",h);j.setAttribute("data-show-faces","false")}}}}j.setAttribute("class",l);j.setAttribute("data-href",d);if(iedocmode&&(iedocmode==7)){if(k!="fbsend"){j=document.createElement("
")}else{j=document.createElement("
")}}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);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(stWidget.options.nativeCount&&stlib.nativeCounts.checkNativeCountServicesQueue(a)){if(a=="facebook"){if((/#/).test(d)){d=d.split("#")[0]}}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"){if(typeof(stButtons.countsNativeResp[a.result.url])!="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"){if(typeof(stButtons.countsNativeResp[a.url])!="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"){if(typeof(stButtons.countsNativeResp[a[0].url])!="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=stWidget.options.minShareCount){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"){if(stWidget.options.minShareCount==null||b.facebook2>=stWidget.options.minShareCount){h=stButtons.human(b.facebook2)}}else{if(typeof(b[f.service])!="undefined"){if(stWidget.options.minShareCount==null||b[f.service]>=stWidget.options.minShareCount){h=(b[f.service]>0)?stButtons.human(b[f.service]):"0"}}else{if(stWidget.options.minShareCount==null||stWidget.options.minShareCount<=0){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=stWidget.options.minShareCount){h=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=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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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"),message:(v[D].getAttribute("st_msg")!=null)?v[D].getAttribute("st_msg"):v[D].getAttribute("st_message"),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=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');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.twittertitle=null;this.twitterdesc=null;this.twitterurl=null;this.twitterimg=null;this.twittercard=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(stButtons.messageQueueInstance==null){stButtons.messageQueueInstance=new stlib.messageQueue()}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);setTimeout("stWidget.initIE=true;",2500)}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.minShareCount=null;this.publisherGA=null;this.services="";this.relatedDomain=null;this.hashAddressBar=false;this.doNotHash=true;this.doNotCopy=true;this.nativeCount=false;this.lang="";this.fbLang="";this.fbLoad=true;this.servicePopup=false;this.textcause=null;this.linkcause=null};stWidget.addEntry=function(a){if(!a.element){return false}if(a&&a.service&&((a.service=="email"||a.service=="sharethis"||a.service=="wordpress")||((stIsLoggedIn&&servicesLoggedIn&&typeof(servicesLoggedIn[a.service])!="undefined"&&((useFastShare||(!useFastShare&&switchTo5x))&&(a.service=="facebook"||a.service=="twitter"||a.service=="yahoo"||a.service=="linkedin")))))){openWidget=true}else{openWidget=false}if(!openWidget){if(a.type!=="custom"){a.element.appendChild(stButtons.makeButton(a));if(a.service=="plusone"||a.service=="googleplusfollow"||a.service=="googleplusadd"){stButtons.getPlusOneFromGoogle(a.service)}if(a.service=="fblike"||a.service=="fbsend"||a.service=="fbrec"||a.service=="fbLong"||a.service=="fbsub"){stButtons.getXFBMLFromFB(a.element)}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"||a.service=="googleplusfollow"||a.service=="googleplusadd"){stButtons.getPlusOneFromGoogle(a.service)}if(a.service=="fblike"||a.service=="fbsend"||a.service=="fbrec"||a.service=="fbLong"||a.service=="fbsub"){stButtons.getXFBMLFromFB(a.element)}if(stlib.nativeButtons.checkNativeButtonSupport(a.service)){stlib.nativeButtons.loadService(a.service)}}else{stButtons.makeButton(a)}var d=new Shareable(a);d.idx=stWidget.entries;stWidget.entries++;d.publisher=stLight.publisher;d.sessionID=stLight.sessionID;d.fpc=stLight.fpc;if(a.element.getAttribute("st_via")!=null){d.via=a.element.getAttribute("st_via").replace(/^\s+|\s+$/g,"")}d.url=stWidget.ogurl?stWidget.ogurl:(stWidget.twitterurl?stWidget.twitterurl:document.location.href);d.url=a.url?a.url:d.url;if(!stlib.hash.doNotHash){d.url=stlib.hash.appendHash(d.url);a.url=d.url}stlib.data.set("url",d.url,"shareInfo");d.title=stWidget.ogtitle?stWidget.ogtitle:(stWidget.twittertitle?stWidget.twittertitle:document.title);d.title=a.title?a.title:d.title;var b=stWidget.ogimg?stWidget.ogimg:(stWidget.twitterimg?stWidget.twitterimg:(a.element.thumbnail?a.element.thumbnail:null));d.image=(a.element.image)?a.element.image:b;d.summary=stWidget.ogdesc?stWidget.ogdesc:(stWidget.twitterdesc?stWidget.twitterdesc:stWidget.desc);d.summary=a.element.summary?a.element.summary:d.summary;stWidget.merge(d,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"}d.mouseOn=function(){stWidget.mouseOnTimer=setTimeout(d.decideFastShare,500)};d.mouseOut=function(){clearInterval(stWidget.mouseOnTimer)};d.decideFastShare=function(){if(stlib.browser.ieFallback){if(typeof(stWidget.initIE)=="undefined"||stWidget.initIE!=true){return}}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(stlib.browser.mobile.handleForMobileFriendly(d,a,stWidget.options)){stLight.log("widget","mobile",a.service,a.type)}else{d.popup()}}else{stLight.log("widget","fastShare",a.service,a.type);stFastShareObj.url=d.url;stFastShareObj.title=d.title;stFastShareObj.image=d.image;if(typeof(d.summary)!="undefined"&&d.summary!=null){stFastShareObj.summary=d.summary}stFastShareObj.via=null;if(a.service=="twitter"&&d.element.getAttribute("st_via")!=null){stFastShareObj.via=d.element.getAttribute("st_via").replace(/^\s+|\s+$/g,"")}stFastShareObj.message=d.message;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()}}};d.popup=function(){if(stWidget.widgetOpen==false){if(!switchTo5x){stWidget.stCancelClose()}var h=stLight.getSource2(a);stLight.log("widget",h,a.service,a.type);if(stWidget.options.popup&&!switchTo5x){var k=stWidget.createFrag(d);_$d_();_$d1("4x Popup Called");_$d1(k);_$d_();window.open(stWidget.frameUrl4x+"#"+k,"newstframe","status=1,toolbar=0,width=345,height=375")}else{if(stWidget.options.popup&&switchTo5x){var j="http://sharethis.com/share?url="+d.url;if(d.title!=null){j+="&title="+d.title}if(d.image!=null){j+="&img="+d.image}if(d.summary!=null){j+="&summary="+d.summary}if(a.type!=null){j+="&type="+a.type}if(d.via!=null){j+="&via="+d.via}var g="";if(stlib.data){var f=stlib.json.encode(stlib.data.pageInfo);var e=stlib.json.encode(stlib.data.shareInfo);if(stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()){f=encodeURIComponent(encodeURIComponent(f));e=encodeURIComponent(encodeURIComponent(e))}else{f=encodeURIComponent(f);e=encodeURIComponent(e)}g="&pageInfo="+f+"&shareInfo="+e}window.open(j+g,"newstframe","status=1,toolbar=0,width=820,height=950")}else{stButtons.messageQueueInstance.send(stWidget.createFrag(d),"light");stWidget.positionWidget(d);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};d.init();stlib.buttonInfo.addButton(d);return d}};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;a2){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