importArticles({type:"script",articles:["MediaWiki:Common.js/userRightsIcon.js"]});importScriptPage('DupImageList/code.js','dev');ajaxPages=["Special:RecentChanges","Special:Watchlist","Special:Log","Special;Statistics","Special:WikiActivity","Special:Contributions","Blog:Recent posts","Blog:News","Blog:Featured blog posts","Blog:Popular blog posts"];importScriptPage('AjaxRC/code.js','dev');var firstRun=true;function loadFunc(){if(firstRun)firstRun=false;else return;if(document.getElementById('infoboxinternal')!=null&&document.getElementById('infoboxend')!=null){document.getElementById('infoboxend').innerHTML='<a id="infoboxtoggle" href="javascript:infoboxToggle()">[Hide]</a>';}initFunctionsJS();setupUploadForm();addHideButtons();if(document.getElementById('mp3-navlink')!=null){document.getElementById('mp3-navlink').onclick=onArticleNavClick;document.getElementById('mp3-navlink').getElementsByTagName('a')[0].href='javascript:void(0)';}if(window.storagePresent)initVisibility();
rewriteSearchFormLink();fillEditSummaries();onStdSummaryChange();substUsername();substUsernameTOC();rewriteTitle();showEras('title-eraicons');showEras('title-shortcut');rewriteHover();fixSearch();var body=document.getElementsByTagName('body')[0];var bodyClass=body.className;if(!bodyClass||(bodyClass.indexOf('page-')==-1)){var page=window.pageName.replace(/\W/g,'_');body.className+=' page-'+page;}if(typeof(onPageLoad)!="undefined"){onPageLoad();}}function infoboxToggle(){var page=window.pageName.replace(/\W/g,'_');var nowShown;if(document.getElementById('infoboxtoggle').innerHTML=='[Hide]'){document.getElementById('infoboxinternal').style.display='none';document.getElementById('infoboxtoggle').innerHTML='[Show]';nowShown=false;}else{document.getElementById('infoboxinternal').style.display='block';document.getElementById('infoboxtoggle').innerHTML='[Hide]';nowShown=true;}if(window.storagePresent){var storage=globalStorage[window.location.hostname];storage.setItem('infoboxshow-'+page,
nowShown);}}function fillEditSummaries(){var label=document.getElementById("wpSummaryLabel");if(label==null)return;var comboString="Standard summaries: <select id='stdSummaries' onchange='onStdSummaryChange()'>";comboString+="</select><br />";label.innerHTML=comboString+label.innerHTML;requestComboFill('stdSummaries','Template:Stdsummaries');}function onStdSummaryChange(){var value=$('#stdSummaries').val();if(value!=""){if(skin=='oasis'){$("#wpSummaryEnhanced").val(value);}else{$("#wpSummary").val(value);}}}function getFirstHeading(){var elements=getElementsByClass('firstHeading',document.getElementById('content'),'h1');return(elements!=null&&elements.length>0)?elements[0]:null;}function substUsernameTOC(){var toc=document.getElementById('toc');var userpage=document.getElementById('pt-userpage');if(!userpage||!toc)return;var username=userpage.firstChild.firstChild.nodeValue;var elements=getElementsByClass('toctext',toc,'span');for(var i=0;i<elements.length;i++)elements[i].firstChild.
nodeValue=elements[i].firstChild.nodeValue.replace('<insert name here>',username);}function initVisibility(){var storage=globalStorage[window.location.hostname];var page=window.pageName.replace(/\W/g,'_');var show=storage.getItem('infoboxshow-'+page);if(show=='false'){infoboxToggle();}var hidables=getElementsByClass('hidable');for(var i=0;i<hidables.length;i++){show=storage.getItem('hidableshow-'+i+'_'+page);if(show=='false'){var content=getElementsByClass('hidable-content',hidables[i]);var button=getElementsByClass('hidable-button',hidables[i]);if(content!=null&&content.length>0&&button!=null&&button.length>0&&content[0].style.display!='none'){button[0].onclick('bypass');}}else if(show=='true'){var content=getElementsByClass('hidable-content',hidables[i]);var button=getElementsByClass('hidable-button',hidables[i]);if(content!=null&&content.length>0&&button!=null&&button.length>0&&content[0].style.display=='none'){button[0].onclick('bypass');}}}}function addHideButtons(){var hidables=
getElementsByClass('hidable');for(var i=0;i<hidables.length;i++){var box=hidables[i];var button=getElementsByClass('hidable-button',box,'span');if(button!=null&&button.length>0){button=button[0];button.onclick=toggleHidable;button.appendChild(document.createTextNode('[Hide]'));if(new ClassTester('start-hidden').isMatch(box))button.onclick('bypass');}}}function toggleHidable(bypassStorage){var parent=getParentByClass('hidable',this);var content=getElementsByClass('hidable-content',parent);var nowShown;if(content!=null&&content.length>0){content=content[0];if(content.style.display=='none'){content.style.display=content.oldDisplayStyle;this.firstChild.nodeValue='[Hide]';nowShown=true;}else{content.oldDisplayStyle=content.style.display;content.style.display='none';this.firstChild.nodeValue='[Show]';nowShown=false;}if(window.storagePresent&&(typeof(bypassStorage)=='undefined'||bypassStorage!='bypass')){var page=window.pageName.replace(/\W/g,'_');var items=getElementsByClass('hidable');var
item=-1;for(var i=0;i<items.length;i++){if(items[i]==parent){item=i;break;}}if(item==-1){return;}var storage=globalStorage[window.location.hostname];storage.setItem('hidableshow-'+item+'_'+page,nowShown);}}}function rewriteTitle(){if(typeof(window.SKIP_TITLE_REWRITE)!='undefined'&&window.SKIP_TITLE_REWRITE){return;}if($('#title-meta').length==0){return;}var newTitle=$('#title-meta').html();if(skin=="oasis"){$('header.WikiaPageHeader > h1').html('<div id="title-meta" style="display: inline;">'+newTitle+'</div>');$('header.WikiaPageHeader > h1').attr('style','text-align:'+$('#title-align').html()+';');}else{$('.firstHeading').html('<div id="title-meta" style="display: inline;">'+newTitle+'</div>');$('.firstHeading').attr('style','text-align:'+$('#title-align').html()+';');}}addOnloadHook(rewriteTitle);function showEras(className){if(skin=='oasis'){return;}if(typeof(SKIP_ERAS)!='undefined'&&SKIP_ERAS)return;var titleDiv=document.getElementById(className);if(titleDiv==null||titleDiv==
undefined)return;var cloneNode=titleDiv.cloneNode(true);var firstHeading=getFirstHeading();firstHeading.insertBefore(cloneNode,firstHeading.childNodes[0]);cloneNode.style.display="block";}addOnloadHook(function(){$("#eraicons").css("display","inline").appendTo($(".firstHeading"));});addOnloadHook(function(){$(".WikiaPageHeader details .categories").remove();$(".WikiaPageHeader details").append($("#eraicons"));});$('#mw-dismissable-notice > tbody > tr').prepend('<td align="left"><span style="margin: 0pt 20px 0pt 15px;display:block;">[<a href="javascript:dismissNotice();">dismiss</a>]</span></td>');var autoCollapse=2;var collapseCaption="hide";var expandCaption="show";function collapseTable(tableIndex){var Button=document.getElementById("collapseButton"+tableIndex);var Table=document.getElementById("collapsibleTable"+tableIndex);if(!Table||!Button){return false;}var Rows=Table.getElementsByTagName("tr");if(Button.firstChild.data==collapseCaption){for(var i=1;i<Rows.length;i++){Rows[i].
style.display="none";}Button.firstChild.data=expandCaption;}else{for(var i=1;i<Rows.length;i++){Rows[i].style.display=Rows[0].style.display;}Button.firstChild.data=collapseCaption;}}function createCollapseButtons(){var tableIndex=0;var NavigationBoxes=new Object();var Tables=document.getElementsByTagName("table");for(var i=0;i<Tables.length;i++){if(hasClass(Tables[i],"collapsible")){NavigationBoxes[tableIndex]=Tables[i];Tables[i].setAttribute("id","collapsibleTable"+tableIndex);var Button=document.createElement("span");var ButtonLink=document.createElement("a");var ButtonText=document.createTextNode(collapseCaption);Button.style.styleFloat="right";Button.style.cssFloat="right";Button.style.fontWeight="normal";Button.style.textAlign="right";Button.style.width="6em";ButtonLink.setAttribute("id","collapseButton"+tableIndex);ButtonLink.setAttribute("href","javascript:collapseTable("+tableIndex+");");ButtonLink.appendChild(ButtonText);Button.appendChild(document.createTextNode("["));Button.
appendChild(ButtonLink);Button.appendChild(document.createTextNode("]"));var Header=Tables[i].getElementsByTagName("tr")[0].getElementsByTagName("th")[0];if(Header){Header.insertBefore(Button,Header.childNodes[0]);tableIndex++;}}}for(var i=0;i<tableIndex;i++){if(hasClass(NavigationBoxes[i],"collapsed")||(tableIndex>=autoCollapse&&hasClass(NavigationBoxes[i],"autocollapse"))){collapseTable(i);}}}addOnloadHook(createCollapseButtons);var ticker;var tickertxt;var tickerdiv;function newsticker(){if(document.getElementById){if((document.getElementById('ticker'))&&(document.getElementById('tickerdiv'))&&(document.getElementById('tickertxt'))){ticker=document.getElementById('ticker');ticker.style.display='block';tickerdiv=document.getElementById('tickerdiv');tickertxt=document.getElementById('tickertxt').offsetWidth;tickerdiv.style.left=parseInt(ticker.style.width)+10+'px';lefttime=setInterval("newstickergo()",200);}}}$(document).ready(function(){if($('#IRClogin')){var nick=(wgUserName==null)?
('Wikian'+Math.floor(Math.random()*10)):wgUserName.replace(/ /g,'_');$('#IRClogin').html('<iframe src="http://webchat.freenode.net/?nick='+nick+'&channels=#halo-nation&prompt=true&uio=OT10cnVlJjExPTUxJjEyPXRydWU37" width="950" height="400" style="border:0;"></iframe>');}if($('#CVNIRClogin')){var nick=(wgUserName==null)?('Wikian'+Math.floor(Math.random()*10)):wgUserName.replace(/ /g,'_');$('#CVNIRClogin').html('<iframe src="http://webchat.freenode.net/?nick='+nick+'&channels=cvn-wikia-halo&prompt=true&uio=OT10cnVlJjExPTUxJjEyPXRydWU37" width="950" height="400" style="border:0;"></iframe>');}});function newstickergo(){tickerdiv.style.left=(parseInt(tickerdiv.style.left)>(-10-tickertxt))?parseInt(tickerdiv.style.left)-10+"px":parseInt(ticker.style.width)+10+"px";}addOnloadHook(newsticker);function UserNameReplace(){if(typeof(disableUsernameReplace)!='undefined'&&disableUsernameReplace||wgUserName==null)return;$('span.insertusername').each(function(){$(this).text(wgUserName);});}
addOnloadHook(UserNameReplace);var hasClass=(function(){var reCache={};return function(element,className){return(reCache[className]?reCache[className]:(reCache[className]=new RegExp("(?:\\s|^)"+className+"(?:\\s|$)"))).test(element.className);};})();function fixSearch(){var button=document.getElementById('searchSubmit');if(button)button.name='go';}var indicator='http://images2.wikia.nocookie.net/__cb20100617113125/dev/images/8/82/Facebook_throbber.gif';if(!window.ajaxPages)ajaxPages=new Array("Special:RecentChanges","Special:Watchlist","Special:Log","Special:NewFiles");var ajaxTimer;var ajaxRefresh=60000;var refreshText='Automatically refresh';if(typeof AjaxRCRefreshText=="string"){refreshText=AjaxRCRefreshText;}var refreshHover='Enable auto-refreshing page loads';if(typeof AjaxRCRefreshHoverText=="string"){refreshHover=AjaxRCRefreshHoverText;}var doRefresh=true;function setCookie(c_name,value,expiredays){var exdate=new Date()
exdate.setDate(exdate.getDate()+expiredays)
document.cookie=c_name+"="+escape(value)+((expiredays==null)?"":";expires="+exdate.toGMTString())}function getCookie(c_name){if(document.cookie.length>0){c_start=document.cookie.indexOf(c_name+"=")
if(c_start!=-1){c_start=c_start+c_name.length+1
c_end=document.cookie.indexOf(";",c_start)
if(c_end==-1)c_end=document.cookie.length
return unescape(document.cookie.substring(c_start,c_end))}}return""}function preloadAJAXRL(){ajaxRLCookie=(getCookie("ajaxload-"+wgPageName)=="on")?true:false;appTo=($("#WikiaPageHeader").length)?$("#WikiaPageHeader"):$(".firstHeading");appTo.append(' <span style="font-size: xx-small; line-height: 100%;" id="ajaxRefresh"><span style="border-bottom: 1px dotted; cursor: help;" id="ajaxToggleText" title="'+refreshHover+'">'+refreshText+':</span><input type="checkbox" style="margin-bottom: 0;" id="ajaxToggle"><span style="display: none;" id="ajaxLoadProgress"><img src="'+indicator+'" style="vertical-align: baseline;" border="0" alt="AJAX operation in progress" /></span></span>');$("#ajaxLoadProgress").bind("ajaxSend",function(){$(this).show();}).bind("ajaxComplete",function(){$(this).hide();});$("#ajaxToggle").click(toggleAjaxReload);$("#ajaxToggle").attr("checked",ajaxRLCookie);if(getCookie("ajaxload-"+wgPageName)=="on")loadPageData();}function toggleAjaxReload(){if($("#ajaxToggle").attr(
"checked")==true){setCookie("ajaxload-"+wgPageName,"on",30);doRefresh=true;loadPageData();}else{setCookie("ajaxload-"+wgPageName,"off",30);doRefresh=false;clearTimeout(ajaxTimer);}}function loadPageData(){cC=($("#WikiaArticle").length)?"#WikiaArticle":"#bodyContent";$(cC).load(location.href+" "+cC,function(data){$(cC).trigger("ajaxPageLoad");if(doRefresh)ajaxTimer=setTimeout("loadPageData();",ajaxRefresh);});}$(function(){for(x in ajaxPages){if(wgPageName==ajaxPages[x]&&$("#ajaxToggle").length==0)preloadAJAXRL();}});mw.loader.using(['jquery.ui.tabs'],function(){$(document).ready(function(){var $tabs=$("#portal_slider").tabs({fx:{opacity:'toggle',duration:100}});$("[class^=portal_sliderlink]").click(function(){$tabs.tabs('select',this.className.replace("portal_sliderlink_",""));return false;});$('#portal_next').click(function(){$tabs.tabs('select',($tabs.tabs('option','selected')==($tabs.tabs('length'))-1)?0:$tabs.tabs('option','selected')+1);return false;});$('#portal_prev').click(
function(){$tabs.tabs('select',($tabs.tabs('option','selected')==0)?($tabs.tabs('length')-1):$tabs.tabs('option','selected')-1);return false;});});});importScriptPage('AjaxRC/code.js','dev');var ShowHideConfig={autoCollapse:2};SpoilerAlert={isSpoiler:function(){return-1!==wgCategories.indexOf('Spoiler');}};importScriptPage('SpoilerAlert/code.js','dev');function moveArticletypeDiv(){var fooel=document.getElementById('ma-article-type');if(fooel!=null){var artel=document.getElementById('article');var wphel=document.getElementById('WikiaPageHeader');var titel=document.getElementById('top');fooel=fooel.parentNode.removeChild(fooel);if(artel!=null){artel.parentNode.insertBefore(fooel,artel);}else if(wphel!=null){wphel.parentNode.insertBefore(fooel,wphel);}else{titel.parentNode.insertBefore(fooel,titel);}}}hookEvent("load",moveArticletypeDiv);$('.hn-collapse').click(function(){if($('.hn-collapsible').is(':hidden')){$('.hn-collapsible').slideDown();$('.hn-collapse').text('[Hide]');}else{$(
'.hn-collapsible').slideUp();$('.hn-collapse').text('[Show]');}});var togglers=[];var allClasses={};function toggler(id){var toBeToggled=togglers[id];if(!toBeToggled)return;for(var i=0;i<toBeToggled.length;i++){var toggles=toBeToggled[i][1];if(typeof(toggles)=="string"){if(toggles.charAt(0)=='-'){toggles=document.getElementById(toggles.substring(1));if(toggles)toggles=new Array(toggles);}else toggles=allClasses[toggles];}if(!toggles||!toggles.length)continue;var op=toBeToggled[i][0];switch(op){case"_reset":for(var j=0;j<toggles.length;j++)toggles[j].style.display=toggles[j]._toggle_original_display;break;case"_show":for(var j=0;j<toggles.length;j++)toggles[j].style.display='';break;case"_hide":for(var j=0;j<toggles.length;j++)toggles[j].style.display='none';break;case"":default:for(var j=0;j<toggles.length;j++)toggles[j].style.display=((toggles[j].style.display=='none')?'':'none');break;}}}function createTogglerLink(toggler,id){var toggle=document.createElement("a");toggle.className=
'toggler-link';toggle.setAttribute('id','toggler'+id);toggle.setAttribute('href','javascript:toggler("'+id+'");');var child=toggler.firstChild;toggler.removeChild(child);toggle.appendChild(child);toggler.insertBefore(toggle,toggler.firstChild);}function toggleInit(){var togglerElems=[];var toggleGroup=[];togglers=[];allClasses=[];var elems=document.getElementsByTagName("*");var numelems=elems.length;for(var i=0;i<elems.length;i++){var elem=elems[i];if(!elem.className)continue;elem._toggle_original_display=elem.style.display;var togglerID=-1;var elemClasses=elem.className.split(' ');for(var j=0;j<elemClasses.length;j++){var elemClass=elemClasses[j];if(!allClasses[elemClass])allClasses[elemClass]=[];allClasses[elemClass].push(elem);if(elemClass.substring(0,7)!="_toggle")continue;if(elemClass=="_togglegroup")toggleGroup=[];else if(elemClass=="_toggle")toggleGroup.push(elem);else if(elemClass.substring(0,12)=="_toggle_init"){var disp=elemClass.substring(12);if(disp=="show")elem.style.
display='';else if(disp=="hide")elem.style.display='none';elem._toggle_original_display=disp;}else if(elemClass.substring(0,8)=="_toggler"){if(togglerID==-1){togglerID=togglers.length;togglers[togglerID]=[];togglerElems[togglerID]=elem;}var toBeToggled;var hyphen=elemClass.indexOf('-');if(hyphen!=-1)toBeToggled=elemClass.substring(hyphen+1);else{toBeToggled=toggleGroup;hyphen=elemClass.length;}var op=elemClass.substring(8,hyphen);togglers[togglerID].push(new Array(op,toBeToggled));}}}for(var i=0;i<togglerElems.length;i++)createTogglerLink(togglerElems[i],i);}function owwsitesearch(f){f.q.value='site:http://openwetware.org/wiki/'+f.base.value+'++'+f.qfront.value;};importArticles({type:"script",articles:["u:dev:AjaxBatchDelete/code.js","u:dev:DupImageList/code.js","MediaWiki:Wikia.js/socialIcons.js","MediaWiki:Wikia.js/inputUserInformation.js","MediaWiki:Wikia.js/MainPage.js","MediaWiki:Wikia.js/Slider.js","MediaWiki:Wikia.js/mastHeaders.js","MediaWiki:Wikia.js/haloGuardiansCountdown.js"
]});AjaxRCRefreshText='Auto-refresh';AjaxRCRefreshHoverText='Automatically refresh the page';importScriptPage('AjaxRC/code.js','dev');var ajaxPages=["Special:RecentChanges","Special:WikiActivity"];var authenticatedUsers=['User:Paul_Russel','User_talk:Paul_Russel','User_blog:Paul_Russel','Special:Contributions/Paul_Russel'];if($.inArray(mw.config.get('wgPageName'),authenticatedUsers)>-1){$('.masthead-info').find('hgroup').append('<span class="tag">Authenticated</span>')}if(wgPageName==='User_blog:Matt_Hadick/Halo:_The_Master_Chief_Collection_Community_Choice_Awards'){challengers={};challengers['Warthog']='http://img1.wikia.nocookie.net/__cb20141217154815/halo/images/2/2a/WarthogCCA.jpg';challengers['Scorpion']='http://img2.wikia.nocookie.net/__cb20141217154811/halo/images/9/9e/ScorpionCCA.jpg';challengers['Spectre']='http://img2.wikia.nocookie.net/__cb20141217154814/halo/images/b/b7/SpectreCCA.jpg';challengers['Wraith']=
'http://img4.wikia.nocookie.net/__cb20141217154816/halo/images/9/9f/WraithCCA.png';challengers['Banshee']='http://img1.wikia.nocookie.net/__cb20141217154644/halo/images/b/b1/Banshee_CCA.png';challengers['Ghost']='http://img3.wikia.nocookie.net/__cb20141217154652/halo/images/b/b5/GhostCCA.png';challengers['Battle Rifle']='http://img1.wikia.nocookie.net/__cb20141217154645/halo/images/a/ad/BattleRifleCCA.jpg';challengers['Sniper Rifle']='http://img4.wikia.nocookie.net/__cb20141217154814/halo/images/c/cb/SniperRifleCCA.jpg';challengers['Sentinel Beam']='http://img3.wikia.nocookie.net/__cb20141217154812/halo/images/1/1f/SentinelBeamCCA.png';challengers['Covenant Carbine']='http://img4.wikia.nocookie.net/__cb20141217154647/halo/images/c/cc/CarbineCCA.png';challengers['Particle Beam Rifle']='http://img1.wikia.nocookie.net/__cb20141217154645/halo/images/b/b8/BeamRifleCCA.png';challengers['Energy Sword']='http://img3.wikia.nocookie.net/__cb20141217154651/halo/images/0/0b/EnergySwordCCA.png';
challengers['Brute Shot']='http://img2.wikia.nocookie.net/__cb20141217154646/halo/images/2/2d/BruteShotCCA.jpg';challengers['Bloodline (Coagulation)']='http://img3.wikia.nocookie.net/__cb20141217161721/halo/images/6/62/BloodlineCCA.jpg';challengers['Lockdown (Lockout)']='http://img3.wikia.nocookie.net/__cb20141217154809/halo/images/8/83/LockdownCCA.jpg';challengers['Shrine (Sanctuary)']='http://img2.wikia.nocookie.net/__cb20141217154812/halo/images/4/42/ShrineCCA.jpg';challengers['Stonetown (Zanzibar)']='http://img4.wikia.nocookie.net/__cb20141217154815/halo/images/d/d4/StonestownCCA.jpg';challengers['Warlord (Warlock)']='http://img2.wikia.nocookie.net/__cb20141217154815/halo/images/9/9a/WarlordCCA.jpg';challengers['Zenith (Ascension)']='http://img2.wikia.nocookie.net/__cb20141217154816/halo/images/4/42/ZenithCCA.png';challengers['Prophets']='http://img2.wikia.nocookie.net/__cb20141217154811/halo/images/7/77/ProphetCCA.jpg';challengers['Elites']=
'http://img2.wikia.nocookie.net/__cb20141217154648/halo/images/b/b5/EliteCCA.jpg';challengers['Brutes']='http://img3.wikia.nocookie.net/__cb20141217154646/halo/images/d/d1/BruteCCA.png';challengers['Hunters']='http://img1.wikia.nocookie.net/__cb20141217154655/halo/images/7/77/HunterCCA.jpg';challengers['Drones']='http://img1.wikia.nocookie.net/__cb20141217154647/halo/images/e/e7/DroneCCA.jpg';challengers['Grunts']='http://img1.wikia.nocookie.net/__cb20141217154652/halo/images/4/41/GruntCCA.png';challengers['Jackals']='http://img3.wikia.nocookie.net/__cb20141217154655/halo/images/0/00/JackelCCA.jpg';challengers['Engineers']='http://img4.wikia.nocookie.net/__cb20141217154651/halo/images/f/fc/EngineerCCA.jpg';challengers['Halo: Combat Evolved']='http://img1.wikia.nocookie.net/__cb20141217154654/halo/images/d/d8/HaloCECCA.jpg';challengers['Halo 2']='http://img1.wikia.nocookie.net/__cb20141217154653/halo/images/9/99/Halo2CCA.jpg';challengers['Halo 2 Anniversary']=
'http://img3.wikia.nocookie.net/__cb20141217154652/halo/images/3/37/Halo2AnniversaryCCA.png';challengers['Halo 3']='http://img1.wikia.nocookie.net/__cb20141217154653/halo/images/6/63/Halo3CCA.jpg';challengers['Halo 4']='http://img2.wikia.nocookie.net/__cb20141217154654/halo/images/d/db/Halo4CCA.png';challengers['Halo: Combat Evolved Anniversary']='http://img1.wikia.nocookie.net/__cb20141217154654/halo/images/a/a5/HaloCEACCA.png';challengers['Warthog-link']='http://halo.wikia.com/wiki/M12_Light_Reconnaissance_Vehicle';challengers['Scorpion-link']='http://halo.wikia.com/wiki/M808B_Main_Battle_Tank';challengers['Spectre-link']='http://halo.wikia.com/wiki/Type-46_Infantry_Support_Vehicle';challengers['Wraith-link']='http://halo.wikia.com/wiki/Type-26_Assault_Gun_Carriage';challengers['Banshee-link']='http://halo.wikia.com/wiki/Type-26_Ground_Support_Aircraft';challengers['Ghost-link']='http://halo.wikia.com/wiki/Type-32_Rapid_Assault_Vehicle';challengers['Battle Rifle-link']=
'http://halo.wikia.com/wiki/BR55HB_SR_Battle_Rifle';challengers['Sniper Rifle-link']='http://halo.wikia.com/wiki/Sniper_rifle';challengers['Sentinel Beam-link']='http://halo.wikia.com/wiki/Sentinel_Beam';challengers['Covenant Carbine-link']='http://halo.wikia.com/wiki/Type-51_Carbine';challengers['Particle Beam Rifle-link']='http://halo.wikia.com/wiki/Type-50_Sniper_Rifle_System';challengers['Energy Sword-link']='http://halo.wikia.com/wiki/Type-1_Energy_Weapon/Sword';challengers['Brute Shot-link']='http://halo.wikia.com/wiki/Type-25_Grenade_Launcher';challengers['Bloodline (Coagulation)-link']='http://halo.wikia.com/wiki/Bloodline';challengers['Lockdown (Lockout)-link']='http://halo.wikia.com/wiki/Lockdown';challengers['Shrine (Sanctuary)-link']='http://halo.wikia.com/wiki/Shrine';challengers['Stonetown (Zanzibar)-link']='http://halo.wikia.com/wiki/Stonetown';challengers['Warlord (Warlock)-link']='http://halo.wikia.com/wiki/Warlord';challengers['Zenith (Ascension)-link']=
'http://halo.wikia.com/wiki/Zenith';challengers['Prophets-link']='http://halo.wikia.com/wiki/Category:Prophets';challengers['Elites-link']='http://halo.wikia.com/wiki/Sangheili';challengers['Brutes-link']='http://halo.wikia.com/wiki/Jiralhanae';challengers['Hunters-link']='http://halo.wikia.com/wiki/Mgalekgolo';challengers['Drones-link']='http://halo.wikia.com/wiki/Yanme%27e';challengers['Grunts-link']='http://halo.wikia.com/wiki/Unggoy';challengers['Jackals-link']='http://halo.wikia.com/wiki/Kig-Yar';challengers['Engineers-link']='http://halo.wikia.com/wiki/Huragok';challengers['Halo: Combat Evolved-link']='http://halo.wikia.com/wiki/Halo:_Combat_Evolved';challengers['Halo 2-link']='http://halo.wikia.com/wiki/Halo_2';challengers['Halo 2 Anniversary-link']='http://halo.wikia.com/wiki/Halo_2:_Anniversary';challengers['Halo 3-link']='http://halo.wikia.com/wiki/Halo_3';challengers['Halo 4-link']='http://halo.wikia.com/wiki/Halo_4';challengers['Halo: Combat Evolved Anniversary-link']=
'http://halo.wikia.com/wiki/Halo:_Combat_Evolved_Anniversary';challengerPoll={init:function(){$('.ajax-poll').each(function(){var pollID=$(this).attr('id').split('-')[2];$('.pollAnswerName label',this).each(function(index){var challenger=$(this).text();var radioID=$('input',this).attr('id');var radioValue=$('input',this).attr('value');var challenger1=challenger.trim();challengerPoll.beautify(this,challenger1,pollID,radioID,radioValue);});});$('.ajax-poll').on('click','.challenger img',function(){var currentPoll=$(this).parents().find('.ajax-poll').get(0);$(this).closest('.ajax-poll').children().find('.challenger').attr('class','challenger');$(this).parent().addClass('active');var pollID=$(this).attr('data-poll');var pollRadio=$(this).attr('data-radio');var pollValue=$(this).attr('data-value');var params={};params['action']='ajax';params['rs']='axAjaxPollSubmit';params['title']=wgPageName;params['wpPollId']=pollID;params['wpVote']='Vote!';params[pollRadio]=pollValue;$.post('index.php',
params,function(data){var total=data.total;$('.pollAnswerVotes',currentPoll).each(function(){var votedSpan=$('span',this);var votedBar=$('div',this);var currentValue=$('span',this).attr('id').split('-')[1];if(typeof data.votes[currentValue]!='undefined'){$(votedSpan).text(data.votes[currentValue].value);$(votedSpan).attr('title',data.votes[currentValue].percent+'%');$(votedBar).css('width',data.votes[currentValue].percent+'%');}else{$(votedSpan).text('0');$(votedSpan).attr('title','0%');$(votedBar).css('width','0%');}});},"json");});},beautify:function(element,challenger,poll,radio,value){var challengerLink=challenger+'-link';$(element).html('<a href="'+challengers[challengerLink]+'"><div class="name">'+challenger+'</div></a><div class="challenger"><img data-poll="'+poll+'" data-radio="'+radio+'" data-value="'+value+'" style="width: 100px; height: 100px;" class="challenger-image" src="'+challengers[challenger]+'" alt="'+challenger+'"></div>');}};$(document).ready(function(){$(
'.ajax-poll .total').parent().attr('class','description');$('.ajax-poll .pollAnswerVotes span').each(function(){var titleReplace=$(this).attr('title');if(titleReplace==0){$(this).attr('title','0%');}else if(titleReplace){var titleReplace=titleReplace.replace(/[^[0-9\,\.\%]+/g,'');$(this).attr('title',titleReplace);}else{$(this).attr('title','0%');}});challengerPoll.init();});};;mw.loader.state({"site":"ready"});

/* cache key: halo:resourceloader:filter:minify-js:7:719e1da69b1a5310c14766345af77da3 */