var cookie=new function(){return{setCookie:function(d,f,h){if(h){var c=new Date();c.setTime(c.getTime()+(h*24*60*60*1000));var a="; expires="+c.toGMTString()}else{var a=""}var b=d+"="+escape(f)+a;var g=document.domain.split(/\./);var e="";if(g.length>1){e="."+g[g.length-2]+"."+g[g.length-1]}b+="; domain="+escape(e)+";path=/";document.cookie=b},getCookie:function(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else{return false}},deleteCookie:function(a){var c="/";var d=document.domain.split(/\./);var b="";if(d.length>1){b="."+d[d.length-2]+"."+d[d.length-1]}document.cookie=a+"="+((c)?";path="+c:"")+((b)?";domain="+b:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}}}();__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;var betaBlacklist=["computerworld.com","networkworld.com","cio.com","infoworld.com","forbes.com","perezhilton.com","pgestore.com","thepostgame.com"];if(typeof(switchTo5x)=="undefined"){switchTo5x=false;var rNumFor5x=cookie.getCookie("__switchTo5x");if(rNumFor5x==false){var rNumFor5x=1+Math.floor(Math.random()*100);cookie.setCookie("__switchTo5x",rNumFor5x,"300")}var testLimitFor5x=0;if(rNumFor5x<=testLimitFor5x){switchTo5x=true}for(var i=0;i<betaBlacklist.length;i++){if(document.domain.search(betaBlacklist[i])!="-1"){switchTo5x=false;break}}}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}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;stButtons.onReady()};stLight.getSource=function(){var a="share4x";if(switchTo5x){a="share5x"}if(stLight.hasButtonOnPage()){if(stLight.loadedFromBar){if(switchTo5x){a="bar_share5x"}else{a="bar_share4x"}}}else{if(stLight.loadedFromBar){a="bar"}}return a};stLight.log=function(d,e,c){var f=(("https:"==document.location.protocol)?"https://l.":"http://l.")+"sharethis.com/log?event=";if(d=="pview"){f=(("https:"==document.location.protocol)?"https://l.":"http://l.")+"sharethis.com/pview?event="}var a=stLight.dbrInfo();if(a==false){a=""}f+=d;f+="&source="+e;if(c!=""){f+="&type="+c}f+="&publisher="+encodeURIComponent(stLight.publisher)+"&hostname="+encodeURIComponent(stLight.meta.hostname)+"&location="+encodeURIComponent(stLight.meta.location)+"&url="+encodeURIComponent(document.location.href)+"&sessionID="+stLight.sessionID+"&fpc="+stLight.fpc+"&ts"+(new Date()).getTime()+"."+stLight.counter+++a;var b=new Image(1,1);b.src=f;b.onload=function(){return};if(d=="pview"){stLight.createSegmentFrame()}};stLight._stFpc=function(){if(!document.domain||document.domain.search(/\.gov/)>0){return false}var g=stLight._stGetFpc("__unam");if(g==false){var c=Math.round(Math.random()*2147483647);c=c.toString(16);var h=(new Date()).getTime();h=h.toString(16);var e="";var a=stLight._stGetD();a=a.split(/\./)[1];if(!a){return false}e=stLight._stdHash(a)+"-"+h+"-"+c+"-1";g=e;stLight._stSetFpc(g)}else{var b=g;var f=b.split(/\-/);if(f.length==4){var d=Number(f[3]);d++;b=f[0]+"-"+f[1]+"-"+f[2]+"-"+d;g=b;stLight._stSetFpc(g)}}return g};stLight._stSetFpc=function(g){var a="__unam";var c=new Date;var j=c.getFullYear();var f=c.getMonth()+9;var h=c.getDate();var d=a+"="+escape(g);if(j){var b=new Date(j,f,h);d+="; expires="+b.toGMTString()}var e=stLight._stGetD();d+="; domain="+escape(e)+";path=/";document.cookie=d};stLight._stGetD=function(){var b=document.domain.split(/\./);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 e=0,d=0;for(var c=a.length-1;c>=0;c--){var b=parseInt(a.charCodeAt(c));e=((e<<8)&268435455)+b+(b<<12);if((d=e&161119850)!=0){e=(e^(d>>20))}}return e.toString(16)};stLight._thisScript=null;stLight.getShareThisLightScript=function(){var d=document.getElementsByTagName("script");var c=null;for(var b=0;b<d.length;b++){var a=d[b].src;if(a.search(/.*sharethis.*\/button\/light.*/)>=0){c=d[b]}}return c};stLight.dbrInfo=function(){var a=document.referrer;var d=new RegExp(document.domain,"gi");if(d.test(a)==true){return false}if(a&&a.length>0){var c=/(http:\/\/)(.*?)\/.*/i;var b=/(^.*\?)(.*)/ig;var g="";var f=a.replace(c,"$2");if(f.length>0){g+="&refDomain="+f}else{return false}var e=a.replace(b,"$2");if(e.length>0){g+="&refQuery="+encodeURIComponent(e)}return g}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"){b()}};this.head.appendChild(this.script)};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}for(var a in userDetails){if(a=="buzz"){servicesLoggedIn.gbuzz=userDetails[a];break}}}esiLoaded=true})}catch(err){}}if(window.document.readyState=="completed"){stLight.onReady()}else{if(typeof(window.addEventListener)!="undefined"){window.addEventListener("load",stLight.onReady,false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("load",stLight.onReady,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",stLight.onReady)}}}}stLight.createSegmentFrame=function(){try{stLight.segmentframe=document.createElement('<iframe name="stframe" allowTransparency="true" style="body{background:transparent;}" ></iframe>')}catch(b){stLight.segmentframe=document.createElement("iframe")}stLight.segmentframe.id="stSegmentFrame";stLight.segmentframe.name="stSegmentFrame";var c=document.body;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;");c.appendChild(stLight.segmentframe)};stLight.fpc=stLight._stFpc();stLight.options=function(a){if(a&&a.publisher){stLight.publisher=a.publisher}if(a&&a.loadedFromBar){stLight.loadedFromBar=a.loadedFromBar}if(a&&a.clickCallBack&&typeof(a.clickCallBack)=="function"){stLight.clickCallBack=a.clickCallBack}for(var b in a){if(stWidget.options.hasOwnProperty(b)&&a[b]!==null){stWidget.options[b]=a[b]}}};stLight.hasButtonOnPage=function(){var d=document.getElementsByTagName("*");var c=new RegExp(/^st_(.*?)$/);var a=d.length;for(var b=0;b<a;b++){if(typeof(d[b].className)=="string"&&d[b].className!=""){if(d[b].className.match(c)&&d[b].className.match(c).length>=2&&d[b].className.match(c)[1]){return true}}}return false}}var stButtons={};stButtons.smartifyButtons=function(a){if(typeof(a)!="undefined"&&a!="undefined"){stRecentServices=a;for(var b in stRecentServices){stRecentServices[b].processed=false}}stButtons.completeInit()};stButtons.makeButton=function(r){var f=r.service;var C=r.text;if(C==null&&(r.type=="vcount"||r.type=="hcount")){C="Share"}if(f=="fb_like"){f="fblike"}else{if(f=="fblike_fbLong"){f="fblike";r.type="fbLong"}}var g=stWidget.ogurl?stWidget.ogurl:document.location.href;g=r.url?r.url:g;var F=stWidget.ogtitle?stWidget.ogtitle:document.title;F=r.title?r.title:F;var e=(r.thumbnail&&r.thumbnail!=null)?r.thumbnail:stWidget.ogimg;var N=stWidget.desc?stWidget.desc:"";N=stWidget.ogdesc?stWidget.ogdesc:stWidget.desc;N=(r.description&&r.description!=null)?r.description:N;if(/(http|https):\/\//.test(g)==false){g=decodeURIComponent(g);F=decodeURIComponent(F)}if(/(http|https):\/\//.test(g)==false){g=decodeURIComponent(g);F=decodeURIComponent(F)}var S=document.createElement("span");S.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;");S.className="stButton";if(r.type=="custom"&&f!="email"&&f!="sharethis"){r.element.onclick=function(){var T=document.createElement("form");T.setAttribute("method","GET");T.setAttribute("action","http://wd.sharethis.com/api/sharer.php");T.setAttribute("target","_blank");var U={url:g,title:F,destination:f,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID};if(typeof(e)!="undefined"&&e!=null){U.image=e}if(typeof(N)!="undefined"&&N!=null){U.desc=N}U.service=r.service;U.type=r.type;for(var b in U){var a=document.createElement("input");a.setAttribute("type","hidden");a.setAttribute("name",b);a.setAttribute("value",U[b]);T.appendChild(a)}document.body.appendChild(T);T.submit()};return false}if(!((f=="email"||f=="sharethis")||(stIsLoggedIn&&servicesLoggedIn&&typeof(servicesLoggedIn[f])!="undefined"&&((useFastShare||(!useFastShare&&switchTo5x))&&(f=="facebook"||f=="twitter"||f=="gbuzz"||f=="yahoo"||f=="linkedin"))))){S.onclick=function(){var U=this.getElementsByTagName("*");for(var T=0;T<U.length;T++){if(U[T].className=="stBubble_hcount"||U[T].className=="stBubble_count"){if(!isNaN(U[T].innerHTML)){U[T].innerHTML=Number(U[T].innerHTML)+1}}}if(stWidget.options.tracking){shareLog(f)}var V=document.createElement("form");V.setAttribute("method","GET");V.setAttribute("action","http://wd.sharethis.com/api/sharer.php");V.setAttribute("target","_blank");var W={url:g,title:F,destination:f,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID};if(typeof(e)!="undefined"&&e!=null){W.image=e}if(typeof(N)!="undefined"&&N!=null){W.desc=N}W.service=r.service;W.type=r.type;for(var b in W){var a=document.createElement("input");a.setAttribute("type","hidden");a.setAttribute("name",b);a.setAttribute("value",W[b]);V.appendChild(a)}document.body.appendChild(V);V.submit()}}if(f=="fblike"){try{var B=document.createElement('<iframe name="stLframe" scrolling="no" frameBorder="0" allowTransparency="true" style="body{background:transparent;}" ></iframe>')}catch(O){B=document.createElement("iframe");B.allowTransparency="true";B.setAttribute("allowTransparency","true");B.frameBorder="0";B.setAttribute("frameBorder","0");B.scrolling="no";B.setAttribute("scrolling","no")}var R="http://wd.sharethis.com/api/sharer.php?destination=fblike&url="+encodeURIComponent(g);var E="button_count";iedocmode=null;if(window.navigator.appName=="Microsoft Internet Explorer"){if(document.documentMode){iedocmode=document.documentMode}else{iedocmode=5;if(document.compatMode){if(document.compatMode=="CSS1Compat"){iedocmode=7}}}}var h=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1);if(r.type=="vcount"){E="box_count";h?B.setAttribute("style","border:none; overflow:hidden; width:55px; height:65px; position:relative; top:13px;"):B.setAttribute("style","border:none; overflow:hidden; width:55px; height:65px; position:relative; top:12px;");(iedocmode&&(iedocmode==7)&&B.style.setAttribute)?B.style.setAttribute("cssText","border:none; overflow:hidden; width:55px; height:65px; position:relative; top:7px;",0):(null);B.width="55px";B.height="65px"}else{if(r.type=="hcount"){h?B.setAttribute("style","border:none; overflow:hidden; width:90px; height:21px; position:relative; top:8px;"):B.setAttribute("style","border:none; overflow:hidden; width:90px; height:21px; position:relative; top:7px;");B.width="90px";B.height="21px"}else{if(r.type=="large"){h?B.setAttribute("style","border:none; overflow:hidden; width:50px; height:27px; position:relative; top:1px;"):B.setAttribute("style","border:none; overflow:hidden; width:50px; height:27px; position:relative; top:0px;");B.width="90px";B.height="21px"}else{if(r.type=="fbLong"){E="standard";B.setAttribute("style","border:none; position:relative;vertical-align:text-top;width:300px; height:29px; ");B.width="300px";B.height="29px"}else{if(r.type=="button"){h?B.setAttribute("style","border:none; overflow:hidden; width:50px; height:21px; position:relative; top:8px;"):B.setAttribute("style","border:none; overflow:hidden; width:50px; height:21px; position:relative; top:7px;");B.width="90px";B.height="21px"}else{h?B.setAttribute("style","border:none; overflow:hidden; width:50px; height:21px; position:relative; top:6px;"):B.setAttribute("style","border:none; overflow:hidden; width:50px; height:21px; position:relative; top:7px;");B.width="90px";B.height="21px"}}}}}B.src="http://www.facebook.com/plugins/like.php?href="+encodeURIComponent(R)+"&layout="+E+"&show_faces=false&width=90&action=like&colorscheme=light&height=21";return B}if(f=="plusone"){stButtons.loadPlusone=true;var A=document.createElement("div");A.innerHTML="&nbsp;";iedocmode=null;if(window.navigator.appName=="Microsoft Internet Explorer"){if(document.documentMode){iedocmode=document.documentMode}else{iedocmode=5;if(document.compatMode){if(document.compatMode=="CSS1Compat"){iedocmode=7}}}}var s=(navigator.userAgent.indexOf("MSIE 7.0")!=-1);var h=(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1);var J="display:inline-block;overflow:hidden;line-height:0px;vertical-align:bottom;";var x="overflow:hidden;zoom:1;display:inline;vertical-align:bottom;";var y="overflow:hidden;zoom:1;display:inline;vertical-align:bottom;position:relative;";var d=document.createElement("g:plusone");d.setAttribute("href",g);if(r.type=="vcount"){d.setAttribute("size","tall");h?A.setAttribute("style",J+"width:55px; height:60px;"):A.setAttribute("style",J+"width:55px; height:61px;");s&&A.style.setAttribute?A.style.setAttribute("cssText",x+"width:55px; height:61px;",0):null;(iedocmode&&(iedocmode==7)&&A.style.setAttribute)?A.style.setAttribute("cssText",y+"bottom:10px;width:55px; height:80px;",0):(null)}else{if(r.type=="hcount"){d.setAttribute("size","medium");d.setAttribute("count","true");h?A.setAttribute("style",J+"width:90px; height:21px;"):A.setAttribute("style",J+"width:90px; height:21px;");s&&A.style.setAttribute?A.style.setAttribute("cssText",x+"width:90px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&A.style.setAttribute)?A.style.setAttribute("cssText",y+"bottom:13px;width:90px; height:36px;",0):(null)}else{if(r.type=="button"){d.setAttribute("size","medium");d.setAttribute("count","false");h?A.setAttribute("style",J+"width:36px; height:21px;"):A.setAttribute("style",J+"width:36px; height:21px;");s&&A.style.setAttribute?A.style.setAttribute("cssText",x+"width:36px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&A.style.setAttribute)?A.style.setAttribute("cssText",y+"bottom:15px;width:36px; height:39px;",0):(null)}else{if(r.type=="large"){d.setAttribute("size","medium");d.setAttribute("count","false");h?A.setAttribute("style",J+"width:36px; height:30px;"):A.setAttribute("style",J+"width:36px; height:32px;");s&&A.style.setAttribute?A.style.setAttribute("cssText",x+"width:36px; height:32px;",0):null;(iedocmode&&(iedocmode==7)&&A.style.setAttribute)?A.style.setAttribute("cssText",y+"bottom:12px;width:36px; height:39px;",0):(null)}else{d.setAttribute("size","small");d.setAttribute("count","false");h?A.setAttribute("style",J+"width:36px; height:15px;"):A.setAttribute("style",J+"width:36px; height:16px;");s&&A.style.setAttribute?A.style.setAttribute("cssText",x+"width:36px; height:21px;",0):null;(iedocmode&&(iedocmode==7)&&A.style.setAttribute)?A.style.setAttribute("cssText",y+"bottom:0px;width:36px; height:36px;",0):(null)}}}}A.appendChild(d);d.setAttribute("callback","plusoneCallback");return A}var j=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";var M=document.createElement("img");M.src=j+"check-big.png";M.style.position="absolute";M.style.top="-7px";M.style.right="-7px";var o=f;function l(a){var T=new Date();var b=null;var U=0;do{b=new Date();U++;if(U>a){break}}while(((b-T)<a)||!esiLoaded)}if(!esiLoaded&&(f=="facebook"||f=="twitter"||f=="gbuzz"||f=="linkedin"||f=="yahoo")){l(500)}if(!(useFastShare&&servicesLoggedIn&&typeof(servicesLoggedIn[f])!="undefined"&&(f=="facebook"||f=="twitter"||f=="gbuzz"||f=="linkedin"||f=="yahoo"))){M.style.display="none"}if(r.type=="chicklet"){var H=document.createElement("span");H.className="chicklets "+f;if(C==null){H.innerHTML="&nbsp;";S.style.paddingLeft="0px";S.style.paddingRight="0px";S.style.width="16px"}else{H.appendChild(document.createTextNode(C));M.style.right="auto";M.style.left="8px";M.style.top="-5px"}S.appendChild(H);M.src=j+"check-small.png";M.style.top="-6px";S.appendChild(M);return S}else{if(r.type=="large"){var H=document.createElement("span");H.className="stLarge";S.appendChild(H);H.style.backgroundImage="url('"+j+o+"_32.png')";S.appendChild(M);return S}else{if(r.type=="pcount"||r.type=="stbar"||r.type=="stsmbar"){var w=document.createElement("span");var H=document.createElement("span");if(r.type=="stsmbar"){H.className="stSmBar";var j=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";H.style.backgroundImage="url('"+j+o+"_16.png')";M.src=j+"check-small.png"}else{H.className="stLarge";var j=("https:"==document.location.protocol)?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/";H.style.backgroundImage="url('"+j+o+"_32.png')"}H.appendChild(M);w.appendChild(H);var p=document.createElement("span");var Q=document.createElement("div");if(r.type=="stsmbar"){Q.className="stBubbleSmHoriz"}else{Q.className="stBubbleSm"}Q.setAttribute("id","stBubble_"+r.count);Q.style.visibility="hidden";var L=document.createElement("div");L.className="stBubble_count_sm";Q.appendChild(L);p.appendChild(Q);p.appendChild(w);S.appendChild(p);stButtons.getCount(g,f,L);w.onmouseover=function(){var a=document.getElementById("stBubble_"+r.count);a.style.visibility="visible"};w.onmouseout=function(){var a=document.getElementById("stBubble_"+r.count);a.style.visibility="hidden"};return S}else{if(r.type=="button"||r.type=="vcount"||r.type=="hcount"){var w=document.createElement("span");w.className="stButton_gradient";var D=document.createElement("span");D.className="chicklets "+f;if(C==null){D.innerHTML="&nbsp;"}else{D.appendChild(document.createTextNode(C))}w.appendChild(D);if(f=="facebook"||f=="twitter"||f=="gbuzz"||f=="linkedin"||f=="yahoo"){var q=document.createElement("span");q.className="stMainServices st-"+f+"-counter";q.innerHTML="&nbsp";w=q;q.style.backgroundImage="url('"+j+o+"_counter.png')"}w.appendChild(M);if(r.type=="vcount"){var p=document.createElement("div");var Q=document.createElement("div");Q.className="stBubble";var L=document.createElement("div");L.className="stBubble_count";Q.appendChild(L);p.appendChild(Q);p.appendChild(w);S.appendChild(p);stButtons.getCount(g,f,L)}else{if(r.type=="hcount"){var p=document.createElement("span");var I=document.createElement("span");I.className="stButton_gradient stHBubble";var n=document.createElement("span");n.className="stButton_left";n.innerHTML="&nbsp;";var t=document.createElement("span");t.className="stButton_right";t.innerHTML="&nbsp;";var L=document.createElement("span");L.className="stBubble_hcount";I.appendChild(L);p.appendChild(w);var z=document.createElement("span");z.className="stArrow";z.appendChild(I);p.appendChild(z);S.appendChild(p);stButtons.getCount(g,f,L)}else{S.appendChild(w)}}}else{if(r.type=="css"){var w=document.createElement("div");w.className="stCSSButton";if(r.cssType=="cssV"){var v=document.createElement("div");v.className="stCSSVBubble";var G=document.createElement("div");G.className="stCSSVBubble_count";v.appendChild(G);var k=document.createElement("div");k.className="stCSSVArrow";var K=document.createElement("div");K.className="stCSSVArrowBorder";K.appendChild(k);S.appendChild(v);S.appendChild(K);stButtons.getCount(g,f,G)}var c=document.createElement("div");c.className="stCSSSprite "+f;c.innerHTML="&nbsp;";var H=document.createElement("span");H.className="stCSSText";w.appendChild(c);if(C==null||C==""){}else{H.appendChild(document.createTextNode(C));w.appendChild(H)}w.appendChild(M);S.appendChild(w);if(r.cssType=="cssH"){var u=document.createElement("div");u.className="stCSSHBubble";var G=document.createElement("div");G.className="stCSSHBubble_count";u.appendChild(G);var P=document.createElement("div");P.className="stCSSHArrow";var m=document.createElement("div");m.className="stCSSHArrowBorder";m.appendChild(P);S.appendChild(m);S.appendChild(u);stButtons.getCount(g,f,G)}}}}}}return S};stButtons.getCount=function(c,a,d){var b=false;if(d&&d!==null){while(d.childNodes.length>=1){try{d.removeChild(d.firstChild)}catch(e){}}}stButtons.cbQueue.push({url:c,service:a,element:d});stButtons.getCountsFromService(c,a,d)};stButtons.processCB=function(b){if(!(b)){return}stButtons.storedCountResponse=b;var a=false;for(var c=0;c<stButtons.cbQueue.length;c++){var e=stButtons.cbQueue[c];if(b.ourl==e.url){var g="";try{if(e.service=="sharethis"){if(stWidget.options.newOrZero=="zero"){g=(b.total>0)?stButtons.human(b.total):"0"}else{g=(b.total>0)?stButtons.human(b.total):"New"}}else{if(e.service=="facebook"&&typeof(b.facebook2)!="undefined"){g=stButtons.human(b.facebook2)}else{if(typeof(b[e.service])!="undefined"){g=(b[e.service]>0)?stButtons.human(b[e.service]):"0"}else{g="0"}}}if(/stHBubble/.test(e.element.parentNode.className)==true){e.element.parentNode.style.display="inline-block"}else{if(/stBubble/.test(e.element.parentNode.className)==true){e.element.parentNode.style.display="block"}}e.element.innerHTML=g}catch(d){var f=document.createElement("div");f.innerHTML=g;e.element.appendChild(f)}a=true}}};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(c){var D=document.getElementsByTagName("*");var C=[];var F=new RegExp(/st_(.*?)_custom/);var E=new RegExp(/st_(.*?)_vcount/);var A=new RegExp(/st_(.*?)_hcount/);var v=new RegExp(/st_(.*?)_button/);var u=new RegExp(/st_(.*?)_large/);var s=new RegExp(/st_(.*?)_pcount/);var p=new RegExp(/st_(.*?)_stbar/);var n=new RegExp(/st_(.*?)_stsmbar/);var m=new RegExp(/st_(.*?)_css/);var a=new RegExp(/^st_(.*?)$/);var t=D.length;var o=0,g,l,w,b=[],G=false;if(typeof(stRecentServices)!="undefined"&&stRecentServices!="undefined"&&stRecentServices!="false"&&stRecentServices){G=true}for(var r=0;r<t;r++){g="";l=false;w=false;if(typeof(D[r].className)=="string"&&D[r].className!=""){if(D[r].className.match(F)&&D[r].className.match(F).length>=2&&D[r].className.match(F)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(F)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"custom"});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(E)&&D[r].className.match(E).length>=2&&D[r].className.match(E)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(E)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"vcount"});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(A)&&D[r].className.match(A).length>=2&&D[r].className.match(A)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(A)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"hcount"});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(v)&&D[r].className.match(v).length>=2&&D[r].className.match(v)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(v)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"button"});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(u)&&D[r].className.match(u).length>=2&&D[r].className.match(u)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(u)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"large"});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(s)&&D[r].className.match(s).length>=2&&D[r].className.match(s)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(s)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"pcount",count:r});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(p)&&D[r].className.match(p).length>=2&&D[r].className.match(p)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(p)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"stbar",count:r});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(n)&&D[r].className.match(n).length>=2&&D[r].className.match(n)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(n)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"stsmbar",count:r});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(m)&&D[r].className.match(m).length>=2&&D[r].className.match(m)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(m)[1];var B=D[r].className.split("_");C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"css",cssType:B[B.length-1]});D[r].setAttribute("st_processed","yes")}}else{if(D[r].className.match(a)&&D[r].className.match(a).length>=2&&D[r].className.match(a)[1]){if(stButtons.testElem(D[r])==false){w=true;g=D[r].className.match(a)[1];C.push({service:g,element:D[r],url:D[r].getAttribute("st_url"),title:D[r].getAttribute("st_title"),image:(D[r].getAttribute("st_img")!=null)?D[r].getAttribute("st_img"):D[r].getAttribute("st_image"),summary:D[r].getAttribute("st_summary"),text:D[r].getAttribute("displayText"),type:"chicklet"});D[r].setAttribute("st_processed","yes")}}}}}}}}}}}if(G){if(w){for(o=0;o<b.length;o++){if(b[o].service==g){b[o].count++;l=true}}if(!l){b.push({service:g,count:1,doNotReplace:false,processed:false})}}}}}if(G){var j=[];for(var f=b.length-1;f>=0;f--){if(b[f].service=="sharethis"||b[f].doNotReplace){b[f].processed=true;continue}else{for(var e in stRecentServices){var h=false;if(!stRecentServices[e].processed){for(var q=0;q<b.length;q++){if(e==b[q].service&&!b[q].processed){h=true;b[q].doNotReplace=true;stRecentServices[e].processed=true;break}}if(h){b[f].processed=true}else{j.push({oldService:b[f].service,newService:e});for(var d=0;d<C.length;d++){if(C[d].service==b[f].service){C[d].service=e;C[d].text=stRecentServices[e].title;C[d].element.setAttribute("displayText",stRecentServices[e].title);C[d].element.className=C[d].element.className.replace(b[f].service,e)}}stRecentServices[e].processed=true;b[f].processed=true;break}}}}}}for(var r=0;r<C.length;r++){stWidget.addEntry(C[r])}};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.78c452de5a3e4823e1dcb95bd61ad6bc.css");stButtons.odcss(a,function(){});stButtons.button_css_called=true}stButtons.locateElements()};stButtons.getPlusOneFromGoogle=function(){if(stButtons.plusOneLoaded==false){if(stButtons.plusOneLoading==false){var a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("src","https://apis.google.com/js/plusone.js");a.onload=function(){gapi.plusone.go();stButtons.plusOneLoaded=true;stButtons.plusOneLoading=false};a.onreadystatechange=function(){if(this.readyState=="complete"){gapi.plusone.go();stButtons.plusOneLoaded=true;stButtons.plusOneLoading=false}};stButtons.plusOneLoading=true;document.getElementsByTagName("head")[0].appendChild(a)}}else{gapi.plusone.go()}};stButtons.addCount=function(a){stButtons.counts.push(a)};stButtons.getCountsFromService=function(c,b,d){if(stButtons.checkQueue(c)==false){var a=a+"-"+stButtons.cbVal;a="stButtons.processCB";stButtons.cbVal++;var e=(("https:"==document.location.protocol)?"https://ws.sharethis.com/api/getCount2.php?cb="+a+"&url=":"http://wd.sharethis.com/api/getCount2.php?cb="+a+"&url=");stLight.odjs(e+encodeURIComponent(c),function(){});stButtons.queue.push(c)}};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(c){var a={};a.facebook="450";a.twitter="684";a.yahoo="500";a.gbuzz="550";a.linkedin="600";var b={};b.facebook="300";b.twitter="718";b.yahoo="460";b.gbuzz="400";b.linkedin="433";this.idx=-1;this.url=null;this.title=null;this.image=null;this.element=null;this.service=null;this.screen="home";this.summary=null;this.content=null;this.buttonText=null;this.frag=null;this.onhover=true;this.type=null;var d=this;var e=false;this.attachButton=function(f){this.element=f;if((this.onhover==true||this.onhover=="true")&&((!switchTo5x)||(switchTo5x&&(c.service=="sharethis"||c.service=="email")))){f.onmouseover=this.mouseOn;f.onmouseout=this.mouseOut}f.onclick=function(g){d.decideFastShare()}};this.init=function(){stWidget.merge(this,c);stWidget.shareables.push(this);if(c.element!==null){this.attachButton(c.element)}};return this}var stWidget=new function(){this.shareables=[];this.entries=0;this.widgetOpen=false;this.mouseOnTimer=null;this.mouseTimer=null;this.mouseOutTimer=null;this.frameReady=false;this.stopClosing=false;this.buttonClicked=false;this.frameUrl5x=(("https:"==document.location.protocol)?"https://ws.sharethis.com/secure5x/index.html":"http://edge.sharethis.com/share5x/index.766f4e2878c7f90952374f3cbcfa0b50.html");this.frameUrl4x=(("https:"==document.location.protocol)?"https://ws.sharethis.com/secure/index.html":"http://edge.sharethis.com/share4x/index.e660be8901e05d8ce420a10eb6b1746f.html");this.secure=false;try{this.mainstframe=document.createElement('<iframe name="stLframe" allowTransparency="true" style="body{background:transparent;}" ></iframe>');this.mainstframe.onreadystatechange=function(){if(stWidget.mainstframe.readyState==="complete"){stWidget.frameReady=true}}}catch(a){this.mainstframe=document.createElement("iframe");this.mainstframe.allowTransparency="true";this.mainstframe.setAttribute("allowTransparency","true");this.mainstframe.onload=function(){stWidget.frameReady=true}}this.mainstframe.id="stLframe";this.mainstframe.className="stLframe";this.mainstframe.name="stLframe";this.mainstframe.frameBorder="0";this.mainstframe.scrolling="no";this.mainstframe.width="353px";this.mainstframe.height="350px";this.mainstframe.style.top="0px";this.mainstframe.style.left="0px";this.mainstframe.src="";this.wrapper=document.createElement("div");this.wrapper.id="stwrapper";this.wrapper.className="stwrapper";this.wrapper.style.visibility="hidden";this.wrapper.style.top="-999px";this.wrapper.style.left="-999px";this.closewrapper=document.createElement("div");this.closewrapper.className="stclose";if(switchTo5x){this.mainstframe.width="500px";this.mainstframe.height="430px";this.wrapper.style.top="-999px";this.wrapper.style.left="-999px";this.wrapper.style.width="500px";this.wrapper.style.zIndex=89999999;this.overlay=document.createElement("div");this.overlay.style.height="100%";this.overlay.style.width="100%";this.overlay.style.backgroundColor="#000";this.overlay.style.opacity="0.6";this.overlay.style.filter="Alpha(Opacity=60)";this.overlay.style.position="fixed";if(document.all&&navigator.appVersion.indexOf("MSIE 6.")!=-1){this.overlay.style.position="absolute"}this.overlay.style.display="none";this.overlay.style.left="0";this.overlay.style.top="0";this.overlay.style.zIndex=89999990;this.overlay.setAttribute("id","stOverlay");this.closewrapper.className="stCloseNew2"}this.closewrapper.onclick=function(){stWidget.closeWidget()};this.wrapper.appendChild(this.closewrapper);this.wrapper.appendChild(this.mainstframe);this.ogtitle=null;this.ogdesc=null;this.ogurl=null;this.ogimg=null;this.ogtype=null;this.desc=null;this.initFire=false;this.merge=function(d,c){for(var b in c){if(d.hasOwnProperty(b)&&c[b]!==null){d[b]=c[b]}}};this.oldScroll=0;this.init=function(){if(stWidget.initFire==false){stWidget.initFire=true;if(switchTo5x){window.frames.stLframe.location.replace(stWidget.frameUrl5x+stWidget.createFrag(null,"init"))}else{window.frames.stLframe.location.replace(stWidget.frameUrl4x+stWidget.createFrag(null,"init"))}}}};stWidget.options=new function(){this.fpc=stLight.fpc;this.sessionID=null;this.publisher=null;this.tracking=true;this.send_services=null;this.exclusive_services=null;this.headerTitle=null;this.headerfg=null;this.headerbg=null;this.offsetLeft=null;this.offsetTop=null;this.onhover=true;this.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=""};stWidget.addEntry=function(a){if(!a.element){return false}if(a&&a.service&&((a.service=="email"||a.service=="sharethis")||((stIsLoggedIn&&servicesLoggedIn&&typeof(servicesLoggedIn[a.service])!="undefined"&&((useFastShare||(!useFastShare&&switchTo5x))&&(a.service=="facebook"||a.service=="twitter"||a.service=="gbuzz"||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()}}else{if(!(a.type=="custom"&&a.service=="sharethis")){stButtons.makeButton(a)}}return true}else{if(a.type!="custom"){a.element.appendChild(stButtons.makeButton(a));if(a.service=="plusone"){stButtons.getPlusOneFromGoogle()}}else{if(!(a.type=="custom"&&a.service=="sharethis")){stButtons.makeButton(a)}}var b=new Shareable(a);b.idx=stWidget.entries;stWidget.entries++;b.publisher=stLight.publisher;b.sessionID=stLight.sessionID;b.fpc=stLight.fpc;if(a.element.image==null&&stWidget.ogimg!=null){b.image=stWidget.ogimg}if(a.element.summary==null&&stWidget.ogdesc!=null){b.summary=stWidget.ogdesc}else{if(a.element.summary==null&&stWidget.desc!=null){b.summary=stWidget.desc}}b.url=stWidget.ogurl?stWidget.ogurl:document.location.href;b.url=a.url?a.url:b.url;b.title=stWidget.ogtitle?stWidget.ogtitle:document.title;b.title=a.title?a.title:b.title;stWidget.merge(b,stWidget.options);if(typeof(stWidget.options.textRightToLeft)!="undefined"&&stWidget.options.textRightToLeft!="null"&&stWidget.options.textRightToLeft==true){document.getElementById("stwrapper").style.top="auto";document.getElementById("stwrapper").style.left="auto"}b.mouseOn=function(){stWidget.mouseOnTimer=setTimeout(b.decideFastShare,500)};b.mouseOut=function(){clearInterval(stWidget.mouseOnTimer)};b.decideFastShare=function(){if(!useFastShare||!stIsLoggedIn||a.service=="email"||a.service=="sharethis"||(typeof(servicesLoggedIn[a.service])=="undefined"&&(a.service=="facebook"||a.service=="twitter"||a.service=="gbuzz"||a.service=="linkedin"||a.service=="yahoo"))){b.popup()}else{var c=stLight.getSource();stLight.log("fastShare",c,"");stFastShareObj.url=b.url;stFastShareObj.title=b.title;stFastShareObj.image=b.image;stFastShareObj.summary=b.summary;stFastShareObj.element=a.element;stFastShareObj.service=a.service;if(typeof(fastShare)=="undefined"){stLight.odjs((("https:"==document.location.protocol)?"https://ws.sharethis.com/button/fastShare.js":"http://w.sharethis.com/button/fastShare.js"),function(){fastShare.showWidget()})}else{fastShare.showWidget()}}};b.popup=function(){if(stWidget.widgetOpen==false){if(!switchTo5x){stWidget.stCancelClose()}var d="share4x";if(switchTo5x){d="share5x";try{if(stLight.clickCallBack!=false){stLight.clickCallBack(a.service)}}catch(c){}}if(a.type=="stbar"||a.type=="stsmbar"){d="bar"}stLight.log("widget",d,a.service+"_"+a.type);if(stWidget.options.popup&&!switchTo5x){window.open(stWidget.frameUrl4x+stWidget.createFrag(b),"newstframe","status=1,toolbar=0,width=345,height=375")}else{if(stWidget.options.popup&&switchTo5x){var e="http://sharethis.com/share?url="+b.url;window.open(e,"newstframe","status=1,toolbar=0,width=820,height=950")}else{if(switchTo5x&&(a.service=="sharethis"||a.service=="email"||a.service=="facebook"||a.service=="twitter"||a.service=="linkedin"||a.service=="gbuzz"||a.service=="yahoo")){window.frames.stLframe.location.replace(stWidget.frameUrl5x+stWidget.createFrag(b))}else{window.frames.stLframe.location.replace(stWidget.frameUrl4x+stWidget.createFrag(b))}stWidget.positionWidget(b);if(stWidget.options.embeds==false){stWidget.hideEmbeds()}setTimeout(function(){stWidget.widgetOpen=true;st_showing=true},200)}}}else{if(stWidget.widgetOpen==true&&stWidget.options.onhover==false){}}return false};b.init();return b}};stWidget.createFrag=function(c,b){var f="#light";f=stWidget.options.popup?"#popup":f;__stgetPubGA();if(b=="init"){f="#init";if(stWidget.options.tracking&&stWidget.options.publisherGA==null){if(typeof(pageTracker)!="undefined"&&pageTracker!==null){stWidget.options.publisherGA=pageTracker._getAccount()}else{if(stWidget.options.publisherGA==null&&typeof(__stPubGA)!=="undefined"){stWidget.options.publisherGA=__stPubGA}}}for(var e in stWidget.options){if(stWidget.options.hasOwnProperty(e)==true&&stWidget.options[e]!==null&&typeof(stWidget.options[e])!="function"&&typeof(stWidget.options[e])!="object"){var a=stWidget.options[e];try{a=decodeURIComponent(a);a=decodeURIComponent(a)}catch(d){}f=f+"/"+e+"="+encodeURIComponent(a)}}f=f+"/pUrl="+encodeURIComponent(encodeURIComponent(document.location.href))+((document.title!="")?"/title="+encodeURIComponent(encodeURIComponent(document.title)):"")+"/stLight=true"}else{for(var e in c){if(c.hasOwnProperty(e)==true&&c[e]!==null&&typeof(c[e])!="function"&&typeof(c[e])!="object"&&e!=="idx"){f=f+"/"+e+"-=-"+encodeURIComponent(encodeURIComponent(c[e]))}}if(c.service=="email"){f=f+"/page-=-send"}if(switchTo5x){if(c.service=="facebook"){f=f+"/page-=-fbhome"}else{if(c.service=="twitter"){f=f+"/page-=-twhome"}else{if(c.service=="gbuzz"){f=f+"/page-=-gbhome"}else{if(c.service=="yahoo"){f=f+"/page-=-ybhome"}else{if(c.service=="linkedin"){f=f+"/page-=-lihome"}}}}}}}return f};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 e=[0,0,0,0];var b=0;var a=0;var d=0;var c=0;if(typeof(window.pageYOffset)=="number"){b=window.pageXOffset;a=window.pageYOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){b=document.body.scrollLeft;a=document.body.scrollTop}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){b=document.documentElement.scrollLeft;a=document.documentElement.scrollTop}}}if(window.innerWidth){d=window.innerWidth;c=window.innerHeight}else{if(document.documentElement.offsetWidth){d=document.documentElement.offsetWidth;c=document.documentElement.offsetHeight}}e={scrX:b,scrY:a,width:d,height:c};return e};stWidget.closetimeout=null;stWidget.stClose=function(a){if(!a){a=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 c="#widget/"+a+"="+d;try{if(switchTo5x){window.frames.stLframe.location.replace(stWidget.frameUrl5x+c)}else{window.frames.stLframe.location.replace(stWidget.frameUrl4x+c)}}catch(b){}};stWidget.getOGTags=function(){var b=document.getElementsByTagName("meta");for(var a=0;a<b.length;a++){if(b[a].getAttribute("property")=="og:title"){stWidget.ogtitle=b[a].getAttribute("content")}else{if(b[a].getAttribute("property")=="og:type"){stWidget.ogtype=b[a].getAttribute("content")}else{if(b[a].getAttribute("property")=="og:url"){stWidget.ogurl=b[a].getAttribute("content")}else{if(b[a].getAttribute("property")=="og:image"){stWidget.ogimg=b[a].getAttribute("content")}else{if(b[a].getAttribute("property")=="og:description"){stWidget.ogdesc=b[a].getAttribute("content")}else{if(b[a].getAttribute("name")=="description"||b[a].getAttribute("name")=="Description"){stWidget.desc=b[a].getAttribute("content")}}}}}}}};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(c){if(c.state=="on"){var a="http://wd.sharethis.com/api/sharer.php?destination=plusone&url="+encodeURIComponent(c.href);a+="&publisher="+encodeURIComponent(stLight.publisher);a+="&hostname="+encodeURIComponent(stLight.meta.hostname);a+="&location="+encodeURIComponent(stLight.meta.location);a+="&ts="+(new Date()).getTime();a+="&sessionID="+stLight.sessionID;a+="&fpc="+stLight.fpc;var b=new Image(1,1);b.src=a;b.onload=function(){return}}};stButtons.trackFB=function(){try{if(typeof(FB)!="undefined"&&typeof(FB.Event)!="undefined"&&typeof(FB.Event.subscribe)!="undefined"){FB.Event.subscribe("edge.create",function(b){stButtons.trackShare("fblike_auto",b)});FB.Event.subscribe("edge.remove",function(b){stButtons.trackShare("fbunlike_auto",b)});FB.Event.subscribe("message.send",function(b){stButtons.trackShare("fbsend_auto",b)})}}catch(a){}};stButtons.trackTwitter=function(){if(typeof(twttr)!="undefined"&&typeof(twttr.events)!="undefined"&&typeof(twttr.events.bind)!="undefined"){twttr.events.bind("click",function(){stButtons.trackTwitterEvent("click")});twttr.events.bind("tweet",function(){stButtons.trackTwitterEvent("tweet")});twttr.events.bind("retweet",function(){stButtons.trackTwitterEvent("retweet")});twttr.events.bind("favorite",function(){stButtons.trackTwitterEvent("favorite")});twttr.events.bind("follow",function(){stButtons.trackTwitterEvent("follow")})}};stButtons.trackTwitterEvent=function(a){stButtons.trackShare("twitter_"+a+"_auto")};stButtons.trackShare=function(a,c){if(typeof(c)!=="undefined"||c!==null){var b=c}else{var b=document.location.href}var d="http://wd.sharethis.com/api/sharer.php?destination="+a+"&url="+encodeURIComponent(b);d+="&publisher="+encodeURIComponent(stLight.publisher);d+="&hostname="+encodeURIComponent(stLight.meta.hostname);d+="&location="+encodeURIComponent(stLight.meta.location);d+="&ts="+(new Date()).getTime();d+="&sessionID="+stLight.sessionID;d+="&fpc="+stLight.fpc;var e=new Image(1,1);e.src=d;e.onload=function(){return}};stLight.processSTQ=function(){if(typeof(_stq)!="undefined"){for(var a=0;a<_stq.length;a++){var b=_stq[a];stLight.options(b)}}else{return false}};stLight.onDomContentLoaded=function(){stLight.onReady()};stLight.messageReceiver=function(a){if(a&&(a.origin=="http://edge.sharethis.com"||a.origin=="https://ws.sharethis.com")){var b=a.data;b=b.split("|");if(b[0]=="ShareThis"&&b.length>2){stLight.callSubscribers(b[1],b[2])}}};stLight.subscribe=function(b,a){if(b=="click"){stLight.clickSubscribers.push(a)}};stLight.callSubscribers=function(c,a){if(c=="click"){for(var b=0;b<stLight.clickSubscribers.length;b++){stLight.clickSubscribers[b]("click",a)}}};stButtons.onReady=function(){stButtons.trackFB();stButtons.trackTwitter();var g=document.getElementsByTagName("*");var b=[];var c=new RegExp(/sharethis_smartbuttons/);var a=false;for(var j=0;j<g.length;j++){if(typeof(g[j].className)=="string"&&g[j].className!=""){if(g[j].className.match(c)){a=true;break}}}if(a){var f=document.getElementsByTagName("head")[0];var d=["return=json","cb=stButtons.smartifyButtons"];d=d.join("&");var e=(("https:"==document.location.protocol)?"https://ws.":"http://wd.")+"sharethis.com/api/getRecentServices.php?"+d;var h=document.createElement("script");h.setAttribute("type","text/javascript");h.setAttribute("src",e);f.appendChild(h);setTimeout("stButtons.completeInit()",2000)}else{stButtons.completeInit()}};stLight.domReady=function(){stLight.onReady();__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.cbVal=0;stButtons.queuePos=0;stButtons.counts=[];st_showing=false;stButtons.urlElements=[];stButtons.publisherTracker=null;stButtons.plusOneLoaded=false;stButtons.plusOneLoading=false;stWidget.getOGTags();stButtons.locateElements();stButtons.makeButtons();stLight.clickSubscribers=[];var __stPubGA;if(window.document.readyState=="completed"){stLight.domReady()}else{if(typeof(window.addEventListener)!="undefined"){window.addEventListener("load",stLight.domReady,false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("load",stLight.domReady,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",stLight.domReady)}}}}if(typeof(window.addEventListener)!="undefined"){window.addEventListener("click",function(){stWidget.closeWidget()},false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("click",function(){stWidget.closeWidget()},false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onclick",function(){stWidget.closeWidget()})}}}if(typeof(__st_loadLate)=="undefined"){if(typeof(window.addEventListener)!="undefined"){window.addEventListener("DOMContentLoaded",stLight.onDomContentLoaded,false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("DOMContentLoaded",stLight.onDomContentLoaded,false)}}}if(typeof(window.addEventListener)!="undefined"){window.addEventListener("message",stLight.messageReceiver,false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("message",stLight.messageReceiver,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onmessage",stLight.messageReceiver)}}}if(document.readyState=="complete"&&stLight.readyRun==false){stLight.domReady()};
