spoilerAnswer=false;function spoilerLoader(){if(!document.getElementById("tournamentCoverage")){if(!document.getElementById("wptCashesTab")){return false}}if(document.getElementById("tournamentCoverage")){var b=document.getElementById("tournamentCoverage");b.onclick=function(){if(!spoilerAnswer){var a=document.getElementById("spoiler");a.style.display="block";return false}}}else{if(document.getElementById("wptCashesTab")){var b=document.getElementById("wptCashesTab");b.onclick=function(){if(!spoilerAnswer){var d=document.getElementById("spoiler");d.style.display="block";return false}else{var a=document.getElementById("wptCashesTab");tabReset(a)}}}}}function closeSpoiler(){if(!document.getElementById("spoiler")){return false}var b=document.getElementById("spoiler");b.style.display="none"}function ignoreSpoiler(){var d=document.getElementById("spoiler");if(document.getElementById("tournamentCoverage")){var f=document.getElementById("tournamentCoverage").href;window.location=f;spoilerAnswer=true}else{if(document.getElementById("wptCashesTab")){var e=document.getElementById("wptCashesTab");tabReset(e);spoilerAnswer=true}}d.style.display="none"}function dropNav(){if(!document.getElementById("dropButton")){return false}var e=document.getElementById("dropButton");var f=document.getElementById("dropContainer");var d=document.getElementById("nestedDrop");e.onmouseover=function(){if(!f.className.match("active")){f.className+=" active"}};d.onmouseover=function(){if(!f.className.match("active")){f.className+=" active"}};e.onmouseout=function(){if(f.className.match("active")){f.className=""}};d.onmouseout=function(){if(f.className.match("active")){f.className=""}}}function addLoadEvent(d){var c=window.onload;if(typeof c!="function"){window.onload=d}else{window.onload=function(){c();d()}}}addLoadEvent(spoilerLoader);addLoadEvent(dropNav);