var rotate_found=false;var button_default='<span><a class="stbutton stico_default" title="ShareThis via email, AIM, social bookmarking and networking sites, etc." href="javascript:void(0)"><span class="stbuttontext">ShareThis</span></a></span>';var button_rotate='<span><a class="stbutton stico_rotate" title="ShareThis via email, AIM, social bookmarking and networking sites, etc." href="javascript:void(0)"><span class="stbuttontext">ShareThis</span></a></span>';var stBlogger={loadScript:function(d,a){var c=document.getElementsByTagName("head")[0];var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("src",d);b.onload=a;b.onreadystatechange=function(){if(this.readyState=="loaded"){a()}};c.appendChild(b)},loadWidget:function(a){stBlogger.loadScript(a,stBlogger.loadJQuery)},loadJQuery:function(){stBlogger.loadScript("http://w.sharethis.com/widget/jquery2.js",stBlogger.createEntries)},createEntries:function(){$(".hentry").each(function(){if(!rotate_found){var b=$(button_default)}else{var b=$(button_rotate)}$(this).find(".post-icons").append(b);var a=SHARETHIS.addEntry({title:$(this).find(".entry-title a").text(),url:$(this).find(".entry-title a").attr("href")},{button:false});a.attachButton(b.get(0))})},init:function(a){if((a.search(/style=rotate/g))>-1){rotate_found=true}stBlogger.loadWidget(a)}};