/* ExtremeData | SlipStream - http://exdat.proboards44.com/index.cgi?
Extreme Data - View Profile Re-Model v2.0 - Cannot be USED ANYWHERE!
Any other site found to be using this code shall be in violation of this copyright notice.
By {XF}Äs$@§sîñ™, This header must stay intact AT ALL TIMES. */

if (/action=viewpro/.test(location.href) && /exdat\.proboards44/.test(document.domain)) {
   document.write('<link rel="stylesheet" type="text/css" href="http://exdat.net/v2/profilecss.css" /><div style="display: none;" align="center" id="pProTab"><div class="profileHead"></div><div align="center" class="profileMiddle"><table cellpadding="0" cellspacing="0" border="0" align="center" class="proHolder"><tr><td width="100%" align="center"><table width="100%" cellpadding="0" cellspacing="2" border="0" align="center"><tr><td width="100%" align="center" class="profileTitleBG"><div style="width: 35%; float: left;" align="left"><b>View Profile: <span id="pDisplayName"></span></b></div><div style="width: 65%; float: right;" align="right" id="pOptions"></div></td></tr></table></td></tr><tr><td width="100%" align="center"><table width="100%" cellpadding="0" cellspacing="2" border="0" align="center"><tr><td width="60%" align="center" valign="top" class="cellBG"><div align="center" class="profileCatBG">Personal Biography</div><table width="100%" cellpadding="3" cellspacing="1" align="center" class="proTab"><tr><td width="10%" align="right" id="pAvImg"></td><td width="90%" align="left"><div class="fixProOverflow"><table width="100%" align="center" cellpadding="3" cellspacing="1" class="proTab"><tr><td width="31%">Status:</td><td width="69%"><span id="pStatus">Offline</span></td></tr><tr><td width="31%" valign="top">Rank:</td><td width="69%" id="pRank"></td></tr><tr style="display: none;"><td width="31%" valign="top">Custom Title:</td><td width="69%" id="pCustomTitle"></td></tr><tr style="display: none;"><td width="31%" valign="top">Quote:</td><td width="69%" id="pPersonalText"></td></tr><tr style="display: none;"><td width="31%">Website:</td><td width="69%" id="pWebSite"></td></tr><tr><td width="31%">Gender:</td><td width="69%" id="pGender"></td></tr><tr style="display: none;"><td width="31%">Location:</td><td width="69%" id="pLocation"></td></tr><tr style="display: none;"><td width="31%">Birthday:</td><td width="69%" id="pBirthday"></td></tr><tr style="display: none;"><td width="31%">Age:</td><td width="69%" id="pAge"></td></tr><tr style="display: none;"><td width="31%">Karma:</td><td width="69%" id="pKarma"><span id="pKarmaOptions" style="padding-left: 3px;"></span></td></tr></table></div></td></table></td><td width="40%" align="center" valign="top" class="cellBG"><div align="center" class="profileCatBG">Communication</div><table width="100%" cellpadding="3" cellspacing="1" align="center" class="proTab"><tr><td width="16%">Email:</td><td width="84%" id="pEmail"></td></tr><tr><td colspan="2" align="center" style="padding: 0px !important;"><img src="http://exdat.net/v2/images/hr2ap1.png" alt="" /></td></tr><tr><td width="16%">ICQ:</td><td width="84%" id="pICQ"><span>undisclosed</span></td></tr><tr><td width="16%">AIM:</td><td width="84%" id="pAIM"><span>undisclosed</span></td></tr><tr><td width="16%">YIM:</td><td width="84%" id="pYIM"><span>undisclosed</span></td></tr><tr><td width="16%">MSN:</td><td width="84%" id="pMSN"><span>undisclosed</span></td></tr></table></td></tr></table></td></tr><tr><td width="100%" align="center"><table width="100%" cellpadding="0" cellspacing="2" border="0" align="center"><tr><td width="47%" align="center" valign="top" class="cellBG"><div align="center" class="profileCatBG">Active Stats</div><table width="100%" cellpadding="3" cellspacing="1" align="center" class="proTab"><tr><td width="33%">Posts:</td><td width="67%" id="pPosts"></td></tr><tr><td width="33%">Contribution:</td><td width="67%"><span id="pPostPercentage"></span>% of a total of<span id="pPostTotal"></span>forum posts</td></tr><tr><td width="33%">Posts per Day:</td><td width="67%" id="pPostperDay"></td></tr><tr><td width="33%">Date Registered:</td><td width="67%" id="pDateRegistered"></td></tr><tr><td width="33%">Registered For:</td><td width="67%" id="pMemberAge"></td></tr><tr><td width="33%" valign="top">Last Login Date:</td><td width="67%" id="pLastLoginDate"></td></tr></table></td><td width="53%" align="center" valign="top" class="cellBG"><div align="center" class="profileCatBG">Recent Activity</div><table width="100%" align="center" cellpadding="3" cellspacing="1"><tr><td width="100%"><div class="fixRPOverflow" id="pRecentPosts"><span>This member has not yet posted on Extreme Data.<br/><br/>New to <span style="color: #df0904;"><b>Extreme Data</b></span>? Dont be shy! Why dont you introduce yourself here and get to know your fellow members!?!<br/><br/>The <a href="/index.cgi?board=arrivals"><b>Hello! Goodbye?!!</b></a> board is a great place to begin and enjoy your stay at Extreme Data <img src="http://i3.tinypic.com/282nggm.gif" alt=":)" />!</span></div></td></tr></table></td></tr></table></td></tr><tr><td width="100%"><table width="100%" cellpadding="0" cellspacing="2" border="0" align="center"><tr style="display: none;"><td colspan="2" class="cellBG"><div align="center" class="profileCatBG">Signature</div><div align="center" id="pSignature"></div></td></tr></table></td></tr><tr><td width="100%"><table width="100%" cellpadding="0" cellspacing="2" border="0" align="center"><tr style="display: none;"><td style="display: none;" class="cellBG"><div align="center" class="profileCatBG">User Notes</div><div id="pUserNotes"></div></td><td width="50%" style="display: none;" class="cellBG"><div align="center" class="profileCatBG">Account Notes</div><div id="pAccountNotes"></div></td></tr></table></td></tr><tr><td width="100%" align="center"><table width="100%" cellpadding="0" cellspacing="2" border="0" align="center" class="proHolder"><tr><td width="100%" align="center" class="profileTitleBG"><div style="width: 40%; float: left;" align="left">Last Known IP: <span id="pLastKnownIP"><span>Logged</span></span></div><div style="width: 60%; float: right;" align="right">Account Status: <span id="pAccountStatus"></span></div></td></tr></table></td></tr></table></div><div class="profileBase"></div></div>');
}

if(location.href.match(/com\/?((v45index\.cgi)?\??(action=(ma.+ad|logout|home))?(#.+)?)?$/)){
document.write('<div id="edInfoCenter" style="display: none;" align="center"><div class="infoHead"></div><div class="midTable" align="center"><table width="700" cellpadding="4" cellspacing="1" align="center" class="bordercolor"><tr><td width="25%">Members: <a href="/index.cgi?action=members"><span id="edMembers"></span></a><br/>Newest: <span id="edNewMem"></span></a><br/>Welcome to Extreme Data!</td><td width="19%">Posts: <span id="edPost"></span><br/>Topics: <span id="edTopic"></span><br/><a href="/index.cgi?action=recent">10 most recent posts</a></td><td width="18%">Boards: <span id="edBoard"></span><br/>Categories: <span id="edCategory"></span><br/>Updated Boards: <span id="edUpdatedBoard"></span></td><td width="38%"> Last Topic: <span id="edLastPost"></span><br/> Updated By: <span id="edLastAuthor"></span><br/> On: <span id="edLastTime"></span></td></tr><tr><td width="25%" align="center"><img title="Admin" alt="Admin" src="http://exdat.net/v2/imgs/Legend/blue.png" /> <img title="Projekt Crew" alt="Projekt Crew" src="http://exdat.net/v2/imgs/Legend/pk.png" /> <img title="Elite Mod" alt="Elite Mod" src="http://exdat.net/v2/imgs/Legend/pink.png" /> <img title="Senior Mod" alt="Senior Mod" src="http://exdat.net/v2/imgs/Legend/purple.png" /> <img title="Design Mod" alt="Design Mod" src="http://exdat.net/v2/imgs/Legend/orange.png" /> <img title="Moderator" alt="Moderator" src="http://exdat.net/v2/imgs/Legend/green.png" /> <img title="MasterWorks Member" alt="MasterWorks Member" src="http://exdat.net/v2/imgs/Legend/mw.png" /> <img title="Member" alt="Member" src="http://exdat.net/v2/imgs/Legend/member.png" /></td><td colspan="3">Most users online was <span id="edMostNumber"></span>, <span id="edMostTime"></span></td></tr><tr><td width="25%" align="center"><div style="padding-bottom: 2px; border-bottom: 1px dashed #FFFFFF;"> eXtreme Staff (<span id="edStaff"></span>)</div><div style="padding-top: 2px;">Guests/Members (<a href="javascript:popWindow(\'viewguests\')"><span id="edMember"></span></a>)</div></td><td colspan="3"><div style="padding-bottom: 2px; border-bottom: 1px dashed #FFFFFF;" id="staffCell"> -</div><div style="padding-top: 2px;" id="memberCell"> -</div></td></tr><tr id="ebRow" style="display: none;"><td colspan="2" align="left" id="edBirthday">There are no birthdays on Extreme Data today.</td><td colspan="2" align="center" id="edEvent">There are no events for this month.</td></tr></table></div><div class="baseTab"></div></div>');
}

/* ExtremeData | SlipStream - http://exdat.proboards44.com/index.cgi?
Extreme Data - View Profile Re-Model v2.0 - Cannot be USED ANYWHERE!
Any other site found to be using this code shall be in violation of this copyright notice.
By {XF}Äs$@§sîñ™, This header must stay intact AT ALL TIMES. */

var tr = document.getElementsByTagName("tr");

var edProfile = {
   edProItems: {
      uPost: 0, 
      uAv: false, 
      pOptions: new Array()
   },
   
   getID: function() {
      return document.getElementById("p" + arguments[0]);
   },
   
   getPosts: function() {

      if (/tPosts=(.+?)(;|$)/.exec(document.cookie)) { 
         return RegExp.$1.replace(',' ,'');
      }
      else {
         return 0;
      }
   },
   
   daysRegistered: function() {
      this.edProItems.dateRegistered[2] = (this.edProItems.dateRegistered[2].length == 2)? "20" + this.edProItems.dateRegistered[2] : this.edProItems.dateRegistered[2] ;
      this.edProItems.dateRegistered[1] = /\d+/i.test(this.edProItems.dateRegistered[1])? this.edProItems.dateRegistered[1]-1 : new Date(this.edProItems.dateRegistered[1] + " " + this.edProItems.dateRegistered[0] + ", " + this.edProItems.dateRegistered[2]).getMonth() ;
      
      var cDate = new Array();
      var oDate = new Date(this.edProItems.dateRegistered[2], this.edProItems.dateRegistered[1], this.edProItems.dateRegistered[0]);
      var tTracker = new Date().getTime() - oDate.getTime();
      cDate.push(Math.floor(tTracker / (1000*60*60*24)));
      var nY = Math.floor(tTracker / (1000*60*60*24*365.25));
      tTracker -= nY * (1000*60*60*24*365.25);
      var nM = Math.floor(tTracker / (1000*60*60*24*(365.25/12)));
      tTracker -= nM * (1000*60*60*24*(365.25/12));
      nD = Math.floor(tTracker / (1000*60*60*24));
      cDate.push(nD + ' day' + ((nD == 1)? ', ' : 's, ') + nM + ' month' + ((nM == 1)? ', ' : 's, ') + nY + ' year' + ((nY == 1)? '' : 's'));
      
      return cDate;
   },
   
   trimString: function() {
      return arguments[0].replace(/\s|:/g, "");
   },
   
   setProfileValues: function() {
      for (var p in this.edProItems.pOptions) {
         var pId = this.getID(this.trimString(this.edProItems.pOptions[p][0]));
         if (/Karma/.test(this.trimString(this.edProItems.pOptions[p][0]))) {
            pId.insertBefore(this.edProItems.pOptions[p][1], pId.lastChild);
         }
         else if (pId.lastChild && /^span$/i.test(pId.lastChild.nodeName)) {
            pId.replaceChild(this.edProItems.pOptions[p][1], pId.lastChild);
         }
         else {
            if (/Gender/.test(this.trimString(this.edProItems.pOptions[p][0]))) {
               pId.appendChild(document.createElement("span"));
               if (/^fe/i.test(this.edProItems.pOptions[p][1].lastChild.data)) {
                  pId.lastChild.style.color = "FF00FF";
               }
               else if (/^ma/i.test(this.edProItems.pOptions[p][1].lastChild.data)) {
                  pId.lastChild.style.color = "1ACAF2";
               }
               else {
                  this.edProItems.pOptions[p][1].lastChild.replaceData(0, 11, "Not Telling");
               }
               pId.lastChild.appendChild(this.edProItems.pOptions[p][1].lastChild);
            }
            else {
               pId.appendChild(this.edProItems.pOptions[p][1]);
            }
         }
      }
   },
   
   config: function() {

	if (/action=viewprofile/.test(location.href) && /exdat\.proboards44/.test(document.domain)) {
         for (i=0; i<tr.length; i++) {
            var t = tr.item(i).firstChild;
            if (t.width == "20%" && t.className == "windowbg") {
               this.getID("DisplayName").appendChild(t.getElementsByTagName("a").item(0));               
               this.getID("DisplayName").appendChild(document.createTextNode(" "));               
               this.getID("Rank").innerHTML = t.innerHTML.split(/<br\s?\/?>/i)[1] + "<br/>" + t.innerHTML.split(/<br\s?\/?>/i)[2];
               
               var customTitle = t.innerHTML.split(/<br\s?\/?>/i)[3];
               customTitle = customTitle.replace(/\[eD:(.+?)\]/, "");
               if (!/member\sis\s(.+?)$/i.test(customTitle) && customTitle != "") {
                  this.getID("CustomTitle").innerHTML = customTitle;
                  this.getID("CustomTitle").parentNode.style.display = "";
               }
               
               if (/member\sis\s(.+?)<\/b><br\s?\/?>/i.test(t.innerHTML)) {
                  this.getID("Status").style.color = "66CD00";
                  this.getID("Status").style.fontWeight = "bold";
                  this.getID("Status").replaceChild(document.createTextNode("Online"), this.getID("Status").lastChild);
               }
               else {
                  this.getID("Status").style.fontStyle = "italic";
                  this.getID("Status").style.color = "B0B0B0";
               }
            
               var cen = t.getElementsByTagName("center").item(t.getElementsByTagName("center").length-1);
               for (c=0; c<cen.childNodes.length; c++) {
                  if (cen.childNodes.item(c).alt && /^\[avatar\]$/i.test(cen.childNodes.item(c).alt)) {
                     this.getID("AvImg").appendChild(cen.childNodes.item(c));
                     this.edProItems.uAv = true;
                  }
                  else if (cen.childNodes.item(c).nodeType == 3) {
                     this.getID("PersonalText").appendChild(document.createTextNode(cen.childNodes.item(c).nodeValue));
                     this.getID("PersonalText").style.display = "";
                     break;
                  }
               }
               
               if (!this.edProItems.uAv) {
                  this.getID("AvImg").appendChild(document.createElement("img"));
                  with (this.getID("AvImg").lastChild) {
                     src = "http://exdat.net/v2/images/noavatar.png";
                     height = "47";
                     width = "47";
                  }
               }
               
               if (/<br\s?\/?>\[\s(.+?)\s\|\s(.+?)\s\]/i.exec(t.innerHTML)) {
                  this.getID("KarmaOptions").innerHTML = "( " + RegExp.$1 + " | " + RegExp.$2 + " )";
               }

               t = t.nextSibling.getElementsByTagName("table").item(0);
               var tTd = t.getElementsByTagName("td");
               this.getID("Options").appendChild(tTd.item(0).getElementsByTagName("b").item(0));

               for (j=1; j<tTd.length; j++) {
                  if (tTd.item(j).width == "25%" && /^font$/i.test(tTd.item(j).firstChild.nodeName) && this.getID(this.trimString(tTd.item(j).firstChild.firstChild.data))) {
                     if (/^(Website|Location|Birthday|Age|Karma):$/i.test(tTd.item(j).firstChild.firstChild.data)) {
                        this.getID(this.trimString(tTd.item(j).firstChild.firstChild.data)).parentNode.style.display = "";
                     }
                     else if (/^Posts:$/i.test(tTd.item(j).firstChild.firstChild.data)) {
                        this.edProItems.uPost = tTd.item(j).nextSibling.firstChild.firstChild.data.replace(/,/g, "");
                     }
                     else if (/^Date\sRegistered:$/i.test(tTd.item(j).firstChild.firstChild.data)) {
                        if (/(.+?)(-|\s|\/|\.)(.+?)(-|,\s|\/|\.)(\d+)/.test(tTd.item(j).nextSibling.firstChild.firstChild.data)) {
                           d = RegExp.$1; m = RegExp.$3; y = RegExp.$5;
                           if (/\D+/.test(d)) {
                              this.edProItems.dateRegistered = new Array(m, d, y);
                           }
                           else {
                              this.edProItems.dateRegistered = new Array(d, m, y);
                           }
                           this.edProItems.dateRegistered = this.daysRegistered();
                           this.getID("MemberAge").appendChild(document.createTextNode(this.edProItems.dateRegistered[1]));
                           this.getID("PostperDay").appendChild(document.createTextNode((this.edProItems.uPost / this.edProItems.dateRegistered[0]).toFixed(2)));
                        }
                     }
                     else if (/^(Last|Recent)\sPost(s)?:$/i.test(tTd.item(j).firstChild.firstChild.data)) {
                        var rtr = (document.addEventListener)? tTd.item(j).parentNode.nextSibling : tTd.item(j).parentNode.parentNode.getElementsByTagName("tr").item(tTd.item(j).parentNode.rowIndex+1) ;
                        var dF = document.createDocumentFragment();
                        while (rtr.cells.item(0).vAlign == "top") {
                           dF.appendChild(document.createTextNode("- "));
                           dF.appendChild(rtr.cells.item(0).lastChild);
                           dF.appendChild(document.createElement("br"));
                           dF.appendChild(document.createElement("br"));
                           if (rtr.nextSibling && /^tr$/i.test(rtr.nextSibling.nodeName)) {
                              rtr = rtr.nextSibling;
                           }
                           else {
                              break;
                           }
                        }
                        this.getID("RecentPosts").replaceChild(dF, this.getID("RecentPosts").getElementsByTagName("span").item(0));
                        if (document.addEventListener) {
                           tTd.item(j).nextSibling.replaceChild(tTd.item(j).nextSibling.getElementsByTagName("form").item(0), tTd.item(j).nextSibling.firstChild);
                        }
                     }
                     this.edProItems.pOptions.push([tTd.item(j).firstChild.firstChild.data, tTd.item(j).nextSibling.firstChild]);
                  }
                  else if (tTd.item(j).colSpan == "2" && tTd.item(j).lastChild && tTd.item(j).getElementsByTagName("b").item(0) && this.getID(this.trimString(tTd.item(j).getElementsByTagName("b").item(0).firstChild.data))) {
                     this.getID(this.trimString(tTd.item(j).getElementsByTagName("b").item(0).firstChild.data)).appendChild(tTd.item(j).parentNode.nextSibling.firstChild.firstChild);
                     this.getID(this.trimString(tTd.item(j).getElementsByTagName("b").item(0).firstChild.data)).parentNode.parentNode.style.display = "";
                     if (/(User|Account)\sNotes/i.exec(tTd.item(j).getElementsByTagName("b").item(0).firstChild.data)) {
                        this.getID(RegExp.$1 + "Notes").parentNode.style.display = "";
                     }
                  }
               }
               
               this.getID("PostPercentage").appendChild(document.createTextNode(Math.round((this.edProItems.uPost / this.getPosts()) * 100)));
               this.getID("PostTotal").appendChild(document.createTextNode(" " + this.getPosts() + " "));
               this.setProfileValues();
               
               var tabTarget = tr.item(i).parentNode;
               while (tabTarget.className != "bordercolor") {
                  tabTarget = tabTarget.parentNode;
               }
               tabTarget.parentNode.replaceChild(this.getID("ProTab"), tabTarget);               
               this.getID("ProTab").style.display = "";         
               break;
            }
         }
      }
   }
};



/* ExtremeData | SlipStream - http://exdat.proboards44.com/index.cgi?
Main Footer - Can NOT be USED ANYWHERE!
Any other site found to be using this code shall be in violation of this copyright notice.
By {XF}Äs$@§sîñ™, http://www.xf-clan.net/ This header must stay intact. */

function ed_mfooter(){


if (document.loginform) {
   document.loginform.minutes.selectedIndex = 9;
}

if (document.modifyForm) {
   function cP() {
      document.modifyForm.password.value = "";
   }
   window.addEventListener("load", cP, false);
}

if (/action=pmsend&to=(admin|smangii|sneaky|deadlyassassin)/.test(location.href)) {
   for (i=0; i<table.length; i++) {
      if (table.item(i).width == "92%") {
         table.item(i).rows.item(0).cells.item(0).insertBefore(getID("pmStuff"), table.item(i).rows.item(0).cells.item(0).getElementsByTagName("br").item(0));
         getID("pmStuff").style.display = "";
         break;
      }
   }
}
else if (document.modifyForm && document.modifyForm.customtitle) {
   function findProfileValue() {
      if (/\[eD:(.+?)\]/.exec(document.modifyForm.customtitle.value)) {
         document.modifyForm.customtitle.value = document.modifyForm.customtitle.value.replace(/\[eD:(.+?)\]/, "");
         return RegExp.$1;
      }
      else {
         return 0;
      }
   }

   function saveProfileValue() {
      document.modifyForm.customtitle.value = "[eD:" + document.getElementById("eDCont").value + "]" + document.modifyForm.customtitle.value;
   }   

   var rTarget = document.modifyForm.customtitle.parentNode.parentNode.parentNode;
   var cRow = rTarget.cloneNode(true);
   var fTarget = cRow.firstChild.lastChild;
   fTarget.replaceChild(document.createTextNode("Contests Won:"), fTarget.firstChild);
   fTarget = cRow.firstChild.nextSibling.lastChild.lastChild;
   fTarget.removeAttribute("name");
   fTarget.id = "eDCont";
   fTarget.value = findProfileValue();
   fTarget = cRow.lastChild.lastChild;
   fTarget.replaceChild(document.createTextNode("Enter the number of Extreme Data Contests this member has won."), fTarget.firstChild);   
   rTarget.parentNode.insertBefore(cRow, rTarget.nextSibling);
   
   if (document.addEventListener) {
      document.modifyForm.addEventListener("submit", saveProfileValue, false);
   }
   else {
      document.modifyForm.attachEvent("onsubmit", saveProfileValue);
   }
}
else if(location.href.match(/com\/?((v45index\.cgi)?\??(action=(ma.+ad|logout|home))?(#.+)?)?$/)){
   var mainTab = document.createDocumentFragment();
   var infoData = [0, 0, 0];
    
   for (i=table.length-1; i>0; i--) {
      if (table.item(i).width == "100%" && table.item(i).className == "bordercolor" && /Info\sCenter/i.test(table.item(i+1).rows.item(0).firstChild.firstChild.firstChild.firstChild.data)) {
         for (j=0; j<table.item(i+1).rows.length; j++) {
            var t = table.item(i+1).rows.item(j);
            if (t.firstChild.colSpan == "2" && t.firstChild.className == "catbg" && /Forum\sStatistics/i.test(t.firstChild.lastChild.firstChild.firstChild.data)) {
               var ed_post_ic = (t.nextSibling.lastChild.innerHTML.match(/Total\sPosts:\s([\d,]+)<b/i))? RegExp.$1 : 0 ;

		document.cookie = "tPosts=" + ed_post_ic;
		getID("edPost").appendChild(document.createTextNode(ed_post_ic));

               (t.nextSibling.lastChild.innerHTML.match(/Total\sTopics:\s([\d,]+)\s/))? getID("edTopic").appendChild(document.createTextNode(RegExp.$1)) : 0 ;
               getID("edLastPost").appendChild(t.nextSibling.lastChild.getElementsByTagName("a").item(0));
               (t.nextSibling.lastChild.innerHTML.match(/Total\sMembers:\s<.+?>([\d,]+)<\//))? getID("edMembers").appendChild(document.createTextNode(RegExp.$1)) : null ;
               getID("edNewMem").innerHTML = (t.nextSibling.lastChild.innerHTML.match(/Newest\sMember:\s(.+?)<\/a/i))? RegExp.$1 : "(Member Deleted)";
               if (t.nextSibling.lastChild.innerHTML.match(/by\s(.+?)\s\((.+?)\)<br/i)) {
                  getID("edLastAuthor").innerHTML = RegExp.$1;
                  getID("edLastTime").innerHTML = RegExp.$2;
               }
            }
            else if (t.firstChild.colSpan == "2" && t.firstChild.className == "catbg" && /Today's\sBirthdays/i.test(t.firstChild.lastChild.firstChild.firstChild.data)) {
               getID("edBirthday").replaceChild(document.createTextNode("Extreme Data would like to wish a Happy Birthday to:"), getID("edBirthday").firstChild); 
               getID("edBirthday").appendChild(document.createElement("br"));
               var bLinks = t.nextSibling.lastChild.getElementsByTagName("a");
               for (b=0; b<bLinks.length; b++) {
                  getID("edBirthday").appendChild(bLinks.item(b).cloneNode(true));
                  if (b == bLinks.length-2) {
                     getID("edBirthday").appendChild(document.createTextNode(" and "));
                  }
                  else if (b != bLinks.length-1) {
                     getID("edBirthday").appendChild(document.createTextNode(", "));
                  }
               }
               getID("ebRow").style.display = "";
            }
            else if (t.firstChild.colSpan == "2" && t.firstChild.className == "catbg" && /Events\sThis\sMonth/i.test(t.firstChild.lastChild.firstChild.firstChild.data)) {
               var eLinks = t.nextSibling.lastChild.getElementsByTagName("a");
               getID("edEvent").replaceChild(document.createTextNode("There " + ((eLinks.length == 1)? "is " : "are ") + eLinks.length + " event" + ((eLinks.length == 1)? "" : "s") + " this month."), getID("edEvent").firstChild); 
               getID("edEvent").appendChild(document.createElement("br"));
               for (e=0; e<eLinks.length; e++) {
                  getID("edEvent").appendChild(document.createTextNode("- "));
                  getID("edEvent").appendChild(eLinks.item(e).cloneNode(true));
                  if (e != eLinks.length-1) {
                     getID("edEvent").appendChild(document.createElement("br"));
                  }
               }
               getID("edEvent").removeAttribute("align");
               getID("ebRow").style.display = "";
            }
            else if (t.firstChild.colSpan == "2" && t.firstChild.className == "catbg" && /Users\sOnline/i.test(t.firstChild.innerHTML)) {
               infoData.push((t.nextSibling.lastChild.innerHTML.match(/(\d+)\sStaff/i))? parseInt(RegExp.$1) : 0);            
               infoData.push((t.nextSibling.lastChild.innerHTML.match(/(\d+)\sMember/i)) ? parseInt(RegExp.$1) : 0);
               infoData.push((t.nextSibling.lastChild.innerHTML.match(/(\d+)\sGuest/i)) ? parseInt(RegExp.$1) : 0);           
               infoData.push((t.nextSibling.lastChild.innerHTML.match(/,\s(\d+)\sInvisible\sUse(r|rs)./i))? RegExp.$1 : 0);
                   
               if (t.nextSibling.lastChild.innerHTML.match(/Most\susers\sonline\swas\s(\d+),\s(.+?)<br/i)) {
                  getID("edMostNumber").appendChild(document.createTextNode(RegExp.$1));
                  getID("edMostTime").appendChild(document.createTextNode(RegExp.$2.replace(/<\/?b>/gi,'')));
               }
                   
               getID("edStaff").appendChild(document.createTextNode(infoData[3]));
               getID("edMember").appendChild(document.createTextNode(infoData[4] + infoData[5]));
                    
               var aLinks = t.nextSibling.lastChild.getElementsByTagName("a");
               for (a=0; a<aLinks.length; a++) {
                  if (aLinks.item(a).className && /^group(3|8|10|14|17|18|19|20|21)$/i.test(aLinks.item(a).className)) {
                     getID("staffCell").appendChild(aLinks.item(a).cloneNode(true));
                     if (aLinks.item(a).nextSibling && aLinks.item(a).nextSibling.nodeType == 3) {
                        getID("staffCell").appendChild(aLinks.item(a).nextSibling);
                     }
                  }
                  else if (aLinks.item(a).className == "group0" && /viewprofile/.exec(aLinks.item(a).href)) {
                     getID("memberCell").appendChild(aLinks.item(a).cloneNode(true));
                     if (aLinks.item(a).nextSibling && aLinks.item(a).nextSibling.nodeType == 3) {
                        getID("memberCell").appendChild(aLinks.item(a).nextSibling);
                     }
                  }
               }
            }
         }
           
         table.item(i).parentNode.replaceChild(getID("edInfoCenter"), table.item(i));
         getID("edInfoCenter").style.display = "";
      }
      else if (table.item(i).width == "100%" && table.item(i).cellPadding == 4 && /Forum\sName/i.test(table.item(i).rows.item(0).cells.item(0).firstChild.firstChild.firstChild.data)) {
         //edv2Cont.loadExternal("edmpcss", "css");
         var rTarget = table.item(i).parentNode.parentNode.parentNode.parentNode;
         rTarget.parentNode.insertBefore(getID("annStuff"), rTarget);
         getID("annStuff").style.display = "";
         
         for (j=1; j<table.item(i).rows.length; j++) {
            var tCell = table.item(i).rows.item(j).cells.item(0);
            if (tCell.className == "catbg" && tCell.colSpan == "5" && tCell.align != "right") {
               mainTab.appendChild(objCont.createO("div", [["className", "sepTab"]]));
               mainTab.appendChild(objCont.createO("div", [["className", tCell.getElementsByTagName("a").item(0).name + "CatHead"]]));
               mainTab.lastChild.appendChild(tCell.getElementsByTagName("a").item(0));
               var outerTab = objCont.createO("table", [["width", "100%"], ["cellSpacing", 0], ["cellPadding", 0], ["align", "center"], ["className", "bordercolor"]]);
               var fCell = outerTab.insertRow(0).insertCell(0);
               fCell.className = "midTable";
               var innerTab = objCont.createO("table", [["width", "700"], ["cellSpacing", 1], ["cellPadding", 4], ["align", "center"]]);
               innerTab.appendChild(document.createElement("tbody"));
               fCell.appendChild(innerTab);
               mainTab.appendChild(outerTab);
               mainTab.appendChild(objCont.createO("div", [["className", "baseTab"]]));
               infoData[0]++;
            }
            else if (tCell.className == "windowbg" && tCell.width == "8%" && tCell.firstChild.nodeName.match(/^img$/i)) {
               if (table.item(i).rows.item(j).cells.item(4).firstChild.getElementsByTagName("b").item(0)) {
                  infoData[2]++;
               }
               
               var iTable = document.createElement("table");
               with (iTable) {
                  border = "0";
                  width = "100%";
                  cellSpacing = "1";
                  cellPadding = "4";
               }
               with (iTable.insertRow(0).insertCell(0)) {
                  width = "1%";
                  appendChild(tCell.lastChild);
               }
               with (iTable.rows.item(0).insertCell(1)) {
                  width = "51%";
                  style.fontSize = "10px";

                  var iFont = tCell.nextSibling.getElementsByTagName("font").item(0).getElementsByTagName("font");
                  for (f=0; f<iFont.length; f++) {
                     if (/\((\d+)\ssub\-board/i.exec(iFont.item(f).firstChild.data)) {
                        iFont.item(f).parentNode.removeChild(iFont.item(f));
                        break;
                     }
                  }
                  
                  tCell.nextSibling.getElementsByTagName("font").item(0).style.fontSize = "11px";
                  appendChild(tCell.nextSibling.getElementsByTagName("font").item(0));
                  appendChild(document.createTextNode(" (Topics: " + table.item(i).rows.item(j).cells.item(2).firstChild.firstChild.data + " -"));
                  appendChild(document.createTextNode(" Posts: " + table.item(i).rows.item(j).cells.item(3).firstChild.firstChild.data + ")"));
                  if (tCell.nextSibling.getElementsByTagName("span").item(0)) {
                     appendChild(document.createElement("br"))
                     appendChild(tCell.nextSibling.getElementsByTagName("span").item(0));
                  }
                  appendChild(document.createElement("br"));
                  appendChild(document.createElement("img"));
                  lastChild.src = "http://exdat.net/v2/images/hr2ap1.png";
                  appendChild(document.createElement("br"));
                  if (table.item(i).rows.item(j).cells.item(4).firstChild.getElementsByTagName("a").item(0)) {
                     appendChild(document.createTextNode("Last Post: "));
                     innerHTML += table.item(i).rows.item(j).cells.item(4).firstChild.innerHTML.split(/<br\s?\/?>/i)[2].replace(/in\s/, "");
                     if (getElementsByTagName("font").item(0).getElementsByTagName("font").item(0)) {
                        appendChild(getElementsByTagName("font").item(0).getElementsByTagName("font").item(0));
                     }
                     appendChild(document.createElement("br"));
                     appendChild(document.createTextNode("Posted "));
                     innerHTML += table.item(i).rows.item(j).cells.item(4).firstChild.innerHTML.split(/<br\s?\/?>/i)[1];
                     innerHTML += " (" + table.item(i).rows.item(j).cells.item(4).firstChild.innerHTML.split(/<br\s?\/?>/i)[0] + ")";
                  }
                  else if (/Guest/i.test(pb_username)) {
                     appendChild(getID("edPanel").cloneNode(true));
                     lastChild.lastChild.replaceData(0, 1, " to view this board.");
                     lastChild.removeAttribute("id");
                     if (getElementsByTagName("font").item(0).getElementsByTagName("font").item(0)) {
                        lastChild.appendChild(getElementsByTagName("font").item(0).getElementsByTagName("font").item(0));
                     }
                  }
                  else {
                     appendChild(document.createTextNode("Last Post: "));
                     appendChild(document.createElement("i"))
                     lastChild.appendChild(document.createTextNode("None"));
                     if (getElementsByTagName("font").item(0).getElementsByTagName("font").item(0)) {
                        lastChild.appendChild(getElementsByTagName("font").item(0).getElementsByTagName("font").item(0));
                     }
                  }
               }
               with (iTable.rows.item(0).insertCell(2)) {
                  width = "48%";
                  style.fontSize = "10px";                      
                  appendChild(tCell.nextSibling.getElementsByTagName("font").item(0));
               }
                        
               while (tCell.nextSibling.hasChildNodes()) {
                  tCell.nextSibling.removeChild(tCell.nextSibling.firstChild);
               }
               
               with (tCell.nextSibling) {
                  appendChild(iTable);
                  width = "100%";
                  (!document.all)? removeAttribute("onclick") : onclick = "" ;
                  style.cursor = "default";
                  style.padding = "1px !important;";
               }
               table.item(i).rows.item(j).cells.item(0).style.display = table.item(i).rows.item(j).cells.item(2).style.display = table.item(i).rows.item(j).cells.item(3).style.display = table.item(i).rows.item(j).cells.item(4).style.display = "none";
 
               innerTab.firstChild.appendChild(table.item(i).rows.item(j).cloneNode(true));
               infoData[1]++;
            }
         }
            
         getID("edCategory").appendChild(document.createTextNode(infoData[0]));
         getID("edBoard").appendChild(document.createTextNode(infoData[1]));
         getID("edUpdatedBoard").appendChild(document.createTextNode(infoData[2]));
         
         rTarget.parentNode.replaceChild(mainTab, rTarget);
         getID("edAffTab").style.display = "";
         break;
      }
   }
}

};