function processToolkit(){$(".halloween-bird, .halloween-web").remove();$("body").css({backgroundImage:'url("http://static.twitter.com/images/special/alerting.png")',backgroundRepeat:"repeat"}).animate({backgroundColor:"#AA0000"},2000);window.setTimeout(function(){var B=1;var A=setInterval(function(){var E;for(E=0;E<B;E++){var D=$("ol#timeline > li:not(.zombie)");var C=$("ol#timeline > li:not(.zombie):eq("+Math.floor(Math.random()*D.length)+")");if(C.length==0){clearInterval(A);$("img.side_thumb").attr("src","http://static.twitter.com/images/special/new_profile_avatar.png");$("textarea#status").val("");$("#me_name").text("Zombie "+$("#me_name").text());setTimeout(function(){(new InfoNotification()).setMessage("<span style=\"color:orange; font-size:2.3em;font-family:'Comic Sans MS';\">Trick or Tweet! Happy Halloween!</span>").show();$(".notification-bar").css("backgroundColor","black");setTimeout(function(){window.location.reload()},6000)},2000);break}else{reanimate(C.attr("class").match(/["\s](u-[A-Za-z0-9_]+)["\s]/i)[1])}}B++},2000);(new ShortNotification()).setMessage("<span style=\"color:red; font-size:2.3em;font-weight: bold;font-family:'Comic Sans MS';\">28 tweets later...</span>").show();$(".notification-bar").css("backgroundColor","black")},2000)}var reanimate=function(B){var A=$("ol#timeline > li."+B);A.addClass("zombie");A.find("a.profile-pic").attr("href","http://twitter.com/BRAAAIIIINNSSS");A.find(".entry-content, .actions, .actions-hover, .meta").fadeOut(500);A.find(".actions, .actions-hover").remove();setTimeout(function(){A.find("img").attr("src","http://static.twitter.com/images/special/new_default_avatar_"+Math.ceil(Math.random()*7)+".png");A.find(".entry-content").each(function(){var D=(twttr.previousUser||B.substring(2));var C=_(twttr.reanimated_messages[Math.round(Math.random()*(twttr.reanimated_messages.length-1))],{user:h(D)});$(this).html('<span style="color:#880000;font-weight:bold;" class="groan">'+C+"</span>")});A.find(".entry-content").fadeIn(500);twttr.previousUser=B.substring(2)},500)};var handleToolkit=function(){$(".halloween-bird, .halloween-web").remove();$("body").append('<div class="halloween-bird"></div><div class="halloween-web"></div>');$("body").css({backgroundImage:'url("http://static.twitter.com/images/special/bg-clouds-dark.png")',backgroundColor:"#789AB4"});setTimeout(function(){$(".halloween-bird").fadeIn(1000);$(".halloween-web").fadeIn(1000);$("textarea#status").val("")},1000);setTimeout(function(){(new InfoNotification()).setMessage("<span style=\"color:orange; font-size:2.3em;font-family:'Comic Sans MS';\">Trick or Tweet! Happy Halloween!</span>").show();$(".notification-bar").css("backgroundColor","black")},3000)};twttr.reanimated_messages=["BRRAAAAAIIIINNNNSSSSS!!!!","BRRAAAAAIIIINNNNSSSSS!!!!","MORE BRAINSSSSS!!!!","WANT BRAINSSSSS!!!!","MMMMMM.... BRRAAAAAIIIINNNNSSSSS!!!!","BRRAAAAAIIIINNNNSSSSS!!!!","BRRAAAAAIIIINNNNSSSSS!!!!",'@<a href="http://twitter.com/%{user}" style="color:red;">%{user}</a> BRAAIIINNNSSS?','RT @<a href="http://twitter.com/%{user}" style="color:red;">%{user}</a> "BRAAIIIINNNNSSSS!!!"','BRAAIINNNSSS!!! <a href="http://twitter.com/#search?q=%23whatihadforbreakfast" style="color:red">#whatihadforbreakfast</a>','PLANTAIIINNNSSS!!!! <a href="http://twitter.com/#search?q=%23veganzombiecon09" style="color:red">#veganzombiecon09</a>','Check this out! <a href="http://bit.ly/2tEh3" style="color:red;">http://bit.ly/2tEh3</a>','"Zombie Jamboree" <a href="http://twitter.com/#search?q=%23musicmonday" style="color:red">#musicmonday</a>','@<span style="color:red">theliving</span> <a href="http://twitter.com/#search?q=%23followfriday" style="color:red">#followfriday</a>',"GRRRR!!! AARRRGGGHHH!!!",'OH: "STAY AWAY!!! DON\'T EAT ME!!!  HELP!!!"',"I just ate 100 brains using the iPhone Zombie App","BRAAAIINNNS... BRAAAIINNNS? BRAAIIINS!"];