/* (c) 2008, 2009, 2010 Add This, LLC */ var addthis_conf={ver:120};function addthis_to(a){return addthis_sendto(a)}function addthis_onmouseover(b,f,d,c,h,a,g){if(h){addthis_config.username=h}if(a){addthis_language=a}addthis_content=g||"";return addthis_open(b,"share",d,c)}function addthis_onmouseout(){addthis_close()}function addthis_invoke(e,c,d,f){addthis_config.username=f||_ate.pub();addthis_share.url=(c||b.addthis_url);addthis_share.title=(d||b.addthis_title);var b=window,g=addthis_share.url.toLowerCase(),a=addthis_share.title.toLowerCase();if(g===""||g==="[url]"){addthis_share.url=location.href}if(a===""||a==="[title]"){addthis_share.title=document.title}_ate.as(e);return false};if(!window._ate){var _atd="www.addthis.com/",_atr="//s7.addthis.com/",_atn="//l.addthiscdn.com/",_euc=encodeURIComponent,_duc=decodeURIComponent,_atc={dr:0,ver:250,loc:0,enote:"",cwait:500,tamp:0.5,xamp:0,camp:1,vamp:1,famp:0.02,pamp:0.2,damp:1,abf:!!window.addthis_do_ab,unt:1};(function(){var E;try{E=window.location;if(E.protocol.indexOf("file")===0||E.protocol.indexOf("safari-extension")===0||E.protocol.indexOf("chrome-extension")===0){_atr="http:"+_atr}if(E.hostname.indexOf("localhost")!=-1){_atc.loc=1}}catch(L){}var I=navigator.userAgent.toLowerCase(),M=document,q=window,G=M.location,O={win:/windows/.test(I),xp:/windows nt 5.1/.test(I)||/windows nt 5.2/.test(I),osx:/os x/.test(I),chr:/chrome/.test(I),iph:/iphone/.test(I),dro:/android/.test(I),ipa:/ipad/.test(I),saf:/safari/.test(I),sf3:/safari 3/.test(I),web:/webkit/.test(I),opr:/opera/.test(I),msi:(/msie/.test(I))&&!(/opera/.test(I)),ffx:/firefox/.test(I),ff2:/firefox\/2/.test(I),ffn:/firefox\/((3.[6789][0-9a-z]*)|(4.[0-9a-z]*))/.test(I),ie6:/msie 6.0/.test(I),ie7:/msie 7.0/.test(I),mod:-1},f={rev:"86981",bro:O,wlp:(E||{}).protocol,show:1,dl:G,upm:!!q.postMessage&&(""+q.postMessage).toLowerCase().indexOf("[native code]")!==-1,camp:_atc.camp-Math.random(),xamp:_atc.xamp-Math.random(),vamp:_atc.vamp-Math.random(),tamp:_atc.tamp-Math.random(),pamp:_atc.pamp-Math.random(),ab:"-",inst:1,wait:500,tmo:null,sub:!!window.at_sub,dbm:0,uid:null,spt:"static/r07/widget25.png",api:{},imgz:[],hash:window.location.hash};M.ce=M.createElement;M.gn=M.getElementsByTagName;window._ate=f;var u=function(s,p,r,d){if(!s){return r}if(s instanceof Array||(s.length&&(typeof s!=="function"))){for(var l=0,a=s.length,b=s[0];l-1){x.onReady();return}if(O.msi&&window==top){(function(){if(x.isReady){return}try{M.documentElement.doScroll("left")}catch(d){setTimeout(arguments.callee,0);return}x.onReady()})()}if(O.opr){M.addEventListener("DOMContentLoaded",function(){if(x.isReady){return}for(var d=0;d=250&&addthis_share.imp_url&&i&&i!=a.addthis_share.url&&!(f.util.ivc((r.location.hash||"").substr(1).split(",").shift()))){a.addthis_share.url=a.addthis_url=i;a.addthis_share.title=a.addthis_title=p;return 1}return 0};d.igv=function(i,p){if(!a.addthis_config){a.addthis_config={username:a.addthis_pub}}else{if(addthis_config.data_use_cookies===false){_atc.xck=1}}if(!a.addthis_share){a.addthis_share={}}if(!addthis_share.url){if(!a.addthis_url&&addthis_share.imp_url===undefined){addthis_share.imp_url=1}addthis_share.url=(a.addthis_url||i||"").split("#{").shift()}if(!addthis_share.title){addthis_share.title=(a.addthis_title||p||"").split("#{").shift()}};if(!_atc.ost){if(!a.addthis_conf){a.addthis_conf={}}for(var b in addthis_conf){_atc[b]=addthis_conf[b]}_atc.ost=1}})(f,f.api,f);(function(b,l,e){var r,p=document,a=b.util;b.ckv=a.fromKV(p.cookie,";");function i(d){return a.fromKV(p.cookie,";")[d]}if(!b.cookie){b.cookie={}}b.cookie.rck=i})(f,f.api,f);(function(e,i,p){var d,R=e.util,s=4294967295,b=new Date().getTime();function r(){return((b/1000)&s).toString(16)+("00000000"+(Math.floor(Math.random()*(s+1))).toString(16)).slice(-8)}function a(S){return w(S)?(new Date((parseInt(S.substr(0,8),16)*1000))):new Date()}function l(S,U){var T=a(S);return(((new Date()).getTime()-T.getTime())>U*1000)}function w(S){return S&&S.match(/^[0-9a-f]{16}$/)}R.cuid=r;R.ivc=w;R.ioc=l})(f,f.api,f);(function(l,aa,ac){var ad=l,R=new Date().getTime(),Z=function(){return Math.floor(Math.random()*4294967295).toString(36)},ae=function(){return Math.floor((new Date().getTime()-R)/100).toString(16)},w=function(a){return"CXNID=2000001.521545608054043907"+(a||2)+"NXC"},p=0,s=function(a){if(p===0){ad.sid=p=(a||ad.util.cuid())}return p},e=null,d=function(a,af){if(e!==null){clearTimeout(e)}if(a){e=f.sto(function(){af(false)},f.wait)}},W=function(af,a){return _euc(af)+"="+_euc(a)+";"+ae()},V=1,r=function(af,ah){var a=(af||"").split("?"),af=a.shift(),ag=(a.pop()||"").split("&");return ah(af,ag)},S=function(a,af,ah,ag){if(!af){af={}}if(!af.remove){af.remove=[]}af.remove.push("sms_ss");af.remove.push("at_xt");if(af.remove){a=ab(a,af.remove)}if(af.clean){a=T(a)}if(af.defrag){a=i(a)}if(af.add){a=U(a,af.add,ah,ag)}return a},U=function(ah,aj,ai,af){var a={};if(aj){for(var ag in aj){if(ah.indexOf(ag+"=")>-1){continue}a[ag]=X(aj[ag],ah,ai,af)}aj=f.util.toKV(a)}return ah+(aj.length?((ah.indexOf("?")>-1?"&":"?")+aj):"")},X=function(ag,af,ah,a){var ah=ah||addthis_share;return ag.replace(/{{service}}/g,_euc(a||"")).replace(/{{code}}/g,_euc(a||"")).replace(/{{title}}/g,_euc(ah.title)).replace(/{{url}}/g,_euc(af))},ab=function(af,ah){var a={},ah=ah||[];for(var ag=0;ag-1){ag=ag.substr(0,af)}if(aj){for(var ah in aj){if(typeof(aj[ah])=="string"){var ai=(aj[ah]||"").split("=");if(ai.length==2){if(ai[0].indexOf("utm_")===0||ai[0]=="gclid"||ai[0]=="sms_ss"||ai[0]=="at_xt"){continue}}if(aj[ah]){ak.push(aj[ah])}}}ag+=(ak.length?("?"+ak.join("&")):"")}return ag})},b=function(){return"AT-"+(ad.pub?(typeof(ad.pub)=="function"?ad.pub():ad.pub):"unknown")+"/-/"+ad.ab+"/"+s()+"/"+(V++)+(ad.uid!==null?"/"+ad.uid:"")};if(!f.track){f.track={}}l.util.extend(f.track,{cst:w,fcv:W,ran:Z,rup:ab,aup:U,cof:i,gof:Y,clu:T,mgu:S,ssid:s,sta:b,sxm:d})})(f,f.api,f);(function(){var Y=document,Z=f,s=[],r=null,T=[],w=function(){var a;while(a=T.pop()){X(a)}},i=[],V=null,W=function(d){d=d.split("-").shift();for(var a=0;a";ad=Y.getElementById("_atssh"+d)}Z.opp(ad.style);ad.frameborder=ad.style.border=0;ad.style.top=ad.style.left=0;return ad},S=function(a){if(a&&a.data&&a.data.service){if(!Z.upm){if(Z.dcp){return}Z.dcp=1}X({gen:300,sh:a.data.service})}},e=function(d){var ac={},af=d.data||{},ad=af.svc,ae=af.cmo,a=af.pco,ag=af.cso;if(ad){ac.sh=ad}if(ae){ac.cm=ae}if(ag){ac.cs=ag}if(a){ac.spc=a}ab("sh","3",null,ac)},X=function(d){var ad=Z.dr,a=(Z.rev||"");if(!d){return}d.xck=_atc.xck?1:0;d.xxl=1;d.sid=Z.track.ssid();d.pub=Z.pub();d.ssl=Z.ssl||0;d.du=Z.tru(Z.du||Z.dl.href);if(Z.dt){d.dt=Z.dt}if(Z.cb){d.cb=Z.cb}d.lng=Z.lng();d.ver=_atc.ver;if(!Z.upm&&Z.uid){d.uid=Z.uid}d.pc=d.spc||i.join(",");if(ad){d.dr=Z.tru(ad)}if(Z.dh){d.dh=Z.dh}if(a){d.rev=a}if(Z.xfr){if(Z.upm){if(aa){aa.contentWindow.postMessage(m(d),"*")}}else{var ae=p(),ac="static/r07/sh29.html"+(false?"?t="+new Date().getTime():"");if(aa){ae.removeChild(ae.firstChild)}aa=b();aa.src=_atr+ac+"#"+m(d);ae.appendChild(aa)}}else{T.push(d)}},ab=function(ac,af,a,ad,ae){if(!window.at_sub&&!_atc.xtr){var d=ad||{};d.evt=ac;if(a){d.ext=a}r=d;if(ae===1){l(true)}else{Z.track.sxm(true,l)}}},U=function(d,a){s.push(Z.track.fcv(d,a));Z.track.sxm(true,l)},l=function(ad){var ac=Z.dl?Z.dl.hostname:"";if(s.length>0||r){Z.track.sxm(false,l);if(_atc.xtr){return}var d=r||{};d.ce=s.join(",");s=[];r=null;X(d);if(ad){var a=Y.ce("iframe");a.id="_atf";f.opp(a.style);Y.body.appendChild(a);a=Y.getElementById("_atf")}}};Z.ed.addEventListener("addthis-internal.compact",e);Z.ed.addEventListener("addthis.menu.share",S);if(!Z.track){Z.track={}}Z.util.extend(Z.track,{pcs:i,apc:W,cev:U,ctf:b,gtf:p,qtp:function(a){T.push(a)},stf:function(a){aa=a},trk:X,xtp:w})})();K(f,{_rec:[],xfr:!f.upm||!f.bro.ffx,pmh:function(d){if(d.origin.slice(-12)==".addthis.com"){if(!d.data){return}var b=j(d.data),a=f._rec;for(var i=0;i=p.length-4){p=p.substr(0,l)}if(p!=b){for(var d in f.trl){if(f.trl[d]==a){e=1}}if(!e){f.trl.push(a)}}}}return p},sto:function(b,a){return setTimeout(b,a)},opp:function(a){a.width=a.height="1px";a.position="absolute";a.zIndex=100000},jlr:{},ajs:function(b,a){if(!f.jlr[b]){var e=M.ce("script"),d=M.gn("head")[0]||M.documentElement;e.src=(a?"":_atr)+b;d.insertBefore(e,d.firstChild);f.jlr[b]=1;return e}return 1},jlo:function(){try{var r=document,b=f,p=b.lng(),i=function(d){var a=new Image();f.imgz.push(a);a.src=d};b.alg(p);if(!b.pld){if(b.bro.ie6){i(_atr+b.spt);i(_atr+"static/t00/logo1414.gif");i(_atr+"static/t00/logo88.gif");if(window.addthis_feed){i("static/r05/feed00.gif",1)}}if(b.pll&&!window.addthis_translations){b.sto(function(){b.pld=b.ajs("static/r07/menu65.js")},10)}else{b.pld=b.ajs("static/r07/menu65.js")}}}catch(l){}},ao:function(b,l,i,d,e,a){f.lad(["open",b,l,i,d,e,a]);f.jlo();return false},ac:function(){},as:function(b,d,a){f.lad(["send",b,d,a]);f.jlo()}});(function(e,l,r){var R=document,s=1,a=["cbea","kkk","zvys","phz"];function b(d){return d.replace(/[a-zA-Z]/g,function(i){return String.fromCharCode((i<="Z"?90:122)>=(i=i.charCodeAt(0)+13)?i:i-26)})}for(var p=0;p-1||i.indexOf(T.replace(/^ /g,""))===0){U|=s}}return U}function S(){var W=(q.addthis_title||R.title),T=w(W),V=R.all?R.all.tags("META"):R.getElementsByTagName?R.getElementsByTagName("META"):new Array();if(V&&V.length){for(var U=0;U=0&&!aw.sub){aw.smd.rsi=r;aw.smd.gen=ak;an.push(aw.track.fcv("plv",Math.round(1/_atc.vamp)));an.push(aw.track.fcv("rsi",r));an.push(aw.track.fcv("gen",ak));av.ce=an.join(",")}}else{if(d.indexOf(_atd+"book")==-1&&ah!=s){var an=[],af,r,T,W;if(ao>-1){W=d.substr(ao).split("&").shift().split("#").shift().split("=").pop().split(",");af=_duc(W.shift());if(af.indexOf(",")>-1){W=af.split(",");af=W.shift()}}else{if(am>-1){W=d.substr(am).split("&").shift().split("#").shift().split("=").pop().split(",");r=_duc(W.shift());if(r.indexOf(",")>-1){W=r.split(",");r=W.shift()}}}if(W&&W.length){ak=parseInt(W.pop())+1}if(aa>-1){W=d.substr(aa);T=W.split("&").shift().split("#").shift().split("=").pop();av.sr=T}if(aw.vamp>=0&&!aw.sub&&(af||r||T)){if(af){aw.smd.rxi=af}if(r){aw.smd.rsi=r}aw.smd.gen=ak;an.push(aw.track.fcv("plv",Math.round(1/_atc.vamp)));if(T){an.push(aw.track.fcv("rsc",T))}if(af){an.push(aw.track.fcv("rxi",af))}else{if(r){an.push(aw.track.fcv("rsi",r))}}if(r||af){an.push(aw.track.fcv("gen",ak))}av.ce=an.join(",")}}}if(aw.upm){av.xd=1;if(f.bro.ffx){av.xld=1}}if(aw.upm&&(!f.bro.ffx||f.bro.ffn)&&(addthis_config.data_track_copypaste)&&ah!=s&&(d.indexOf("#")==-1||X)){var ac,Z=G.hash,aj=window.onhashchange;if(X){var ai=X.split(","),w=parseInt(ai[1]);ac=ai[0];if(w>ak){ak=w+1}}if(!X||aw.util.ioc(ac,5)){G.hash="at_st="+f.track.ssid()+","+ak;f.sto(function(){window.onhashchange=function(){if(aj){aj()}if(window.location.hash==Z||!window.location.hash){history.back()}}},f.wait)}}if(b){if(aw.upm){if(al){f.sto(function(){V();Y=aw.track.ctf(ae+m(av));aw.track.stf(Y)},f.wait);q.attachEvent("onmessage",aw.pmh)}else{Y=aw.track.ctf();q.addEventListener("message",aw.pmh,false)}if(f.bro.ffx){Y.src=ae;f.track.qtp(av)}else{if(!al){f.sto(function(){V();Y.src=ae+m(av)},f.wait)}}}else{Y=aw.track.ctf();f.sto(function(){V();Y.src=ae+m(av)},f.wait)}if(Y){Y=aw.track.gtf().appendChild(Y);aw.track.stf(Y)}}if(q.addthis_language||N.ui_language){aw.alg()}if(aw.plo.length>0){aw.jlo()}}catch(at){window.console&&console.log("lod",at)}}q._ate=P;q._adr=x;P._rec.push(function(b){if(b.ssh){var a=window.addthis_ssh=_duc(b.ssh);P.gssh=1;P._ssh=a.split(",")}if(b.uid){P.uid=b.uid}if(b.dbm){P.dbm=b.dbm}if(b.rdy){P.xfr=1;P.track.xtp();return}});try{function t(a){var b=a.src.indexOf("#")>-1?a.src.replace(/^[^\#]+\#?/,""):a.src.replace(/^[^\?]+\??/,""),d=j(b);return d}var D=M.gn("script"),J=D.length,v=D[J-1],y=t(v);if(v.src&&v.src.indexOf("addthis")==-1){for(var H=0;H-1){y=t(D[H]);break}}}if(y.pub||y.username){q.addthis_pub=_duc(y.pub?y.pub:y.username)}if(q.addthis_pub&&q.addthis_config){q.addthis_config.username=q.addthis_pub}if(y.domready){_atc.dr=1}if(y.async){_atc.xol=1}if(_atc.ver===120){var C="atb"+f.util.cuid();M.write('');f.igv();f.lad(["span",C,addthis_share.url||"[url]",addthis_share.title||"[title]"])}if(q.addthis_clickout){f.lad(["cout"])}if(!_atc.xol&&!_atc.xcs&&N.ui_use_css!==false){o.load()}}catch(L){if(window.console){console.log("main",L)}}n.bindReady();n.append(h);(function(l,s,w){var R=document,Y=function(){var Z=R.gn("link"),ab={};for(var aa=0;aa-1){ak=ak.substr(0,d)}}};if(!ay){ay=aj.conf||{}}else{for(var ar in aj.conf){if(!(ay[ar])){ay[ar]=aj.conf[ar]}}}if(!at){at=aj.share}else{for(var ar in aj.share){if(!(at[ar])){at[ar]=aj.share[ar]}}}if(f.rsu()){at.url=window.addthis_url;at.title=window.addthis_title;ak=at.url}ax=ay.services_custom;ae("pro");ae("opp");ae("cle");ae("clb");ae("abc");if(ak.indexOf("addthis.com/static/r07/ab")>-1){ak=ak.split("&");for(var au=0;au-1)?"&ips=1":"")+(f.uid?"&uid="+_euc(f.uid):"")+(at.email_template?"&email_template="+_euc(at.email_template):"")+(ah?"&email_vars="+_euc(ah):"")+(aA?"&shortener="+_euc(typeof(aA)=="array"?aA.join(","):aA):"")+(aA&&ag?"&"+ag:"")+((at.passthrough||{})[ap]?"&passthrough="+al(f.util.toKV(at.passthrough[ap]),1):"")+(at.description?"&description="+al(at.description,1):"")+(at.html?"&html="+al(at.html,1):(at.content?"&html="+al(at.content,1):""))+(at.trackurl&&at.trackurl!=ak?"&trackurl="+al(at.trackurl,1):"")+(at.screenshot?"&screenshot="+al(at.screenshot,1):"")+(at.swfurl?"&swfurl="+al(at.swfurl,1):"")+(f.cb?"&cb="+f.cb:"")+(at.iframeurl?"&iframeurl="+al(at.iframeurl,1):"")+(at.width?"&width="+at.width:"")+(at.height?"&height="+at.height:"")+(ay.data_track_p32?"&p32="+ay.data_track_p32:"")+(ay.data_track_clickback||ay.data_track_linkback||!aq||aq=="AddThis"?"&sms_ss=1&at_xt=1":"")+((ax&&ax.url)?"&acn="+_euc(ax.name)+"&acc="+_euc(ax.code)+"&acu="+_euc(ax.url):"")+(f.smd?(f.smd.rxi?"&rxi="+f.smd.rxi:"")+(f.smd.rsi?"&rsi="+f.smd.rsi:"")+(f.smd.gen?"&gen="+f.smd.gen:""):((az?"&rsi="+az:"")+(Z?"&gen="+Z:"")))+(at.xid?"&xid="+al(at.xid,1):"")+(aw?"&template="+al(aw,1):"")+(aa?"&module="+al(aa,1):"")+(ay.ui_cobrand?"&ui_cobrand="+al(ay.ui_cobrand,1):"")+(ay.ui_header_color?"&ui_header_color="+al(ay.ui_header_color,1):"")+(ay.ui_header_background?"&ui_header_background="+al(ay.ui_header_background,1):"");return ad},T=function(d,ae,ac,af,Z){var ad=f.pub(),ab=af||ae.url||"",aa=ae.xid||f.util.cuid();if(ab.toLowerCase().indexOf("http%3a%2f%2f")===0){ab=_duc(ab)}if(Z){f.sto(function(){ae.xid=aa;(new Image()).src=e(d,0,ae,ac);delete ae.xid},100)}return ab+(ac.data_track_clickback||ac.data_track_linkback||!ad||ad=="AddThis"?((ab.indexOf("?")>-1)?"&":"?")+("sms_ss="+d)+("&at_xt="+aa+","+((f.smd||{}).gen||0)):"")},S=function(ac,aa,d){var aa=aa||{},ab=ac.share_url_transforms||ac.url_transforms||{},Z=f.track.cof(f.track.mgu(ac.url,ab,ac,"mailto"));return"mailto:?subject="+_euc(ac.title?ac.title:Z)+"&body="+_euc(T("mailto",ac,aa,Z,d))},p=function(d){return _atc.unt&&((!d.templates||!d.templates.twitter)&&(!f.wlp||f.wlp=="http:"))},b=function(ak,ab){var ag=550,aj=450,ac=screen.height,ae=screen.width,af=Math.round((ae/2)-(ag/2)),aa=0,ah,ai="",ad=ak.share_url_transforms||ak.url_transforms||{},d=f.track.cof(f.track.mgu(ak.url,ad,ak,"twitter"));if(ac>aj){aa=Math.round((ac/2)-(aj/2))}if((ak.passthrough||{}).twitter){ai=f.util.toKV(ak.passthrough.twitter)}if(ai.indexOf("text=")==-1){ai="text="+_euc(ak.title)+"&"+ai}if(ai.indexOf("via=")==-1){ai="via=AddThis&"+ai}q.open("http://twitter.com/share?url="+_euc(T("twitter",ak,ab,d,1))+"&"+ai,"twitter_tweet","left="+af+",top="+aa+",width="+ag+",height="+aj+",personalbar=no,toolbar=no,scrollbars=yes,location=yes,resizable=yes");return false},W=[],a=function(ab,ac,aa,Z){var d;if(ab=="email"){d=e(aa,Z)}else{d=e(ab,ac,aa,Z)}W.push(f.ajs(d,1))},U=function(aa,Z,d){return i()+"tellfriend.php?&fromname=aaa&fromemail="+_euc(Z.from)+"&frommenu=1&tofriend="+_euc(Z.to)+(aa.email_template?"&template="+_euc(aa.email_template):"")+(Z.vars?"&vars="+_euc(Z.vars):"")+"&lng="+(f.lng()||"xx")+"¬e="+_euc(Z.note)+"&"+r("email",null,null,d)};l.share={pts:b,unt:p,uadd:r,genurl:e,geneurl:U,genieu:S,acb:T,svcurl:i,track:a,links:V}})(f,f.api,f)})();function addthis_open(){if(typeof iconf=="string"){iconf=null}return _ate.ao.apply(_ate,arguments)}function addthis_close(){_ate.ac()}function addthis_sendto(){_ate.as.apply(_ate,arguments);return false}if(_atc.dr){_adr.onReady()}}else{_ate.inst++}if(_atc.abf){addthis_open(document.getElementById("ab"),"emailab",window.addthis_url||"[URL]",window.addthis_title||"[TITLE]")};