(function(){var a=!0,f=this;function g(b,c){var d=b.split("."),e=f;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var h;d.length&&(h=d.shift());)!d.length&&void 0!==c?e[h]=c:e=e[h]?e[h]:e[h]={}}var j=j||{};j.c=j.c||{};j.c.Y=function(){for(var b=j.b.j,c=document.cookie.split(";"),d=0;d<c.length;d++){for(var e=c[d];" "==e.charAt(0);)e=e.substring(1,e.length);if(0==e.indexOf(b+"="))return e.substring((b+"=").length,e.length)}return null};j.c.$=function(){document.cookie=j.b.j+"="+j.b.o+"; path=/; domain=.shareaholic.com; expires=Fri, 01-Jan-2038 00:00:01 GMT"};
j.c.H=function(){document.cookie=j.b.j+"=; path=/; domain=.shareaholic.com; expires=Thu, 01-Jan-1970 00:00:01 GMT"};j=j||{};j.b=j.b||{};j.b.j="c_id";j.b.o="00000000-0000-0000-0000-000000000000";j.b.V=function(){j.b.l()||j.c.H()};j.b.W=function(){j.c.$()};j.b.l=function(){return j.c.Y()!=j.b.o};j=j||{};j.a=j.a||{};document.getElementsByClassName||(document.getElementsByClassName=function(b){return document.querySelectorAll("."+b)});j.a.t="d.shareaholic.com";j.a.u="/dough";j.a.v="1.0";
j.a.n="//"+j.a.t+j.a.u+"/"+j.a.v+"/";j.a.r="oven/";j.a.s="tag.gif/";j.a.p="shr_oven";j.a.g="key";j.a.i="value";j.a.h="type";j.a.z="tags_count";j.a.w="api_key";j.a.m="shr_api_caller";j.a.A="page";j.a.B="user";j.a.f=j.a.f||[];j.a.k=j.a.k||"";j.a.Z=function(b){j.a.k=b};j.a.q=function(b,c,d){var e={};e[j.a.g]=b.toString();e[j.a.i]=c.toString();e[j.a.h]=d.toString();j.a.f.push(e)};j.a.D=function(b,c){j.a.q(b,c,j.a.A)};j.a.F=function(b,c){j.a.q(b,c,j.a.B)};
j.a.push=function(){for(var b="",c=0;0<j.a.f.length;){c++;var d=j.a.f.shift();0<b.length&&(b+="&");b+=j.a.g+c.toString()+"="+encodeURIComponent(d[j.a.g]);b+="&";b+=j.a.i+c.toString()+"="+encodeURIComponent(d[j.a.i]);b+="&";b+=j.a.h+c.toString()+"="+encodeURIComponent(d[j.a.h])}(d=document.getElementById(j.a.m))&&(d.removeNode?d.removeNode(a):d.parentNode.removeChild(d));if(0<c){d=document.createElement("img");d.setAttribute("id",j.a.m);var e=j.a.n+j.a.s+"?",e=e+(j.a.w+"="+encodeURIComponent(j.a.k)+
"&"+j.a.z+"="+c+"&tags="+encodeURIComponent(b));d.setAttribute("src",e);d.style.display="none";document.body.appendChild(d)}};g("SHR.Tagging.setAccount",j.a.Z);g("SHR.Tagging.addPageTag",j.a.D);g("SHR.Tagging.addUserTag",j.a.F);g("SHR.Tagging.push",j.a.push);j.a.Q=function(){j.b.l()&&void 0==document.getElementById(j.a.p)&&j.a.G()};j.a.X=function(){j.a.C(function(){j.a.Q()})};j.a.C=function(b){var c=window.onload;window.onload="function"!=typeof window.onload?b:function(){c&&c();b()}};
__shr_dough_args={};j.a.P=function(){var b="",c;for(c in __shr_dough_args)b+=(0<b.length?"&":"?")+encodeURIComponent(c.toString())+"="+encodeURIComponent(__shr_dough_args[c].toString());return b};
j.a.d=function(b){var c=document.getElementsByTagName("meta");if(c)for(var d=0;d<c.length;d++)if(c[d].attributes.name&&c[d].attributes.name.value.toLowerCase()==b&&c[d].attributes.content||c[d].attributes.property&&c[d].attributes.property.value.toLowerCase()==b&&c[d].attributes.content)return c[d].attributes.content.value.toLowerCase();return""};
j.a.S=function(){if(0<=j.a.d("generator").indexOf("drupal"))return a;var b=document.getElementsByTagName("script");if(b)for(var c=0;c<b.length;c++)if(b[c].attributes.src&&0<=b[c].attributes.src.value.toLowerCase().indexOf("drupal.js"))return a;return!1};j.a.R=function(){return 0<=j.a.d("generator").indexOf("blogger")?a:!1};
j.a.U=function(){if(0<=j.a.d("generator").indexOf("wordpress"))return a;var b=document.getElementsByTagName("link");if(b)for(var c=0;c<b.length;c++)if(b[c].attributes.rel&&"stylesheet"==b[c].attributes.rel.value.toLowerCase()&&b[c].attributes.href&&0<=b[c].attributes.href.value.toLowerCase().indexOf("wp-content"))return a;return!1};j.a.T=function(){return 0<=j.a.d("og:type").indexOf("tumblr-feed:tumblelog")||document.getElementById("tumblr_controls")?a:!1};
j.a.J=function(){return j.a.U()?"wordpress":j.a.T()?"tumblr":j.a.R()?"blogger":j.a.S()?"drupal":"website"};j.a.e=function(b){if("undefined"!=typeof _shr)for(var c=0;c<_shr.length;c++)if(_shr[c][0]==b)return _shr[c][1];return null};j.a.N=function(){"undefined"!=typeof SHRSB_Settings&&(__shr_dough_args.sb=1);if(settings=j.a.e("SHR_SB_Settings"))__shr_dough_args.sb=1};
j.a.I=function(){"undefined"!=typeof SHRCB_Settings&&(__shr_dough_args.cb=1);if(settings=j.a.e("SHR_CB_Settings"))__shr_dough_args.cb=1};j.a.M=function(){"undefined"!=typeof SHRSS_Settings&&(__shr_dough_args.ss=1);if(settings=j.a.e("SHR_SS_Settings"))__shr_dough_args.ss=1};j.a.L=function(){"undefined"!=typeof SHRRD_Settings&&(__shr_dough_args.rd=1);if(settings=j.a.e("SHR_RD_Settings"))__shr_dough_args.rd=1};
j.a.O=function(){var b=document.getElementsByClassName("shareaholic-canvas")[0];if(b)for(var b=b.getAttribute("data-shareaholic-widgets")||"",b=b.split(/\s+/),c=0;c<b.length;c++)"recommendations"==b[c]?(__shr_dough_args.rd=1,__shr_dough_args.rdv2=1):"share_buttons"==b[c]&&(__shr_dough_args.sb=1,__shr_dough_args.sbv2=1)};j.a.K=function(){j.a.O();j.a.N();j.a.I();j.a.M();j.a.L()};
j.a.G=function(){__shr_dough_args.referrer=document.referrer;__shr_dough_args.platform=j.a.J();j.a.K();var b=document.createElement("iframe");b.setAttribute("id",j.a.p);var c=j.a.n+j.a.r,c=c+j.a.P();b.setAttribute("src",c);b.style.display="none";document.body.appendChild(b)};g("SHR.Privacy.optIn",j.b.V);g("SHR.Privacy.optOut",j.b.W);g("SHR.Privacy.isOptedIn",j.b.l);j.a.X();})();
