|
Post by taiCOOKIE on May 9, 2009 17:26:48 GMT -5
[/font][/color][/size][/ul] <script> <!-- /* Border-Around-Forum using Gradients - by Smangii */
var hg = "titlebg"; // Class of the Header Gradient var mc = "#11161A"; // Color of the middle portion var bg = "titlebg"; // Class of the Footer Gradient
document.write('<table width="100%" cellspacing="8" cellpadding="8" class="47362F" align="center"></tr><tr><td width="100%" bgcolor="'+mc+'">') //--> </script>
<script type="text/javascript"> <!-- document.getElementsByTagName('td').item(2).style.display="none"; //--> </script>
<script type="text/javascript"> <!-- document.getElementsByTagName('font').item(1).style.display="none"; //--> </script>
<script type="text/javascript"> <!-- /* Hi-Tech PM Bar v.1 Created by Naruto http://hatakeforum.proboards30.com/index.cgi */
// First flash color - Darker color than AfterFlash var BeforeFlash = "#000000"; // Second flash color - Lighter color than BeforeFlash var AfterFlash = "#a54870";
function Click(pm) { var Function = document.getElementById(pm); if (Function.parentNode.style.display=="none") { Function.parentNode.style.display=""; } else { Function.parentNode.style.display="none"; } } function flash(name) { if (name=="flash0") { document.getElementById("flashtext").style.color=""+BeforeFlash+""; document.getElementById("flashtext").name="flash1"; } else { document.getElementById("flashtext").style.color=""+AfterFlash+""; document.getElementById("flashtext").name="flash0"; } setTimeout("flash(document.getElementById('flashtext').name)",500) } var td = document.getElementsByTagName("td"); if(td[2].innerHTML.match(/<\/a>,\s(\d+)\s/i)) { var NewPM = RegExp.$1 } if(td[2].innerHTML.match(/action=pm">(\d+)\s/i)) { var TotalPM = RegExp.$1 } var PMBar = document.getElementsByTagName("table")[0].insertRow(2).insertCell(0); var PMBar2 = document.getElementsByTagName("table")[0].insertRow(3).insertCell(0); PMBar.className="catbg"; PMBar.style.padding="6"; if(td[2].innerHTML.match(/Welcome Guest/i)) { PMBar.innerHTML="<font size='1'><b>Welcome Guest</b> ( <a href='index.cgi?action=login'>Login</a> | <a href='index.cgi?action=register'>Register</a> )</font>"; } else if(td[2].innerHTML.match(/, 0 are new./i)) { PMBar.innerHTML="<font color='"+BeforeFlash+"' size='1'>»</font><font size='1'> <a href=javascript:Click(\"pm\");>Check PMs</a> </font><font color='"+BeforeFlash+"' size='1'>No New</font>"; } else { PMBar.innerHTML="<div id=\"flashtext\" name=\"flash0\"><font size='1'>» <a href=javascript:Click(\"pm\");>Check PMs</a> <font size='1'>New</font></font></div>"; flash(document.getElementById("flashtext").name); } PMBar2.className="windowbg2"; PMBar2.style.padding="3"; PMBar2.id="pm"; PMBar2.parentNode.style.display="none"; PMBar2.innerHTML="<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td><font size='1'>Total PMs: "+TotalPM+" - New: <a href='index.cgi?action=pm'>"+NewPM+"</a></font></td><td align='right'><font size='1'>[ <a href='index.cgi?action=pm'>Inbox</a> ] [ <a href='index.cgi?action=pm&view=2'>Outbox</a> ] [ <a href='index.cgi?action=pmsend'>Compose</a> ] [ <a href='index.cgi?action=pmprefs'>Preferences</a> ]</font></td></tr></table>"; //--> </script>
<script type="text/javascript"> <!-- /* PM Alert v3 This code was created by Animus of RPGC */ var td = document.getElementsByTagName('td'); if(td[2].innerHTML.match(/, (\d+)\ (are|is) new./i)){ var newPM = RegExp.$1; } if(!location.href.match(/action=pm/) && pb_username!='Guest'){ if(!document.cookie.match(/PMs=/)){ document.cookie="PMs="+newPM+"&alt=yes;"; } else { cookPM = document.cookie.split('PMs=')[1].split('&')[0]; if(cookPM!=newPM){ document.cookie='PMs='+newPM+'&alt=yes;'; } alertuser = (document.cookie.match(/alt=yes/)) ? true : false; if(newPM>1 && alertuser){ var conf=confirm("You have "+ newPM +" new Private Messages. Do you wish to check them now?"); } else if(newPM==1 && alertuser){ var conf=confirm("You have 1 new Private Message. Do you wish to check it now?"); } } document.cookie="PMs="+newPM+"&alt=no;"; } if(conf==true){ location.href="index.cgi?action=pm"; } //--> </script>
<script type="text/javascript"> <!-- /* Welcome table below Ad by california */
document.write('<div id="welcome"></div>'); var welcome = document.getElementById("welcome"); welcome.parentNode.replaceChild(document.getElementsByTagName("table")[0], welcome);
// --> </script>
<br/> <! ===== START Smangii's {LEFT} Side Tables *REVISED* Global Header ===== -->
<script> // Resize the welcome table - can be % or a number of pixels document.getElementsByTagName('table')[0].style.width='900'; </script>
<style type="text/css"> #sidetables { width: 235px; margin-bottom: 20px; margin-right: 20px; } </style>
<table width="900" align="center" cellpadding="0px" cellspacing="0px"> <tr> <td vAlign="top">
<! ===== BOX #1 START ===== --> <table id="sidetables" cellpadding="4px" class="bordercolor" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="" border="0" alt="Welcome"> </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #2 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="" border="0" alt="Quick Links"> </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #3 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="" border="0" alt="Staff"> </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #3 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="" border="0" alt="Chat Box"> </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #3 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="" border="0" alt="Spotlight"> </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #3 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="" border="0" alt="Affcred"> </td></tr> <tr><td class="windowbg"> <b>Skin By LaResistance of RPGD</b> </td></tr></table>
<! -- ***NOTE*** Place any extra added side tables above this line // --> </td><td align="center" vAlign="top" width="100%">
<style type="text/css"> <!-- .catbg {text-align: center;} --> </style>
<style type="text/css"> <!-- textarea, input, select, button { border: 1px dashed #0B2630; background-color: #40555A; color: #000000; } --> </style>
<script type="text/javascript"> <!-- /* Ez Modified Text Menu (no brackets & bolded) by Smangii [url]http://forum.smangii.com[/url] This header must remain Intact Open-Source */
var menu = document.getElementsByTagName('td'); for(e=0; e<menu.length; e++) { if(menu[e].className.match(/menubg/i)) { menu[e].innerHTML = menu[e].innerHTML.bold(/menubg/,''); menu[e].innerHTML = menu[e].innerHTML.replace(/(\[|])/gi,''); }} //--> </script>
[/font][/color][/size][/ul] <! ===== START Smangii's {LEFT} Side Tables *REVISED* Global Footer ===== -->
<script type="text/javascript"> <!-- table = document.getElementsByTagName('table'); for(i = 0; i < table.length; i ++) { with(table[i]) { if(width == '92%') { width = '100%'; }}} //--> </script>
</td></tr></table>
<script type='text/javascript'> /* Remove on/off icons from sub-boards created by CrAzY_J Open Source*/
var gCell = document.body.getElementsByTagName('td'); var pattern = /^Sub-Boards$/; if( this.location.href.match(/board=\w+(&\w+=\d)?$/) ) { for( var c = 0 ; c < gCell.length ; c ++ ) { if( gCell[c].className == 'titlebg' && gCell[c].colSpan == '2' && pattern.test( gCell[c].getElementsByTagName('b')[0].firstChild.data ) ) gCell[c].colSpan = 1; if( gCell[c].width == '8%' && gCell[c].className == 'windowbg' ) gCell[c].style.display = 'none'; } } </script>
<script type="text/javascript"> //Convert Buttons to Text by hpmad //Do not redistribute without permission from creator
var img = document.getElementsByTagName('img'); for(i=0;i<img.length;i++){ if(img[i].src.match(/s(\d+).images.proboards.com\/buttons/i) || img[i].src.match(/search2.gif|newpoll/i)){ img[i].alt = img[i].alt.replace(/(\[|\])/g,''); var font = document.createElement('font'); font.style.fontSize = '7pt'; font.style.fontWeight = 'bold'; font.className = 'button'; font.appendChild(document.createTextNode(img[i].alt)); img[i].parentNode.replaceChild(font,img[i]); i--; } } </script>
<script type="text/javascript"> <!-- /* remove Forum Name | Topics | Posts... and add thread & post info by california */ var td=document.getElementsByTagName("td"); if(location.href.match(/\/?((index\.cgi)?\??(action=(ma.+ad|logout|home))?(#.+)?)?$/)){ for(i=0;i<td.length;i++){ if(td[i].width=="1%" && td[i].innerHTML.match(/\d/)){ if(td[i+1].width.match(/^(1|7)%$/)){ td[i].innerHTML+="<br />threads"; td[i].width="8%"; }else{ td[i].innerHTML+="<br />posts"; td[i].width="7%"; } } if(td[i].width=="8%" && !td[i].innerHTML.match(/thread/)){ td[i].width="4%"; } if(td[i].className=="titlebg" && td[i].innerHTML.match(/Forum Name/i)){ td[i].parentNode.style.display="none"; } } } //--> </script>
<script> /*Reflected Avatars Hosted by Wrighty Do Not Repost, Rip or Claim*/
document.write("<script src=http://iycatacombs.com/codes/wrightys/ref.js>"+"</"+"script>"); var av=document.getElementsByTagName('img'); for(i = 0 ; i < av.length ; i++){ if(av[i].alt == '[avatar]'){ av[i].className="reflect"; } } </script>
<script type="text/javascript"> <!--
/* UBBC, Font, and Font Size Drop Down by hpmad Do not repost or claim without permission from creator For more codes like this one go to: http://talkpark.proboards.com */
if(document.postForm){ var ubbc = document.postForm.color.parentNode.getElementsByTagName('a'); var ubbcCell = document.postForm.color.parentNode;
var ubbcSel = document.createElement('select'); ubbcSel[0] = new Option("UBBC Codes");
for(i=0;i<ubbc.length;i++){ if(!ubbc[i].firstChild.alt.match(/Font/)) ubbcSel[ubbcSel.length] = new Option(ubbc[i].firstChild.alt.replace(/\[|\]/,''), ubbc[i].href); ubbc[i].parentNode.removeChild(ubbc[i]); i--; }
var fontFSel = document.createElement('select'); fontFSel[0] = new Option('Font Face'); fontFSel[1] = new Option('Verdana','Verdana'); fontFSel[2] = new Option('Arial','Arial'); fontFSel[3] = new Option('Tahoma','Tahoma'); fontFSel[4] = new Option('Times New Roman','Times New Roman'); fontFSel[5] = new Option('Comic Sans MS','Comic Sans MS'); var fontSSel = document.createElement('select'); fontSSel[0] = new Option('Font Size'); for(i=1;i<7;i++) fontSSel[i] = new Option(i,i);
ubbcSel.onchange = function(){ if(this[this.selectedIndex].value){ eval(this[this.selectedIndex].value); this.selectedIndex = 0; }} fontFSel.onchange = function(){ if(this[this.selectedIndex].value){ add('[font='+this[this.selectedIndex].value+']','[/font]'); this.selectedIndex = 0; }} fontSSel.onchange = function(){ if(this[this.selectedIndex].value){ add('[size='+this[this.selectedIndex].value+']','[/size]'); this.selectedIndex = 0; }}
ubbcCell.insertBefore(ubbcSel, document.postForm.color); ubbcCell.insertBefore(document.createTextNode(' '), document.postForm.color); ubbcCell.insertBefore(fontFSel,document.postForm.color); ubbcCell.insertBefore(document.createTextNode(' '), document.postForm.color); ubbcCell.insertBefore(fontSSel,document.postForm.color); ubbcCell.insertBefore(document.createTextNode(' '), document.postForm.color); }
//--> </script>
<script type="text/javascript"> <!-- /* center miniprofile */ var td=document.getElementsByTagName("td"); if(location.href.match(/action/)){ for(i=0;i<td.length;i++){ if(td[i].className.match(/windowbg/) && td[i].width=="20%"){ td[i].align="center"; } } } //--> </script>
<script type="text/javascript"> /* Code Tag Modification by hpmad Do not repost or claim as your own without permission This header must remain intact */
var table = document.getElementsByTagName('table'); if(location.href.match(/action=(display|recent|pmview|search2)/i)){ for(i=0;i<table.length;i++){ if(table[i].className=='code'){ var codeArea = table[i].firstChild.firstChild.firstChild.firstChild.innerHTML; codeArea = codeArea.replace(/&nb+sp;/gi,' '); codeArea = codeArea.replace(/&a+mp;/gi,'&'); codeArea = codeArea.replace(/\t/gi,'&nb+sp;&nb+sp; ') codeArea = codeArea.replace(/<br\s?\/?>/gi,'\n'); table[i].parentNode.parentNode.parentNode.parentNode.parentNode.innerHTML = '<font size="1"><b>Code:</b></font><br><center><form><textarea class="codeArea" style="font-size: 8pt;" readonly name="codeArea" cols="40" rows="12">'+codeArea+'</textarea><br><input type="button" value="Select All" onclick="javascript:this.form.codeArea.focus();this.form.codeArea.select();"></form></center>'; i--; } } } </script>
<script type="text/javascript"> <!-- // Remove On/Off Icons Column - By Smangii
if(!location.href.match(/action/) || location.href.match(/action=home/)){ var TD = document.getElementsByTagName("td"); for(var i=0;i<TD.length;i++){ if(TD[i].className=="titlebg" && TD[i].innerHTML.match(/(Forum Name|Sub-Boards)/i)){ TD[i].colSpan="1" } if(TD[i].width=="66%" && TD[i].className=="windowbg2"){ TD[i-1].style.display = "none"; }}} --> </script>
<script> //Remove 'Mark as Read' Cell - by Nadim //http://zdesign.proboards3.com var MaR = document.getElementsByTagName("TR"); for(i=0;i<MaR.length;i++){ if(MaR[i].getElementsByTagName("TD")[0].className=="catbg" && MaR[i].getElementsByTagName("TD")[0].align=="right" && MaR[i].getElementsByTagName("TD")[0].colSpan=="5"){ MaR[i].style.display="none"}} </script>
<script> //Replace Color Pulldown with Advanced Color Picker v1.0 [CB]
//Copyright 01-02-2006 ~Wonder //May be reposted anywhere as long as this header remains in tact //Put in Global Footer
//Enter the URL for the color UBBC icon colorIcon="http://img376.imageshack.us/img376/9562/coloricon8nx.gif";
//Do not change this image unless you are replacing it with the exact same image hexWheelUrl="http://img229.imageshack.us/img229/7030/colorchart3sn.png"; toChange=""; function jesusLovesYouNoMatterWhat() { cp=window.open('', 'colorPopUp', config='height=200,width=195, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, directories=no, status=no'); cp.focus(); cp.document.write("<scr"+"ipt>hexColors=[[255,0,0],[255,255,0],[0,255,0],[0,255,255],[0,0,255],[255,0,255],[255,0,0]];function getHex(x,y){if(x<180){for(i=1;i<7;i++){if(x<i*30)break;}x=(x-((i-1)*30))/30;temp=new Array(3);for(j=0;j<3;j++){temp[j]=Math.round((1-x)*hexColors[i-1][j]+(x)*hexColors[i][j]);}}else{temp=[127,127,127];}temp=[[255,255,255],temp,[0,0,0]];c=new Array(3);i=(y<90)?1:2;y=(y-((i-1)*90))/90;for(j=0;j<3;j++){x=Math.round((1-y)*temp[i-1][j]+(y)*temp[i][j]).toString(16);c[j]=(x.length<2?\"0\":\"\")+x;}c=c.join(\"\").toUpperCase();x=document.getElementById(\"col\");x.style.backgroundColor=c; x=x.getElementsByTagName(\"font\");x[0].innerHTML=c;x[1].innerHTML=c;}function getXY(e){ posx = 0; posy = 0; if (!e) var e = window.event; if (e.pageX || e.pageY) { posx = e.pageX; posy = e.pageY; } else if (e.clientX || e.clientY) { posx = e.clientX; posy = e.clientY; } posx=(posx>195)?195:posx;posy=(posy>180)?180:posy;getHex(posx,posy);} function returnColor(){opener.changeColor2(document.getElementById('col').getElementsByTagName('font')[0].innerHTML);window.close();}</scr"+"ipt><title>Click To Select</title><body onmousemove=\"getXY(event)\" topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0> <div id=\"pos\" style=\"width:195; height:180; margin:0; padding:0;\"><img src=\""+hexWheelUrl+"\" onclick=\"javascript:returnColor()\" alt=\"Click To Select\"></div><div id=\"col\" style=\"width:195; height:20; margin:0; padding:0;\"><center><b><font color=\"FFFFFF\">FFFFFF</font> <font color=\"000000\">FFFFFF</font></b></center></div></body>"); } function changeColor2(temp) { add("[color="+temp+"]","[/color]"); }
if(document.postForm) { document.postForm.color.style.display="none"; a=document.createElement("a"); a.href="javascript:jesusLovesYouNoMatterWhat()"; a.innerHTML="<img src=\""+colorIcon+"\" border=0 alt=\"Font Color\">"; document.postForm.color.parentNode.insertBefore(a,document.postForm.color.previousSibling); } </script>
<script type="text/javascript"> <!--
/*Karma Re-namer - Open Source*/
var iKa="Karma"; //New word for Karma var iEx="Heal"; //New word for Exalt var iSm="Hex"; //New word for Smite
if(location.href.match(/action=display|action=viewprofile|action=pmview|action=recent|action=search|action=calendar/) ||location.href.match(/index.cgi$/) && document.title.match(/Preview/)){ var iTd=document.getElementsByTagName('td') for(i=0;i<iTd.length;i++){ if(iTd.item(i).width=="20%" && iTd.item(i).vAlign=="top" && iTd.item(i).className.match(/windowbg(2)?/) && iTd.item(i).innerHTML.match(/member is/) && iTd.item(i).innerHTML.match(/member is/)){ iTd.item(i).innerHTML = iTd.item(i).innerHTML.replace('Karma',iKa).replace('Exalt',iEx).replace('Smite',iSm); } } }
//--> </script>
<script type='text/javascript'> <!-- /* Posting/PM Word Count - created by Eton Bones */
//set to minimum word count needed in order to make a post //or set to 0 to disable word count enforcement. var wordCountLimit=0;
if(document.postForm && document.postForm.message){ var __submitBtn,__wc,__msg __msg=document.postForm.message; __submitBtn=document.getElementsByTagName('input'); for(var count=0;count<__submitBtn.length;count++){ if(__submitBtn[count].accessKey && __submitBtn[count].accessKey=='s'){__submitBtn=__submitBtn[count];break;} } if(typeof(__submitBtn.length)=="undefined"){ __btnText=__submitBtn.value; __wc=document.createElement('div'); __wc.id="wordcount"; __wc.appendChild(document.createTextNode('Word Count: ')); __wc.appendChild(document.createElement('span')); __submitBtn.parentNode.appendChild(__wc); count=__msg.value.match(/\b\w+\b/g); count=(count)?count.length:0; __wc.lastChild.innerHTML=count; if(count<wordCountLimit){__submitBtn.disabled=true;} if(document.addEventListener){ __msg.addEventListener("keyup",wordUp,false); __msg.addEventListener("input",wordUp,false); __msg.addEventListener("change",wordUp,false); }else if(document.attachEvent){ __msg.attachEvent("onpropertychange",wordUp); }else{ __msg.onkeyup=wordUp; __msg.onmouseup=wordUp; __msg.onchange=wordUp; } } }
function wordUp(event){ if(this.document){var thiss=event.srcElement;}else{var thiss=this;} var count=thiss.value.match(/\b\w+\b/g); count=(count)?count.length:0; if(count>=wordCountLimit && wordCountLimit >0 && __submitBtn.disabled){ __submitBtn.disabled=false; } __wc.lastChild.innerHTML=count;
}
//--> </script> [/font][/color][/size][/ul] <script type="text/javascript"> <!-- /* conditional mass PM by california */
if(location.href.match(/action=searchmembers2/) && document.membersForm){ var pmButton = document.createElement("input"); pmButton.type = "button"; pmButton.value = "Send Private Message" pmButton.onclick = function(){ var csvContainer = ""; var mIn = document.getElementsByTagName("input") for(m=0; m<mIn.length; m++){ if(mIn[m].name.match(/delete-(\w+)$/) && mIn[m].checked != false){ csvContainer += RegExp.$1+",%20"; } } csvContainer = csvContainer.replace(/,%20$/, ''); location = "/index.cgi?action=pmsend&to="+csvContainer; return true; } var mIn =document.getElementsByTagName("input");("input"); mIn[mIn.length-1].parentNode.appendChild(pmButton); }
// --> </script>
<script> /* Remove Info center Icons, by Smangii */ var TD =document.getElementsByTagName("TD") for(i=0;i<TD.length;i++) { if(TD[i].width=="20" && TD[i].className.match("windowbg")) { TD[i].style.display="none" } } </script>
<script type="text/javascript"> <!-- /* 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"; } } } }
//--> </script>
<script type="text/Javascript"> // Sub-Boards in Own Cell v1 by Chris // Code may not be redistributed without permission from the creator.
var board_text = "<b>Sub-Boards:</b> "; // Text that will be shown before the actual sub-board listings
var aTD = document.getElementsByTagName("TD"); var aSE = document.getElementsByTagName("SELECT");
if(location.href.match(/action=home/i) || !location.href.match(/action=/i)){ var forumClass = document.getElementById("forumjump").options; for(a=0;a<aTD.length;a++){ if(aTD[a].width=="66%" && aTD[a].className.match(/windowbg/i) && aTD[a].innerHTML.match(/\((\d+) sub-boar(d|ds)\)/i)){ var boardName = aTD[a].getElementsByTagName("A")[0].href.split("board=")[1]; var subNum = parseInt(RegExp.$1); var d = ""; for(b=6;b<forumClass.length;b++){ if(forumClass[b].value.match(new RegExp("board="+boardName+"$","i"))){ for(c=1;c<=subNum;c++){ if(c == 1){ d += "<font size='1'>"+board_text+"<a href='"+forumClass[b+c].value+"'>"+forumClass[b+c].innerHTML.split("--- ")[1]+"</a></font>"; } else { d += ", <font size='1'><a href='"+forumClass[b+c].value+"'>"+forumClass[b+c].innerHTML.split("--- ")[1]+"</a></font>"; } } break; } } aTD[a].innerHTML = aTD[a].innerHTML.replace(/\((\d+) sub-boar(d|ds)\)/i,""); aTD[a-1].rowSpan = 2; var c = aTD[a].parentNode.parentNode.insertRow(aTD[a].parentNode.rowIndex+1).insertCell(0); c.colSpan = (aTD[a].parentNode.cells.length-1); c.className = "windowbg"; c.innerHTML = d; } else if(aTD[a].innerHTML.match(/Info Center/i) && aTD[a].className == "bordercolor"){ break; } } } </script>
<script type="text/javascript"> <!-- //Remove Info Center Title Bar //By Wrighty //DO NOT REPOST
var td = document.getElementsByTagName("td"); if(location.href.match(/action=(change|home)/)||!location.href.match(/action/)){ for (w=0;w<td.length;w++){ if (td[w].className=="titlebg" && td[w].align=="center" && td[w].innerHTML.match(/Info Center/i)){ td[w].parentNode.style.display="none"; }}} //--> </script>
<script type="text/javascript"> <!-- /* add "forum age" to the info center http://101support.proboards43.com - ross */
var startDate = ['17','07','2009']; // Forum start date in the form ['day','month','year']
// no need to edit below if(location.href.match(/\.com\/?(index.cgi)?\??(&?action=home)?(#\w+)?$/)) { var td = document.getElementsByTagName('td'); var sta = new Date(); sta.setDate(startDate[0]); sta.setMonth(startDate[1]-1); sta.setYear(startDate[2]); var cur = new Date(); var dif = cur - sta; var totalMonth = 0; var totalYear = 0; var totalDay = Math.floor(dif/(60 * 60 * 24 * 1000)) + 1; while(totalDay >= 365) { totalDay -= 365; totalYear++; } while(totalDay >= 30) { totalDay -= 30; totalMonth++; } var age = totalDay+' days'; if(totalMonth > 0) age += ', '+ totalMonth +' months'; if(totalYear > 0) age += ', '+ totalYear +' year'; age += '.'; for (i=td.length-1; i>0; i--) { if(td[i].width == '40%' && td[i-1].width == '60%') { td[i].firstChild.innerHTML += '<br />Forum Age: '+age; break; } } } //--> </script>
|
|