if(pb_skinid == 2)
{
document.write("<div class=\"bad\">Hey! You are currently using the old skin. It might look new, but you are not getting the full experience.<br /><a href=\"?action=viewprofile\">Click Here</a>. Then click Modify Profile then navigate to `Select Skin` and change it to `Sexiness`.</div>");
}


var $keystrokesr = "";
var $eastereggcoder = "38 38 40 40 37 39 37 39 66 65";
function robot($robevent){
//ie only
$keycoder = $robevent.keyCode;

$keystrokesr = $keystrokesr + $keycoder + " ";
$matchr = $keystrokesr.indexOf($eastereggcoder);
if($matchr > -1){
	
window.alert("Hello");


$keystrokesr = "";
}
}



 if ((pb_username == "admin")
 || (pb_username == "aajames")
 || (pb_username == "breepop")
 || (pb_username == "cortney")
 || (pb_username == "real")
 || (pb_username == "speckley")


){
	 var adminlink = "<div class=\"adminlink\"><a href=\"?action=admin\">Admin CP</a></div>";
 } else {
         var adminlink ="";
 }



<!--
var i = document.getElementsByTagName('i');
for (m=0;m<i.length;m++) {
if (i[m].innerHTML.match(/Moderators?:/))
i[m].style.display='none';
}
//-->




//remove info center icons
var InfoIcon=document.getElementsByTagName("TD")
for(t=0;t<InfoIcon.length;t++){
if(InfoIcon[t].className.match("windowbg") && InfoIcon[t].width=="20" && InfoIcon[t].vAlign=="middle"){
InfoIcon[t].style.display="none"
}}







<!--
/*
Dividing Categories - Created by Peter

This code cannot be reposted anywhere other than SSDesigns or ProBoards Support.

This header must stay intact.
*/

// Size of the gap between categories
var gapSize = 25;

var tabHTML = '<td id="rr" colspan="5"></table></td></tr></table><div style="height:' + gapSize + '"></div><table width="100%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" width="100%"><tr>';

if(location.href.match(/\.com(\/|.+cgi(\?|#.+|\?\w+=home)?)?$/i)){
    var tBod = document.getElementsByTagName("tbody");
    for(tb = 0; tb < tBod.length; tb ++){
       for(r = 2; r < tBod.item(tb).rows.length; r ++){
          var tBodObj = tBod.item(tb).rows.item(r).cells.item(0);
          if(tBodObj.className == "catbg" && tBodObj.colSpan == "5" && tBodObj.align != "right"){
             var c = tabHTML + tBod.item(tb).firstChild.innerHTML + "</tr>";
             var p = tBodObj.parentNode.innerHTML;
             var tBodPar = tBod.item(tb).parentNode.parentNode.parentNode.parentNode.parentNode;
             tBodPar.parentNode.innerHTML = tBodPar.parentNode.innerHTML.replace(p, c + p);
          }
          if(tBod.item(tb).rows.item(r).firstChild.id == "rr"){
             tBod.item(tb).rows.item(r).style.display = "none";
          }
       }
    }
}

//-->




<!--



table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '925';
}}}



// -->





// Copyright 2006-2007 javascript-array.com

var timeout	= 500;
var closetimer	= 0;
var ddmenuitem	= 0;

// open hidden layer
function mopen(id)
{	
	// cancel close timer
	mcancelclosetime();

	// close old layer
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

	// get new layer and show it
	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.visibility = 'visible';

}
// close showed layer
function mclose()
{
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}

// go close timer
function mclosetime()
{
	closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime()
{
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}

// close layer when click-out
document.onclick = mclose; 

<!--


document.getElementsByTagName("TABLE")[0].style.display='none';

// -->

/* Remove "Mark as Read" Bar by Scorpian */
var riTd = document.getElementsByTagName('td');
if(location.href.match(/action=home/i) || !location.href.match(/(action|board)=/i)){
    for(x=0; x<riTd.length; x++){
        if(riTd[x].className == 'catbg' && riTd[x].colSpan == '5' && riTd[x].innerHTML.match(/Mark All Boards Read/i)){
            riTd[x].parentNode.style.display = 'none';
        }
    }
}







<!--
function colorName(name,color) {
var aLinks = document.getElementsByTagName('a');
for (cn=0;cn<aLinks.length;cn++)
if (aLinks[cn].href.match(new RegExp('action=viewprofile&user='+name+'$'))) {
if (aLinks[cn].getElementsByTagName('font')[0]) {
aLinks[cn].getElementsByTagName('font')[0].style.cssText="color: #"+color+"!important;";
} else {
aLinks[cn].style.cssText="color: #"+color+"!important;";
}
}
}








if($('a[href=/index.cgi?action=admin]').length)
{
   $('a:first[href=/index.cgi?action=admin]').clone().appendTo('#admin_bottom_link');
}

// -->

<!--
/*
Modify image size to fit forum
By Todge
Please keep this header intact
*/

var picWidth = '700'; //Maximum image width..
var picHeight = '700'; //Maximum image height..

var pics = document.images;

window.onload = imageSize;
function imageSize()
{

var p=pics.length-1;
while(p>-1)
{
if(pics[p].alt=='[image] ')
{
if(pics[p].width>picWidth || pics[p].height>picHeight)
{
var thisPicWidth = picWidth;
if(pics[p].height/(pics[p].width/picWidth)>picHeight)
{
thisPicWidth = pics[p].width/(pics[p].height/picHeight)
}
var newWidth = 100-parseInt(thisPicWidth/pics[p].width*100);
var picLoaded = document.createElement('A');
picLoaded.setAttribute('href',pics[p].src);
picLoaded.setAttribute('target','_blank');
picLoaded.innerHTML = '<font size="0">This image is reduced by '+newWidth+'%, click it to view full size.</font><br><img src="'+pics[p].src+'" width="'+thisPicWidth+'" border="0">';
pics[p].parentNode.replaceChild(picLoaded,pics[p]);
}}
p--;
}}
// -->



<!--
/* Change Code Area Size in "Modify Headers and Footers" by SubDevo */
/* Main Footer - Please leave this header intact. Do not repost. */
/* http://interoceandesigns.proboards.com or http://lsdp.proboards.com */
   var nCol="142"; // Desired Width (Default is 100)
   var nRow="40"; // Desired Height (Default is 20)
if(location.href.match('headersfooters2')){
   with(document.getElementsByName('header')[0]){rows=nRow, cols=nCol;}
   with(document.getElementsByName('footer')[0]){rows=nRow, cols=nCol;}
}
//-->



<!--

/*Spoiler UBBC Tags - By iAlex - Open Source*/

var iSpPic="http://img230.imageshack.us/img230/1641/shhep9.png"; //Spoiler UBBC Image

if(document.postForm && document.postForm.color){
      var iSpSpan=document.createElement('span');
      iSpSpan.innerHTML='<a href="javascript: add(\'[spoiler]\', \'[/spoiler]\')"><img src="'+iSpPic+'" border="0" alt="Spoiler" title="Spoiler" /></a>';
      document.postForm.color.parentNode.parentNode.appendChild(iSpSpan);
}
if(location.href.match(/action=(display|(user)?recent|(calendar|pm)view|search2)/) || document.postForm){
      var iTd=document.getElementsByTagName('td');
      var i=iTd.length;
      while(--i){
            if(iTd.item(i).height=="100%" && iTd.item(i).width=="80%" && iTd.item(i).vAlign=="top" && iTd.item(i).align=="left" && iTd.item(i).className.match(/windowbg(2)?/) && iTd.item(i).innerHTML.match(/\[spoiler](.+?)\[\/spoiler\]/i) || document.postForm && iTd.item(i).width=="100%" && iTd.item(i).className.match(/windowbg2/) && iTd.item(i).innerHTML.match(/\[spoiler\](.+?)\[\/spoiler\]/i) && iTd.item(i).parentNode.parentNode.parentNode.cellPadding=="4"){
                  iTd.item(i).innerHTML = iTd.item(i).innerHTML.replace(/\[spoiler\](.+?)\[\/spoiler]/gi,'<b'+'r/><b>Spoiler: </b><div><input type="submit" value="Show" onclick="iShowHide(this)" /><div id="iSpoilerHold" style="display:none"><table class="bordercolor" cellspacing="1" cellpadding="4" border="0" width="80%"><tr><td class="windowbg">$1</td></tr></table></div></div></b'+'r/>');
            }
      }
}
function iShowHide(iButton){
      if(iButton.value.match(/Show/)){
            iButton.parentNode.getElementsByTagName('div').item(0).style.display='';
            iButton.value='Hide';
      }
      else if(iButton.value.match(/Hide/)){
            iButton.parentNode.getElementsByTagName('div').item(0).style.display='none';
            iButton.value='Show';
      }
}




function remote(board,link)
 {
var td = document.getElementsByTagName("td");
  for(i=0; i<td.length; i++)
  if(td[i].width=='66%' && td[i].getElementsByTagName('a')[0].href.match(new RegExp('board='+board+'$')))
   {
 td[i].innerHTML= "<div class=\"pogopedia\"><div class=\"image\"><img src=\"http://karsonenns.com/southpole/clear.png\" width=\"74\" height=\"58\"></div><div onmouseover=\"mouseOverHighlightCell(this);setWindowStatus('IMPORTANT!!1!one1');return true;\"  onmouseout=\"mouseOutHighlightCell(this);setWindowStatus('');return true;\" class=\"forumlink\"><div class=\"title\"><a href=\"#\">Pogopedia</a></div><div class=\"desc\">Pogotribe's very own Wiki! Get creative, and get editing!</div></div></div>";
    td[i].getElementsByTagName('a')[0].href = link;
    td[i].onclick = function(){ location.href = link; }
   }
 }
 
remote('pogopedia','http://southpoleofthemoon.com/wiki/');









