var firstRun=true;function loadFunc(){if(firstRun){firstRun=false;}else{return;}window.pageName=wgPageName;if(document.getElementById('infoboxinternal')!=null&&document.getElementById('infoboxend')!=null){document.getElementById('infoboxend').innerHTML='<a id="infoboxtoggle" href="javascript:infoboxToggle()">[Hide]</a>';}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(showEras);$('#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);}}}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 ajaxIndicator='http://images2.wikia.nocookie.net/dev/images/8/82/Facebook_throbber.gif',ajaxTimer,ajaxRefresh=60000,refreshText='Automatically refresh',refreshHover='Enable auto-refreshing page loads',doRefresh=true;if(!window.ajaxPages){var ajaxPages=new Array('Special:WikiActivity','Special:RecentChanges','Special:Watchlist','Special:Log','Special:NewFiles','Special:AbuseLog');}if(!window.ajaxCallAgain){var ajaxCallAgain=[];}if(typeof AjaxRCRefreshText=="string"){refreshText=AjaxRCRefreshText;}if(typeof AjaxRCRefreshHoverText=="string"){refreshHover=AjaxRCRefreshHoverText;}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){var c_start=document.cookie.indexOf(c_name+"=")
if(c_start!==-1){c_start=c_start+c_name.length+1;var 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(){var ajaxRLCookie=(getCookie("ajaxload-"+wgPageName)=="on")?true:false,appTo=($('#WikiaPageHeader').length)?$('#WikiaPageHeader'):($('#AdminDashboardHeader').length?$('#AdminDashboardHeader > h1'):$('.firstHeading'));appTo.append('&nbsp;<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="'+ajaxIndicator+'" style="vertical-align: baseline; float: none;" border="0" alt="Refreshing page" /></span></span>');$('#ajaxLoadProgress').ajaxSend(function(event,xhr,settings){if(location.href==settings.
url){$(this).show();}}).ajaxComplete(function(event,xhr,settings){if(location.href==settings.url){$(this).hide();for(i in ajaxCallAgain){ajaxCallAgain[i]();}}});$('#ajaxToggle').click(toggleAjaxReload);$('#ajaxToggle').attr('checked',ajaxRLCookie);if(getCookie("ajaxload-"+wgPageName)=="on"){loadPageData();}}function toggleAjaxReload(){if($('#ajaxToggle').prop('checked')==true){setCookie("ajaxload-"+wgPageName,"on",30);doRefresh=true;loadPageData();}else{setCookie("ajaxload-"+wgPageName,"off",30);doRefresh=false;clearTimeout(ajaxTimer);}}function loadPageData(){var cC=($('#WikiaArticle').length)?'#WikiaArticle':'#bodyContent';$(cC).load(location.href+" "+cC+" > *",function(data){if(doRefresh){ajaxTimer=setTimeout("loadPageData();",ajaxRefresh);}});}$(function(){for(x in ajaxPages){if(wgPageName==ajaxPages[x]&&$('#ajaxToggle').length===0){preloadAJAXRL();}}});if(wgNamespaceNumber==110){function disableOldForumEdit(){if(typeof(enableOldForumEdit)!='undefined'&&enableOldForumEdit){return;}
if(!document.getElementById('old-forum-warning')){return;}if(skin=='oasis'){$("#WikiaPageHeader .wikia-menu-button li a:first").html('Archived').removeAttr('href');$('#WikiaPageHeader .wikia-button').html('Archived').removeAttr('href');return;}if(!document.getElementById('ca-edit')){return;}var editLink=null;if(skin=='monaco'){editLink=document.getElementById('ca-edit');}else if(skin=='monobook'){editLink=document.getElementById('ca-edit').firstChild;}else{return;}editLink.removeAttribute('href',0);editLink.removeAttribute('title',0);editLink.style.color='gray';editLink.innerHTML='Archived';$('span.editsection-upper').remove();}addOnloadHook(disableOldForumEdit);};(function(jQuery){var style=document.createElement('div').style,moz=style['MozBorderRadius']!==undefined,webkit=style['WebkitBorderRadius']!==undefined,radius=style['borderRadius']!==undefined||style['BorderRadius']!==undefined,mode=document.documentMode||0,noBottomFold=jQuery.browser.msie&&((jQuery.browser.version<8&&!mode)
||mode<8),expr=jQuery.browser.msie&&(function(){var div=document.createElement('div');try{div.style.setExpression('width','0+0');div.style.removeExpression('width');}catch(e){return false;}return true;})();jQuery.support=jQuery.support||{};jQuery.support.borderRadius=moz||webkit||radius;function sz(el,p){return parseInt(jQuery.css(el,p))||0;};function hex2(s){s=parseInt(s).toString(16);return(s.length<2)?'0'+s:s;};function gpc(node){while(node){var v=jQuery.css(node,'backgroundColor'),rgb;if(v&&v!='transparent'&&v!='rgba(0, 0, 0, 0)'){if(v.indexOf('rgb')>=0){rgb=v.match(/\d+/g);return'#'+hex2(rgb[0])+hex2(rgb[1])+hex2(rgb[2]);}return v;}if(node.nodeName.toLowerCase()=='html'){break;}node=node.parentNode;}return'#ffffff';};function getWidth(fx,i,width){switch(fx){case'round':return Math.round(width*(1-Math.cos(Math.asin(i/width))));case'cool':return Math.round(width*(1+Math.cos(Math.asin(i/width))));case'sharp':return width-i;case'bite':return Math.round(width*(Math.cos(Math.asin((width
-i-1)/width))));case'slide':return Math.round(width*(Math.atan2(i,width/i)));case'jut':return Math.round(width*(Math.atan2(width,(width-i-1))));case'curl':return Math.round(width*(Math.atan(i)));case'tear':return Math.round(width*(Math.cos(i)));case'wicked':return Math.round(width*(Math.tan(i)));case'long':return Math.round(width*(Math.sqrt(i)));case'sculpt':return Math.round(width*(Math.log((width-i-1),width)));case'dogfold':case'dog':return(i&1)?(i+1):width;case'dog2':return(i&2)?(i+1):width;case'dog3':return(i&3)?(i+1):width;case'fray':return(i%2)*width;case'notch':return width;case'bevelfold':case'bevel':return i+1;case'steep':return i/2+1;case'invsteep':return(width-i)/2+1;}};jQuery.fn.corner=function(options){if(this.length==0){if(!jQuery.isReady&&this.selector){var s=this.selector,c=this.context;jQuery(function(){jQuery(s,c).corner(options);});}return this;}return this.each(function(index){var $this=jQuery(this),o=[$this.attr(jQuery.fn.corner.defaults.metaAttr)||'',options||''].
join(' ').toLowerCase(),keep=/keep/.test(o),cc=((o.match(/cc:(#[0-9a-f]+)/)||[])[1]),sc=((o.match(/sc:(#[0-9a-f]+)/)||[])[1]),width=parseInt((o.match(/(\d+)px/)||[])[1])||10,re=/round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog|invsteep|steep/,fx=((o.match(re)||['round'])[0]),fold=/dogfold|bevelfold/.test(o),edges={T:0,B:1},opts={TL:/top|tl|left/.test(o),TR:/top|tr|right/.test(o),BL:/bottom|bl|left/.test(o),BR:/bottom|br|right/.test(o)},strip,pad,cssHeight,j,bot,d,ds,bw,i,w,e,c,common,$horz;if(!opts.TL&&!opts.TR&&!opts.BL&&!opts.BR){opts={TL:1,TR:1,BL:1,BR:1};}if(jQuery.fn.corner.defaults.useNative&&fx=='round'&&(radius||moz||webkit)&&!cc&&!sc){if(opts.TL){$this.css(radius?'border-top-left-radius':moz?'-moz-border-radius-topleft':'-webkit-border-top-left-radius',width+'px');}if(opts.TR){$this.css(radius?'border-top-right-radius':moz?'-moz-border-radius-topright':'-webkit-border-top-right-radius',width+'px');}if(opts.BL){$this.
css(radius?'border-bottom-left-radius':moz?'-moz-border-radius-bottomleft':'-webkit-border-bottom-left-radius',width+'px');}if(opts.BR){$this.css(radius?'border-bottom-right-radius':moz?'-moz-border-radius-bottomright':'-webkit-border-bottom-right-radius',width+'px');}return;}strip=document.createElement('div');jQuery(strip).css({overflow:'hidden',height:'1px',minHeight:'1px',fontSize:'1px',backgroundColor:sc||'transparent',borderStyle:'solid'});pad={T:parseInt(jQuery.css(this,'paddingTop'))||0,R:parseInt(jQuery.css(this,'paddingRight'))||0,B:parseInt(jQuery.css(this,'paddingBottom'))||0,L:parseInt(jQuery.css(this,'paddingLeft'))||0};if(typeof this.style.zoom!=undefined){this.style.zoom=1;}if(!keep){this.style.border='none';}strip.style.borderColor=cc||gpc(this.parentNode);cssHeight=jQuery(this).outerHeight();for(j in edges){bot=edges[j];if((bot&&(opts.BL||opts.BR))||(!bot&&(opts.TL||opts.TR))){strip.style.borderStyle='none '+(opts[j+'R']?'solid':'none')+' none '+(opts[j+'L']?'solid':
'none');d=document.createElement('div');jQuery(d).addClass('jquery-corner');ds=d.style;bot?this.appendChild(d):this.insertBefore(d,this.firstChild);if(bot&&cssHeight!='auto'){if(jQuery.css(this,'position')=='static'){this.style.position='relative';}ds.position='absolute';ds.bottom=ds.left=ds.padding=ds.margin='0';if(expr){ds.setExpression('width','this.parentNode.offsetWidth');}else{ds.width='100%';}}else if(!bot&&jQuery.browser.msie){if(jQuery.css(this,'position')=='static'){this.style.position='relative';}ds.position='absolute';ds.top=ds.left=ds.right=ds.padding=ds.margin='0';if(expr){bw=sz(this,'borderLeftWidth')+sz(this,'borderRightWidth');ds.setExpression('width','this.parentNode.offsetWidth - '+bw+'+ "px"');}else{ds.width='100%';}}else{ds.position='relative';ds.margin=!bot?'-'+pad.T+'px -'+pad.R+'px '+(pad.T-width)+'px -'+pad.L+'px':(pad.B-width)+'px -'+pad.R+'px -'+pad.B+'px -'+pad.L+'px';}for(i=0;i<width;i++){w=Math.max(0,getWidth(fx,i,width));e=strip.cloneNode(false);e.style.
borderWidth='0 '+(opts[j+'R']?w:0)+'px 0 '+(opts[j+'L']?w:0)+'px';bot?d.appendChild(e):d.insertBefore(e,d.firstChild);}if(fold&&jQuery.support.boxModel){if(bot&&noBottomFold){continue;}for(c in opts){if(!opts[c]){continue;}if(bot&&(c=='TL'||c=='TR')){continue;}if(!bot&&(c=='BL'||c=='BR')){continue;}common={position:'absolute',border:'none',margin:0,padding:0,overflow:'hidden',backgroundColor:strip.style.borderColor};$horz=jQuery('<div/>').css(common).css({width:width+'px',height:'1px'});switch(c){case'TL':$horz.css({bottom:0,left:0});break;case'TR':$horz.css({bottom:0,right:0});break;case'BL':$horz.css({top:0,left:0});break;case'BR':$horz.css({top:0,right:0});break;}d.appendChild($horz[0]);var $vert=jQuery('<div/>').css(common).css({top:0,bottom:0,width:'1px',height:width+'px'});switch(c){case'TL':$vert.css({left:width});break;case'TR':$vert.css({right:width});break;case'BL':$vert.css({left:width});break;case'BR':$vert.css({right:width});break;}d.appendChild($vert[0]);}}}}});};jQuery.
fn.uncorner=function(){if(radius||moz||webkit){this.css(radius?'border-radius':moz?'-moz-border-radius':'-webkit-border-radius',0);}jQuery('div.jquery-corner',this).remove();return this;};jQuery.fn.corner.defaults={useNative:true,metaAttr:'data-corner'};})(jQuery);importScriptPage('SkinSwitchButton/code.js','dev');jQuery(function(jQuery){jQuery.fn.fadeToggle=function(speed,easing,callback){return this.animate({opacity:'toggle'},speed,easing,callback);};jQuery('.footdrop').click(function(e){jQuery(this).text(jQuery(this).text()=='Show ▼'?'Hide ▲':'Show ▼');jQuery(this).next().slideToggle('slow');jQuery('.popup').fadeOut(100);});jQuery('.footdrop').hover(function(){jQuery(this).toggleClass('whitet').toggleClass('oranget');},function(){jQuery(this).toggleClass('oranget').toggleClass('whitet');});jQuery('.popup').click(function(e){jQuery(this).fadeToggle(100);});jQuery('.pop').click(function(e){jQuery(this).next().fadeToggle(100);});jQuery('.roundtop').corner('top 10px');jQuery(
'.roundbod').corner('bottom 10px');});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;var togglers=new Array();var allClasses=new Object();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 in toggles)toggles[j].style.display=toggles[j]._toggle_original_display;break;case"_show":for(var j in toggles)toggles[j].style.display='';break;case"_hide":for(var j in toggles)toggles[j].style.display='none';break;case"":default:for(var j in toggles)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=new Array();var toggleGroup=new Array();togglers=new Array();allClasses=new Object();allClasses.
watch=undefined;allClasses.unwatch=undefined;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]=new Array();allClasses[elemClass].push(elem);if(elemClass.substring(0,7)!="_toggle")continue;if(elemClass=="_togglegroup")toggleGroup=new Array();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]=new Array();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}addOnloadHook(toggleInit);function imagelinks(){var a=document.getElementsByTagName("a");for(var t=0;t<a.length;++t){var a2=a[t];var img=a2.getElementsByTagName("img");if(img[0]!=null){if(a2.href.indexOf("images.wikia.com")!=-1){var link=wgServer+'/wiki/File:'+a2.href.substring(a2.href.lastIndexOf('/')+1);a2.setAttribute('href',link);a2.onclick=(function(link_a){return function(){window.location=link_a;return false};})(link);}}}}addOnloadHook(imagelinks);function addMastheadTags(){var rights={};rights["Sonasaurus"]=["Bureaucrat"];rights["Ajax 013"]=["Bureaucrat"];rights["Actene"]=[
"Admin"];rights["Ahalosniper"]=["Admin"];rights["Athena32"]=["Admin"];rights["Brodie-001"]=["Admin"];rights["Leo Fox"]=["Admin"];rights["Anonymous ONI agent"]=["Site Patrol"];rights["Auguststorm1945"]=["Site Patrol"];rights["Hyper Zergling"]=["Site Patrol"];rights["Laconia"]=["Site Patrol"];if(wgCanonicalSpecialPageName=="Contributions"){var user=wgPageName.substring(wgPageName.lastIndexOf("/")+1).replace(/_/g," ");}else{var user=wgTitle;}if(typeof rights[user]!="undefined"){$('.UserProfileMasthead .masthead-info span.tag').remove();for(var i=0,len=rights[user].length;i<len;i++){$('<span class="tag" span style="margin-left: 10px !important">'+rights[user][i]+'</span>').appendTo('.masthead-info hgroup');}}};$(function(){if($('#UserProfileMasthead')){addMastheadTags();}});;mw.loader.state({"site":"ready"});

/* cache key: halofanon:resourceloader:filter:minify-js:7:c29773198a73f3b0ef15e260cd8d8a33 */