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 tpm='';}else{var tpm='';}var left=(diff%60)+' seconds';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=tpm+left;timeouts[i]=setTimeout('updatetimer('+i+')',1000);}function checktimers(){var nocountdowns=getElementsByClassName(document,'span','nocountdown');for(var i in nocountdowns)nocountdowns[i].style.display='none'
var countdowns=getElementsByClassName(document,'span','countdown');for(var i in countdowns)countdowns[i].style.display='inline'
timers=getElementsByClassName(document,'span','countdowndate');timeouts=new Array();if(timers.length==0)return;for(var i in timers){timers[i].eventdate=new Date(timers[i].firstChild.nodeValue);updatetimer(i);}}addOnloadHook(checktimers);importScript('MediaWiki:Functions.js');importScriptPage('ShowHide/code.js','dev');function InformationTemplate(){if(wgPageName!=('Special:Upload'||'Special:MultipleUpload')){return;}if(wgPageQuery.match(/(?=wpForReUpload%3D1)/)){return;}document.getElementById('wpUploadDescription').innerHTML='{{Information\n|attention=\n|description=\n|source=\n|author=\n|filespecs=\n|licensing=\n|other versions=\n|cat artist=\n|cat subject=\n|cat type=\n}}';document.getElementsByClassName('mw-htmlform-field-Licenses')[0].style.display='none';document.getElementById('mw-license-preview').style.display='none';}addOnloadHook(InformationTemplate);var ajaxPages=["Special:WikiActivity","Special:RecentChanges","Special:Log","Special:Contributions","Special:AbuseLog"];var
AjaxRCRefreshText='Auto-Refresh';importScriptPage('AjaxRC/code.js','dev');$(function(){var nick=(wgUserName==null)?('Wikian'+Math.floor(Math.random()*10)):wgUserName.replace(/ /g,'_');$('#IRClogin').html('<iframe src="http://webchat.freenode.net/?nick='+nick+'&channels=wikia-homefront&prompt=true&uio=OT10cnVlJjExPTUxJjEyPXRydWU37" width="950" height="400" style="border:0;"></iframe>');});$(function(){if(wgNamespaceNumber==500&&$('#article-comments-ul li').size()>1){var then=$('#article-comments-ul > .SpeechBubble:first .permalink').attr('href');then=new String(then.match(/\d{8}/));var monthnames=['January','February','March','April','May','June','July','August','September','October','November','December'];var year=then.match(/^\d{4}/);var month=then.substring(4,6);var now=new Date();month--;month=monthnames[month];var day=then.match(/\d{2}$/);then=new Date(month+''+day+', '+year);var old=parseInt(now-then);old=Math.floor(old/(1000*60*60*24));if(old>30){$('#article-comm-form').attr(
'disabled','disabled');$('#article-comm').attr('disabled','disabled').text('This blog post hasn\'t been commented on for over 30 days. There is no need to comment.');$('#article-comm-submit').attr('disabled','disabled');$('.article-comm-reply .wikia-button .secondary').remove();}}});importScriptPage('User:Jgjake2/js/Popups.js','deadisland');window._gaq=window._gaq||[];_gaq.push(['local._setAccount','UA-46285076-1']);_gaq.push(['local._trackPageview']);importScriptPage('ChatOptions/code.js','dev');window.UserTagsJS={modules:{inactive:90,mwGroups:['bureaucrat','chatmoderator','rollback','sysop','bannedfromchat','bot','bot-global'],autoconfirmed:false,metafilter:{sysop:['bureaucrat'],chatmoderator:['sysop'],rollback:['sysop'],},newuser:true,},tags:{yf:{u:'flippy the killer',order:2},}};UserTagsJS.modules.custom={'KATANAGOD':['sysop','bureaucrat'],'Adapool':['sysop','bureaucrat'],'Yong feng':['sysop','yf'],};UserTagsJS.modules.userfilter={};UserTagsJS.modules.mwGroups=['bureaucrat,sysop'];
UserTagsJS.modules.mwGroups=['rollback'];importArticle({type:'script',article:'w:c:dev:UserTags/code.js'});$(function NamespacesInHeader(){if(wgCanonicalNamespace!=''&&wgCanonicalNamespace!='Talk'){$('#WikiaPageHeader h1').html(wgFormattedNamespaces[wgNamespaceNumber]+':'+wgTitle);}});importScriptPage('InactiveUsers/code.js','dev');InactiveUsers={months:3,gone:'',text:'Inactive'};$(window).load(function(){var adSkinStyle=$('#ad-skin').attr('style');if($('#ad-skin').children().length>0||typeof adSkinStyle!='undefined'){$('.mainpage-float').remove();}});;mw.loader.state({"site":"ready"});

/* cache key: halflife:resourceloader:filter:minify-js:7:647c5194b6e82b7ae003cb8fe40d038b */