AjaxRCRefreshText='Auto-refresh';AjaxRCRefreshHoverText='Automatically refresh the page';importScriptPage('AjaxRC/code.js','dev');var ajaxPages=["Special:WikiActivity"];var ShowHideConfig={autoCollapse:0};importScriptPage('ShowHide/code.js','dev');importScriptPage('AjaxRC/code.js','dev');function updatetimer(i){var now=new Date();var then=timers[i].eventdate;var diff=count=Math.floor((then.getTime()-now.getTime())/1000);if(isNaN(diff)){timers[i].firstChild.nodeValue='** '+timers[i].eventdate+' **';return;}if(diff<0){diff=-diff;var left='ago since';}else{var left='until';}left=(diff%60)+' seconds '+left;diff=Math.floor(diff/60);if(diff>0)left=(diff%60)+' minutes '+left;diff=Math.floor(diff/60);if(diff>0)left=(diff%24)+' hours '+left;diff=Math.floor(diff/24);if(diff>0)left=diff+' days '+left
timers[i].firstChild.nodeValue=left;tim[i]=setTimeout('updatetimer('+i+')',1000);}function checktimers(){var untimers=getElementsByClassName(document,'span','notimer');for(var i=0;i<untimers.length;i++){untimers[i].style.display='none';}timers=getElementsByClassName(document,'span','countdowntimer');tim=new Array();if(timers.length==0)return;for(var i=0;i<timers.length;i++){timers[i].eventdate=new Date(timers[i].firstChild.nodeValue);timers[i].firstChild.nodeValue='0 days 0 hours 0 minutes 0 seconds';timers[i].style.display='inline';updatetimer(i);}}addOnloadHook(checktimers)
window.LockOldBlogs={expiryDays:30,};importArticles({type:"script",articles:["w:c:dev:LockOldBlogs/code.js"]});importScript('MediaWiki:Wikia.js/userRightsIcons.js');function hideFade(){$("#backtotop").hide();$(function(){$(window).scroll(function(){if($(this).scrollTop()>ButtonStart){$('#backtotop').fadeIn();}else{$('#backtotop').fadeOut();}});});}function goToTop(){$('body,html').animate({scrollTop:0},ScrollSpeed);return false;}function addBackToTop(){if(skin=='oasis'){$('<li id="backtotop" style="position: absolute; right:20px; top:0px; border:none;"><button type="button" value="Back To Top" onClick="goToTop();">Back To Top</button></li>').appendTo('#WikiaBarWrapper .toolbar > .tools');hideFade();}}var ButtonStart=800;var ScrollSpeed=600;if(!window.BackToTop){$(document).ready(function(){addBackToTop();});}var BackToTop=true;importScriptPage('AjaxBatchDelete/code.js','dev');;mw.loader.state({"site":"ready"});

/* cache key: mk:resourceloader:filter:minify-js:7:cf18e21601772ddd2d9716034ea95602 */