The best Thing I can suggest, is just sit tight. Right now Im asking the creator of the code if there are any other codes that are screwing up the code itself. HEY, why not look at what I have deal with! Ahahaha, look at all the code. So, taking a look, you can only assume it could take a day or two.
GLOBAL HEADERS
<script type="text/javascript">
<!--
document.getElementsByTagName('td')[2].style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('font')[1].style.display="none";
//-->
</script>
<style type="text/css">
<!--
.spoilertitle { background-color: DADADA; color: 000000; font-weight: bold; font-size: 13px; }
.spoilerbody { font-size: 11px; color: 000000; background-color: F6F6F6; }
// -->
</style>
<script>
//Average Posts/Day only displayed in Profile v2.0
//Copyright 10-15-2005 ~Wonder
//May be reposted anywhere as long as this header remains in tact
//Put In Global Header
function getDate(d,fs)
{
ty="";
if(ty=d.match(/(To|Yester)day/i)){d=document.getElementsByTagName("table")[0].innerHTML.match(/\.<br>.+ \d{1,2}\:/i)[0].replace(/\d{1,2}:/,"")+d.match(/( \d{1,2}\:\d{2}(a|pm)?)/);}
months=new Array("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec");te=0;
curDate=d.match(/.+ (\d{1,2}\:\d{2}(a|pm)?)/i)[0];
time=RegExp.$1;dm=0;
curDate=curDate.toLowerCase().replace(/\.<br>/i,"").replace(time,"").replace(/ at /i,"").replace(/,/g,"").replace(/\.|\-|\//g," ").split(" ");
time=time.split(":");
if(time[1].match(/am/) && time[0].match(/12/)){time[0]=parseInt(time[0],10)-12;}
if(time[1].match(/pm/) && !time[0].match(/12/)){time[0]=parseInt(time[0],10)+12;}time[1]=time[1].replace(/[^\d]/g,"");
for(k=0;k<12;k++){if(curDate[0].match(months[k]) || curDate[1].match(months[k])){break;}}
if((t=curDate[0].match(months[k]))!=null && t!=""){curDate[0]=(k+1)+"";te=1;fs=0;}else if((t=curDate[1].match(months[k]))!=null && t!=""){curDate[1]=(k+1)+"";fs=1;temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;te=1;}
curDate[0]=curDate[0].replace(/[^\d]/g,"");curDate[1]=curDate[1].replace(/[^\d]/g,"");
if(parseInt(curDate[0],10)>12){fs=1;te=1;temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;}
if(parseInt(curDate[1],10)<13 && te==0)
{
if(fs==1){temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;}
else if(fs==0){}
else
{
now = new Date();fs=0;
if(parseInt(curDate[1],10)==(now.getMonth()+1))
{
temp2=curDate[1];
curDate[1]=curDate[0];
curDate[0]=temp2;fs=1;
}
}
}
if(curDate[2].length<=2){curDate[2]=parseInt(curDate[2],10)+2000;}if(ty!=null && ty[0].match(/yesterday/i)){dm=1;}
return [new Date(parseInt(curDate[2],10),parseInt(curDate[0],10)-1,parseInt(curDate[1],10)-dm,parseInt(time[0],10),parseInt(time[1],10)),fs];
}
mainDate=getDate(document.getElementsByTagName("table")[0].innerHTML.match(/\.<br>.+ (\d{1,2}\:\d{2}(a|pm)?)/i)[0]);
</script>
<script type="text/javascript">
<!--
/*
Private Messages Panel (PBv4 version)
Coded By Xylish/Joe
Please do not post this code without my permission
studiozero.proboards44.com*/
// Edit your welcome message for the guests
var welcomemsg = "Welcome To The Dharma Initiative Forums"
// URL of your New Message Icon
var nmsgicon = "http://216.40.206.219/boardimages/buttons/im_new.gif";
// URL of your Mark As Read Icon
var markicon = "http://216.40.206.219/boardimages/im_markasread.gif";
// URL of your Inbox Icon
var inbxicon = "http://216.40.206.219/boardimages/buttons/im_inbox.gif";
// URL of your Outbox Icon
var outbxicon = "http://216.40.206.219/boardimages/buttons/im_outbox.gif";
// URL of your Preferences Icon
var preficon = "http://216.40.206.219/boardimages/buttons/im_config.gif";
document.write('<sc'+'ript src="http://webpost.net/sc/scripthosting/pmp.js"></sc'+'ript>');
//-->
</script>
GLOBAL FOOTERS
<script type="text/javascript">
<!--
/*
Money Hack v3 - Global footer
Created by Ross, Concept by Peter
This code cannot be reposted at anywhere other than ProBoards Support without permission.
This header must stay intact at all times.
*/
// The value of money a member should gain for each post
var MoneyPerPost = 6;
// What do you want to call your money?
var NameOfMoney = 'Credit';
// The symbol that will appear next to the money
var SymbolOfMoney = '';
// No need to edit below
var re = /\[M:(-)?(\d+)\]/im
function updateMon() {
var monChange = document.getElementById('monChange');
var curMon = document.getElementById('monDisplay');
var monType = document.getElementById('monType');
mon = parseInt(curMon.value.replace( SymbolOfMoney , '' ),10) + parseInt( ( ( monType.value == '-' ) ? '-' : '' ) + monChange.value, 10 )
monChange.value = 0;
if(isNaN(mon)) {
alert('You must enter a numerical value')
return false;
}
curMon.value = SymbolOfMoney + mon;
return true;
}
function fNum(num){
if(!isNaN(num)){
num = num.toLocaleString().replace(/\.\d+/, "");
} else {
num = 0;
}
return num;
}
function saveMon() {
updateMon();
var newMon = document.getElementById('monDisplay').value.replace( SymbolOfMoney , '' );
newMon -= (parseInt((document.modifyForm.posts.value) * MoneyPerPost, 10));
document.modifyForm.customtitle.value += '[M:'+newMon+']';
return true;
}
var td = document.getElementsByTagName('td');
for(i=0; i<td.length; i++) {
if(td.item(i).width == '20%' && td.item(i).vAlign == 'top' && td.item(i).parentNode.innerHTML.match(/Posts: (.+?)</)) {
curMon = (RegExp.$1.replace(/,/g,'') * MoneyPerPost);
curMon += td.item(i).innerHTML.match(re)? parseInt((RegExp.$1+RegExp.$2), 10) : 0;
if(td.item(i).lastChild.nodeName.toLowerCase() != 'br')
td.item(i).appendChild(document.createElement('br'));
td.item(i).appendChild(document.createTextNode(NameOfMoney +': '+ SymbolOfMoney + fNum(curMon)));
td.item(i).innerHTML = td.item(i).innerHTML.replace(/<br>\[M:(-)?(\d+)\](<br>member is)/i,'$3').replace(/(<br>(.+?))\[M:(-)?(\d+)\](<br>)/i,'$1$5').replace(/\[M:(-)?(\d+)\]/gim,'');
}
else if(location.href.match(/ion=viewpro/) && td.item(i).width == '25%' && td.item(i).innerHTML.match(/>Posts:</)) {
var monTitle = document.createElement('font');
monTitle.size = '2';
monTitle.appendChild(document.createTextNode(NameOfMoney+':'));
var userMon = document.createElement('font');
userMon.size = '2';
userMon.appendChild(document.createTextNode(SymbolOfMoney+fNum(curMon)));
monRow = td.item(i).parentNode.parentNode.insertRow(6);
monRow.insertCell(0).appendChild(monTitle);
monRow.insertCell(1).appendChild(userMon);
break;
}
}
if(document.modifyForm && document.modifyForm.customtitle) {
if(document.modifyForm.personaltext.value.match(re) && !document.modifyForm.customtitle.value.match(re))
{
document.modifyForm.customtitle.value += '[M:'+RegExp.$1+RegExp.$2+']';
document.modifyForm.personaltext.value = document.modifyForm.personaltext.value.replace(re,'');
}
curMon = document.modifyForm.customtitle.value.match(re)? parseInt(RegExp.$1+RegExp.$2, 10) : 0;
Posts = document.modifyForm.posts.value.match(/(-)?(\d+)/)? parseInt((RegExp.$1+RegExp.$2), 10) : 0;
curMon += (Posts * MoneyPerPost)
document.modifyForm.customtitle.value = document.modifyForm.customtitle.value.replace(re,'');
document.modifyForm.customtitle.maxLength = 490;
var display = document.createElement('input');
display.type = 'text';
display.id = 'monDisplay';
display.size = parseInt(curMon.toString().length, 10) + 2;
display.disabled = true;
display.value = SymbolOfMoney + curMon;
var type = document.createElement('select');
type.id = 'monType';
type.appendChild(document.createElement('option'));
type.firstChild.appendChild(document.createTextNode('+'));
type.appendChild(document.createElement('option'));
type.lastChild.appendChild(document.createTextNode('-'));
type.lastChild.value = '-';
var mon = document.createElement('input');
mon.type = 'text';
mon.id = 'monChange';
mon.size = 5;
mon.value = 0;
var update = document.createElement('input');
update.type = 'button';
update.value = 'Update';
update.onclick = function(){ updateMon(); };
var editMon = document.createElement('font');
editMon.appendChild(type);
editMon.appendChild(document.createTextNode(' '));
editMon.appendChild(mon);
editMon.appendChild(document.createTextNode(' '));
editMon.appendChild(update);
var newTitle = document.createElement('font');
newTitle.size = '2';
newTitle.appendChild(document.createTextNode(NameOfMoney +': '));
newTitle.appendChild(display);
var newDes = document.createElement('font');
newDes.size = '1';
newDes.appendChild(document.createTextNode('Here you can edit the amount of '+NameOfMoney+' a member has. Just enter the value of ' +NameOfMoney+ ' to add or subtract.'));
var target = document.modifyForm.customtitle.parentNode.parentNode.parentNode.parentNode.insertRow(2);
target.insertCell(0).appendChild(newTitle);
target.insertCell(1).appendChild(editMon)
target.insertCell(2).appendChild(newDes);
document.getElementsByName('profileaction').item(0).onclick = function() { saveMon(); };
}
//-->
</script>
<script type="text/javascript">
<!--
/*
Main page/boards image highlight
Created by Peter
This code cannot be reposted at anywhere other than SSDesigns or ProBoards, without permission.
This header must stay intact at all times.
*/
// Image for the mouseover
var overImage = "http://img474.imageshack.us/img474/5462/1127bm.jpg";
var iCell = document.getElementsByTagName("td");
for(c = 0; c < iCell.length; c ++){
if(iCell.item(c).className.match(/^windowbg/i) && iCell.item(c).width.match(/^(66|48|43)%/)){
if(document.all){
iCell.item(c).onmouseenter = function(){
this.style.backgroundImage = "url('" + overImage + "')";
}
iCell.item(c).onmouseleave = function(){
this.style.backgroundImage = "";
}
} else {
for(a = 0; a < iCell.item(c).attributes.length; a ++){
if(iCell.item(c).attributes.item(a).nodeName.match(/^onmouseover$/i)){
with(iCell.item(c).attributes.item(a)){
nodeValue = "this.style.backgroundImage = 'url(\\'" + overImage + "\\')'; " + nodeValue;
}
}
if(iCell.item(c).attributes.item(a).nodeName.match(/^onmouseout$/i)){
with(iCell.item(c).attributes.item(a)){
nodeValue = "this.style.backgroundImage = ''; " + nodeValue;
}
}
}
}
}
}
//-->
</script>
<script>
//Level Up Meter v1.0
//Copyright 9-22-2005 by ~Wonder
//May be reposted anywhere as long as this header remains in tact
//Put in Global Footer
//Enter the # of posts required to reach all your levels in numerical order
postLevels=new Array(0,1,2,25,120,300,750,1500,2500,4000,6000,9999);
//Edit these 3 variables to suit your color and height needs
meterBGColor="#00AA00";
meterBorderColor="#000000";
meterHeight=8;
//If you want to user a gradient instead of a solid background color, enter the URL here
meterGradientURL="";
if(meterGradientURL!=""){meterBGColor="";document.write("<style type=\"text/css\"><!--.rankmeter {background-image: url("+meterGradientURL+"); background-repeat: repeat;}--></style>")}
else{meterBGColor=" bgColor="+meterBGColor;}
if(location.href.match(/action=(display|goto|viewprofile|pmview|recent)/))
{
var td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++)
{
if(td
.width=="20%" && td.className.match(/windowbg/) && td.innerHTML.indexOf("Joined: ")!=-1)
{
p=td.innerHTML.substring(td.innerHTML.indexOf("Posts: ")+7,td.innerHTML.length);
p=parseInt(p.substring(0,p.indexOf("<")).replace(/,/ig,""));
if(p<postLevels[postLevels.length-1])
{
for(j=0;j<postLevels.length;j++){if(p<postLevels[j]){break;}}
np=postLevels[j]-p;
p=p-postLevels[j-1];
p=Math.round(p/(postLevels[j]-postLevels[j-1])*100);
extra="<td width="+(100-p)+"%></td>";
}
else{p=100;np=0;extra="";}
s="post";
if(np!=1){s="posts";}
a=td.innerHTML+="<br>Next Level: "+np+" "+s+"<br><table style=\"border-width:1px; border-style: solid;border-color:"+meterBorderColor+"\"cellpadding=0 cellspacing=0 width=100%><tr><td"+meterBGColor+" width="+p+"% height="+meterHeight+" class=rankmeter></td>"+extra+"</tr></table>";
}
}
}
</script>
<script type="text/javascript">
<!--
/* multi-colored names - ross - open source but please keep header intact */
var a = document.getElementsByTagName('a');
function changeName(username, displayname) {
for(i=0; i<a.length; i++) {
if(a.item(i).href.match(new RegExp('user='+username+'$', 'i'))) {
a.item(i).innerHTML = displayname;
}
}
}
changeName('', ' <b></b>');
//-->
</script>
<script type="text/javascript">
<!--
/*
Spoiler tags by Todge
Copyright © 2005
Please keep this header intact
*/
var spoiler = 'SPOILER - click to reveal';
var newButton = 'http://todge.bishsite.com/Pics/spoiler.jpg';
var spoilerBody;
// Add Spoiler button to post area...
var TD = document.getElementsByTagName('TD');
for(t=0; t<TD.length; t++)
{
if(TD[t].width == "30%" && TD[t].innerHTML.match(/Add Tags:/i))
{
TD[t+1].getElementsByTagName('font')[0].innerHTML+='<a href=javascript:add("","
")><img src="'+newButton+'" alt="Spoiler" border="0"/>'
break;
}
}
// Create spoiler table...
var spoiler1='<center><table class="bordercolor" align="center" border="0" cellpadding="0" cellspacing="1" width="500px">';
spoiler1+='<tr><td class="spoilertitle" align="center"><b>';
var spoiler2='</b><td><tr><tr style="display: none"><td class="spoilerbody"><table width="100%" cellpadding="2"><tr><td class="spoilerbody">';
// Find spoilers and insert table into posts...
var post = document.getElementsByTagName('TD');
for(t=0; t<post.length; t++)
{
if(post[t].align=='right'&&post[t].height=='20'&&post[t].vAlign=='bottom'&&post[t].width=='40%')
{
var posttxt=post[t+1].innerHTML;
posttxt=posttxt.split('[spoiler');
for(s=1; s<posttxt.length; s++)
{
spoilertxt = spoiler;
if(posttxt.split(']')[0].split('=').length>1)
{
spoilertxt = posttxt.split('=')[1].split(']')[0];
}
posttxt=posttxt.split('[/spoiler]');
posttxt
[0]=posttxt[0].split(']');
spoilerBody=posttxt[0][1];
if(posttxt[0].length>2)
{
for(sB=2; sB<posttxt[0].length; sB++)
{
spoilerBody+=']'+posttxt[0][sB];
}
}
posttxt[0]=posttxt[0].join(']');
posttxt[0]=spoiler1+spoilertxt+spoiler2+spoilerBody+'</td></tr></table></td></tr></table></center>';
posttxt=posttxt.join(' ');
}
posttxt=posttxt.join(' ');
post[t+1].innerHTML=posttxt;
}
}
// Show spoiler when clicked on...
var spoil = document.getElementsByTagName('table');
for(s=0; s<spoil.length; s++)
{
if(spoil.getElementsByTagName('TD')[0].className=='spoilertitle')
{
spoil.onclick=function(){if(this.getElementsByTagName('TR')[2].style.display=='none'){this.getElementsByTagName('TR')[2].style.display='';}else{this.getElementsByTagName('TR')[2].style.display='none';}}
}
}
// -->
</script>
<script type="text/javascript">
<!--
/*
Smileys with quick reply - global footers
Created by Peter
This code cannot be reposted at anywhere other than SSDesigns or ProBoards, without permission.
This header must stay intact at all times.
*/
// Base url for the smileys folder
var sBaseImg = "http://www.4d5.net/v4images/";
// List of smileys - [SMILEY FILE, CODE, TITLE]
var iSmileys = [
["smiley.gif", "", "Smiley"],
["wink.gif", "", "Wink"],
["grin.gif", "", "Grin"],
["angry.gif", "", "Angry"],
["sad.gif", "", "Sad"],
["shocked.gif", "", "Shocked"],
["cool.gif", "", "Cool"],
["rolleyes.gif", "", "Roll Eyes"],
["tongue.gif", "", "Tongue"],
["embarassed.gif", "", "Embarassed"],
["lipsrsealed.gif", "", "Lips Sealed"],
["undecided.gif", "", "Undecided"],
["kiss.gif", "", "Kiss"],
["cry.gif", "", "Cry"]
];
var iTable = document.getElementsByTagName("table");
function addSmiley(smiley){
var isIE = (document.all)? true : false;
var mArea = document.getElementById("qrform").message;
if(isIE){
mArea.focus();
var iCurSelect = document.selection.createRange();
iCurSelect.text = smiley + iCurSelect.text
} else if(!isIE){
var selStart = mArea.value.substr(0, mArea.selectionStart);
var selEnd = mArea.value.substr(mArea.selectionEnd, mArea.value.length);
var curSelection = mArea.value.replace(selStart, '').replace(selEnd, '');
mArea.value = selStart + smiley + curSelection + selEnd;
} else {
mArea.value += smiley;
}
mArea.focus();
}
for(t = 0; t < iTable.length; t ++){
var iBR = document.createElement("br");
if(iTable.item(t).cellPadding == "4" && iTable.item(t).cellSpacing == "1" && iTable.item(t).rows.item(0).innerHTML.match(/>Quick Reply</)){
var iMCell = iTable.item(t).rows.item(1).cells.item(0);
iTable.item(t).getElementsByTagName("form").item(0).id = "qrform";
iMCell.insertBefore(iBR, iMCell.firstChild);
iSmileys.reverse();
for(s = 0; s < iSmileys.length; s ++){
var sLink = document.createElement("a");
var sImg = document.createElement("img");
sImg.border = "0";
sImg.src = sBaseImg + iSmileys[0];
sImg.title = iSmileys[2];
sLink.href = "javascript: addSmiley(\" " + iSmileys[1] + "\")";
sLink.appendChild(sImg);
iMCell.insertBefore(sLink, iMCell.firstChild);
iMCell.insertBefore(document.createTextNode(" "), iMCell.firstChild);
}
}
}
//-->
</script>
<script>
//Warning Meter v1.0
//Copyright 9-27-2005 by ~Wonder
//May be reposted anywhere as long as this header remains in tact. Make sure you include instructions.
//Put in Global Footer
//Edit these 3 variables to suit your color and height needs
meterBGColor="#CC0000";
meterBorderColor="#000000";
meterHeight=7;
//If you want to user a gradient instead of a solid background color, enter the URL here
meterGradientURL="";
if(meterGradientURL!=""){meterBGColor="";document.write("<style type=\"text/css\"><!--.warningmeter {background-image: url("+meterGradientURL+"); background-repeat: repeat;}--></style>")}
else{meterBGColor=" bgColor="+meterBGColor;}
if(location.href.match(/action=(display|goto|viewprofile|pmview|recent)/))
{
var td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++)
{
if(td.width=="20%" && td.className.match(/windowbg/) && td.innerHTML.indexOf("Warning: ")!=-1)
{
p=td.innerHTML.substring(td.innerHTML.indexOf("Warning: ")+9,td.innerHTML.length);
p=parseInt(p.substring(0,p.indexOf("%")).replace(/,/ig,""));
a=td.innerHTML.match(/(Warning: \d*%(<\/.>)?(<br>)?)/i);
td.innerHTML=td.innerHTML.replace(a[0],a[0]+"<table style=\"border-width:1px; border-style: solid; border-color:"+meterBorderColor+"\" cellpadding=0 cellspacing=0 width=100%><tr><td"+meterBGColor+" width="+p+"% height="+meterHeight+" class=warningmeter></td><td width="+(100-p)+"%></td></tr></table>");
}
}
}
</script>
<script>
//Average Posts/Day only displayed in Profile v2.0
//Copyright 10-15-2005 ~Wonder
//May be reposted anywhere as long as this header remains in tact
//Put In Global Footer
if(location.href.match(/action\=viewprofile/))
{
tp=0;
t=document.forms[0].parentNode.parentNode.parentNode.parentNode.getElementsByTagName("td");
for(i=0;i<t.length;i++)
{
if(t.innerHTML.match(/Posts:/i) && tp==0)
{
p=t[i+1].getElementsByTagName("font")[0].innerHTML.replace(/[^\d]/ig,"");
tp=i+1;
}
t.innerHTML.match(/Date Registered:/i)?rd=t[i+1].getElementsByTagName("font")[0].innerHTML:"";
}
p=parseInt(p,10);
rd=getDate(rd,mainDate[1]);
rd=Math.round((mainDate[0]-rd[0])/1000/60/60/24);
rd=(Math.round((p/rd)*1000))/1000;
document.forms[0].parentNode.parentNode.parentNode.parentNode.getElementsByTagName("td")[tp].getElementsByTagName("font")[0].innerHTML+=" / "+rd+" per day";
}
</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[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[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("","");
}
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"><!--
/* Characters Left by snap2000
This code is not to be distributed outside of WebSpree Support
snap2000.proboards1.com */
if(document.postForm) {
function charsLeft() { ta=document.postForm.message; if(ta.value.length > 10000) ta.value=ta.value.substring(0,10000);
document.getElementById("charsLeft").value=(10000-ta.value.length); }
var row=document.getElementsByTagName("tr");
for(r=0;r<row.length;r++) {
if(row[r].firstChild.className=="windowbg2" && row[r].firstChild.innerHTML.match("Message:")) {
var cr=row[r+1].cloneNode(true);
cr.firstChild.firstChild.innerHTML="Characters Left:";
cr.lastChild.innerHTML="";
var cl=document.createElement("input");
cl. value=10000-document.postForm.message.value.length;
cl.id="charsLeft";cl.disabled=1;cl.size=6;
cr.lastChild.appendChild(cl);
row[r].parentNode.insertBefore(cr,row[r+1]);
document.postForm.message.onkeyup=charsLeft;
}
}
}
//--></script>
<script>
//Table generator replacing table button
//by frufru
var textcolor="FF0000"; //Text Color of popup window
var bgcolor="F1F1F1"; //background color of popup window
//dop not edit below
var thewindow;
if (document.postForm){
var thehtml="<html><head><title>Generate Table</title></head><body bgColor='" + bgcolor + "' text='" + textcolor + "'>Generate Table<br><form name='asdf' onSubmit='return false'>Rows: <input name=rows size=4> <br> Columns: <input name=columns size=4><input type=button value='Go' onClick='opener.addtable(document.asdf.rows.value,document.asdf.columns.value)'><br><b>Note: Entering extremely large numbers will slow down your browser, not the board.</b></body></html>";
var a=document.getElementsByTagName("a");
for (x=0;x<a.length;x++){
if (a[x].href=='javascript:add("")'){
a[x].href='javascript:blah()';
}
}
}
function blah(){
thewindow=window.open("about:blank","GenerateTable","width=200,height=200");
thewindow.document.write(thehtml);
}
function addtable(rows,columns){
var t="";
if (IsNumeric(rows) && IsNumeric(columns)){
thewindow.close();
t+="Row " + (x+1) + " Column " + (y+1) + " |
";
add(t);
}else{
alert("Rows or columns are invalid");
thewindow.focus();
}
}
//the below code is a validation code taken from www.codetoad.com/javascript/isnumeric.asp
function IsNumeric(sText)
{
var ValidChars = "0123456789";
var IsNumber=true;
var Char;
for (i = 0; i < sText.length && IsNumber == true; i++)
{
Char = sText.charAt(i);
if (ValidChars.indexOf(Char) == -1)
{
IsNumber = false;
}
}
return IsNumber;
}
</script>
And thats just two sets of code, out of 15.