Post by Pyrite on Nov 28, 2010 20:17:47 GMT -8
Preview here!: Skin
Banner: i52.tinypic.com/5sfb7.png
BG: i56.tinypic.com/2mwgq4p.png
Skin info: i53.tinypic.com/2nvuyzd.png
Header Codes:
Footer Codes:
Banner: i52.tinypic.com/5sfb7.png
BG: i56.tinypic.com/2mwgq4p.png
Skin info: i53.tinypic.com/2nvuyzd.png
Header Codes:
<!--BACKGROUND CENTER-->
<style type="text/css">
<!--
body
{background-position: center top;
background-attachment: fixed;background-repeat: yes;}
.titlebg{border:0px; cellspacing:0px;}
-->
</style>
<!--END BACKGROUND CENTER-->
<!--Change Links and Title Font and Hovering Links ;) -->
<style>
.titletext,.titlebg font,.text1,a:link,a,a:visited,.cattext,.catbg {font-family: arial;}
a:hover{color:#90c0e9; text-decoration: none}
</style>
<script type="text/javascript">
<!--
document.getElementsByClassName("titlebg").cellspacing="0";
document.getElementsByTagName('td').item(2).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<style type="text/css">
<!--
.catbg {text-align: center;}
-->
</style>
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>
<script>
<!--
/* Border-Around-Forum using Images - by Smangii */
var hi = "http://i55.tinypic.com/slo13a.png";
var mi = "http://i52.tinypic.com/2yum71g.png";
var bi = "http://i51.tinypic.com/21dosut.png";
document.write('<table width="92%" cellspacing="0" cellpadding="0" align="center"><tr><td align="center" width="100%"><img src="'+hi+'"></td></tr><tr><td width="100%" style="background-image: url('+mi+');">')
//-->
</script>
<script type="text/Javascript">
<!--
/* Remove Welcome Table Borders by Smangii */
var wel = document.getElementsByTagName("table")[0];
wel.className = "";
wel.cellSpacing = 0;
//-->
</script>
<script type="text/javascript">
<!--
/* fix text menus by ross */
var startChar = ''; //Start character
var dividerChar = '-'; //Dividing Character(s);
var endChar = ''; //End character
//no need to edit below
var menu = document.getElementsByTagName('td').item(5).firstChild;
var a = menu.innerHTML.replace(/^\n?(<.+?>)\[/, startChar+' $1');
var b = a.replace(new RegExp('\\](<\/a>)(\\n|\\s|&nb'+'sp;)*$', 'i'), '$1 '+endChar);
var c = b.replace(new RegExp('\\](<\/a>)(&nb'+'sp;|\\s)(<a.+?>)\\[', 'gi'),'$1 '+dividerChar+' $3');
menu.innerHTML = c;
//-->
</script>
<!--End Change Links and Title Font-->
<script type="text/javascript">
<!--
// PM + Menu (Text Version)
// Created By Eichi
// This header must stay intact at all times for use.
// This code may not be redistributed or reposted without creator's permission.
// Do not edit below
var TD = document.getElementsByTagName('td');
// Choose your alignments here (make sure to make them opposite)
var menuAlign = "left";
var pmAlign = "right";
var menu = TD[5].innerHTML;
// Do not edit below
if(menuAlign=="right" && pmAlign=="left"){
if(TD[2].innerHTML.match("Hey, ")){
TD[5].align = menuAlign;
var userPM = TD[2].innerHTML.match(/action=pm">(\d+)/i); userPM = RegExp.$1;
var usernPM = TD[2].innerHTML.match(/<\/a>,\s(\d+)\s/i); usernPM = RegExp.$1;
var msgText = "message";
var msgText2 = "message";
if(usernPM == 1){ msgText="message"; } else {msgText="messages";}
if(usernPM == 1){ msgText2="message"; } else {msgText2="messages";}
TD[5].innerHTML = "<table cellspacing=0 width=100%><tr><td align="+pmAlign+"><font size=1>Total: "+userPM+" | New: "+usernPM+" | <a href=index.cgi?action=pm title='Check your PM inbox.'>PMs<\/a> </td><td align="+menuAlign+">"+menu+"</td></tr></table>";
TD[2].style.display = "none";
} else {
if(TD[2].innerHTML.match("Welcome ")){
TD[5].align = menuAlign;
TD[5].innerHTML = "<table cellspacing=0 width=100%><tr><td align="+pmAlign+"><font size=1>Hello, Guest. Please <a href=index.cgi?action=login>Login</a> or <a href=index.cgi?action=register>Register</a>.</td><td align="+menuAlign+">"+menu+"</td></tr></table>"
TD[2].style.display = "none";
}}}
if(menuAlign=="left" && pmAlign=="right"){
if(TD[2].innerHTML.match("Hey, ")){
TD[5].align = menuAlign;
var userPM = TD[2].innerHTML.match(/action=pm">(\d+)/i); userPM = RegExp.$1;
var usernPM = TD[2].innerHTML.match(/<\/a>,\s(\d+)\s/i); usernPM = RegExp.$1;
var msgText = "message";
var msgText2 = "message";
if(usernPM == 1){ msgText="message"; } else {msgText="messages";}
if(usernPM == 1){ msgText2="message"; } else {msgText2="messages";}
TD[5].innerHTML = "<table cellspacing=0 width=100%><tr><td align="+menuAlign+">"+menu+"</td><td align="+pmAlign+"><font size=1>Total: "+userPM+" | New: "+usernPM+" | <a href=index.cgi?action=pm title='Check your PM inbox.'>PMs<\/a> </td></tr></table>";
TD[2].style.display = "none";
} else {
if(TD[2].innerHTML.match("Welcome ")){
TD[5].align = menuAlign;
TD[5].innerHTML = "<table cellspacing=0 width=100%><tr><td align="+menuAlign+">"+menu+"</td><td align="+pmAlign+"><font size=1>Hello, Guest. Please <a href=index.cgi?action=login>Login</a> or <a href=index.cgi?action=register>Register</a>.</td></tr></table>"
TD[2].style.display = "none";
}}}
//-->
</script>
<br/>
<!--
===================================
HTML Left Side Tables for ProBoards - Smangii Style
GLOBAL HEADERS
===================================
//-->
<!-- Start Main Table //-->
<table align="center" width="auto" cellpadding="5">
<tr>
<td align="center" width="200px" vAlign="top">
<!-- Start Side Tables //-->
<table width="100%" cellpadding="0">
<tr>
<td>
<!-- CUSTOM SIDE BOX #1 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="windowbg"><img src="http://i53.tinypic.com/2qklzt3.png" alt="Welcome"></td>
</tr>
<tr>
<td class="windowbg" align="center">
<br>
Welcome to Broken Trails! We are a wild horse rpg, no other animals or humans here. After all the humans died out, the horses came together to form a society once again. We will be happy to have you here, will you be on the good side or the bad side in which you want to kill every living thing and abandoned this place we call Earth? Now you got to find your place among the great three!
<p>
</td>
</tr>
</table>
<br />
<!-- CUSTOM SIDE BOX #2//-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="windowbg" cellpadding="0" cellspacing="0"><img src="http://i53.tinypic.com/fvlqm9.png" border="0" alt="Events"></td>
</tr>
<tr>
<td class="windowbg" align="center">
<br>
We have just opened today!
<p>
11-26-10</td>
<p>
</tr>
</table>
<br />
<!-- CUSTOM SIDE BOX #3 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="windowbg" cellpadding="0" cellspacing="0"><img src="http://i56.tinypic.com/307ydmx.png" border="0" alt="Staff"></td>
</tr>
<tr>
<td class="windowbg" align="center">
<br>
<url=http://blue-boards.proboards.com/index.cgi?action=viewprofile&user=admin>CHARLIE!</url>
<br>
<url=http://blue-boards.proboards.com/index.cgi?action=viewprofile&user=swatter>SWATTER!</url>
<br>
MUSIKER!
<br>
DAKOTA!
<br>
MOTH!
<p>
</td>
</tr>
</table>
<br />
<!-- CUSTOM SIDE BOX #4 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="windowbg" cellpadding="0" cellspacing="0"><img src="http://i55.tinypic.com/i2q4xx.png" border="0" alt="Current"></a></td>
</tr>
<tr>
<td class="windowbg" align="center">
<Br>
<a href="http://media.photobucket.com/image/fall icon/WVlilsexEthang/Fall/fllleaves.gif?o=10" target="_blank"><img src="http://i51.photobucket.com/albums/f356/WVlilsexEthang/Fall/fllleaves.gif" border="0"></a>
<br>
<b>weather;</b> windy, slightly cold
<br>
<b>season;</b> it's fall
<br>
<b>breeding/birthing;</b> yes, yes
<br>
<b>temperature;</b> 34-78 degrees
<p>
</td>
</tr>
</table>
<br />
<!-- CUSTOM SIDE BOX #5 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="windowbg" cellpadding="0" cellspacing="0"><img src="http://i51.tinypic.com/334sqz8.png" border="0" alt="Spotlight"></td>
</tr>
<tr>
<td class="windowbg" align="center">
<br>
<a href="http://www.chickensmoothie.com/pet/23386354.html"><img src="http://www.chickensmoothie.com/pet/23386354&trans=1.jpg" border=0></a><br><font size="1"><b>Pet's name:</b> Retuchous Rebel <br><a href="http://www.chickensmoothie.com/">Adopt virtual pets at Chicken Smoothie!</a></font>
<p>
</td>
</tr>
</table>
<br />
<!-- CUSTOM SIDE BOX #6 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="windowbg" cellpadding="0" cellspacing="0"><img src="http://i52.tinypic.com/2ds4s4p.png" border="0" alt="Affiliates">
</td>
</tr>
<tr>
<td class="windowbg" align="center">
<size=3><a href="http://mustangrpg.proboards.com" target="_blank"><img src="http://i62.photobucket.com/albums/h104/buckgirl567121/mustangminibanner2.jpg" border="0" alt="MUSTANG"> </a>
<br>
<a href="http://islemysteria74.proboards.com/index.cgi" target="_blank"><img src="http://i51.tinypic.com/2pyq8ef.jpg" border="0" width="88" height="31"alt="cavallosofislemysteria"></a>
<br>
<a href="http://www.charismatic-studios.proboards.com/" target="_blank"><img src="http://i56.tinypic.com/2liha9x.png" border="0"></a>
<br>
Open!
<br>
Open!
<p>
<size=3>
</td>
</tr>
</table>
<br />
<!-- CUSTOM SIDE BOX #7 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="windowbg" cellpadding="0" cellspacing="0"><img src="http://i52.tinypic.com/20h6620.png" border="0" alt="Cbox"></a></td>
</tr>
<tr>
<td class="windowbg" align="center">
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="200" height="175" src="http://www2.cbox.ws/box/?boxid=2169555&boxtag=zvb670&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: 0px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="200" height="75" src="http://www2.cbox.ws/box/?boxid=2169555&boxtag=zvb670&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX --><p>
</td>
</tr>
</table>
<br />
<!-- CUSTOM SIDE BOX #8 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="windowbg" cellpadding="0" cellspacing="0"><img src="http://i55.tinypic.com/2lbcio3.png" border="0" alt="Credits"></a></td>
</tr>
<tr>
<td class="windowbg" align="center"><center>
Site © CHAR ! and staff<br>
Content © members<br>
Coding © Smangii and PB Support<br>
Skin © <a href="http://www.charismatic-studios.proboards.com/" target="_blank">Pyrite of CS</a><br>
Stock Images © dA
<p></center></td>
</tr>
</table>
<br />
<!-- Close Side Tables //-->
</td>
</tr>
</table>
</td>
<td vAlign="top">
<div id="wel"></div>
<script type="text/javascript">
<!--
var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);
//-->
</script>
<!-- END SIDE TABLES GLOBAL HEADERS HTML //-->
Footer Codes:
<script type="text/javascript"><!--
/* Fully Editable Javascript Affiliate Table v2
optimized by moneyman18, original idea by iPokemon
Edit as necessary
Do not redistribute without explicit consent given from creator.
*/
var table_width = "750px"; //Width of Table
var table_height = "50px"; //Height of Table
var affiliates_bar = "Affiliates"; //Title of Table
var target = "_blank"; //Open affiliate in new tab or not. If you want it in the same window, change it to _self
var border = 0; //Images Border
var scrollamount = 4; //How fast the marquee is
var direction = "left"; //Direction of Marquee
var affs = new Array();
//affs[#] = ["Forum Name", "Image URL", "Site Url"];
//Edit as instructed
affs[0] = ["Forum Name", "http://erinuki-images.comlu.com/code_images/open_affiliate_banner3.png", "Site Url"];
affs[1] = ["Forum Name", "http://erinuki-images.comlu.com/code_images/open_affiliate_banner3.png", "Site Url"];
affs[2] = ["Forum Name", "http://erinuki-images.comlu.com/code_images/open_affiliate_banner3.png", "Site Url"];
affs[3] = ["Forum Name", "http://erinuki-images.comlu.com/code_images/open_affiliate_banner3.png", "Site Url"];
affs[4] = ["Forum Name", "http://erinuki-images.comlu.com/code_images/open_affiliate_banner3.png", "Site Url"];
/* !@%^ DO NOT EDIT BELOW HERE #&^%@! */
document.write('<table width="'+table_width+'" height="'+table_height+'" cellpadding="4" cellspacing="1" align="center" class="bordercolor"><tr><td width="100%" class="titlebg" align="center"><b>'+affiliates_bar+'</b></td></tr><tr><td width="100%" class="windowbg2" align="center"><marquee scrollamount="'+scrollamount+'" direction="'+direction+'" onMouseOver="this.stop();" onMouseOut="this.start();">');
for(i=0;i<affs.length;i++){
document.write(' <a href="'+affs[i][2]+'" target="'+target+'"><img src="'+affs[i][1]+'" title="'+affs[i][0]+'" alt="'+affs[i][0]+'" border="'+border+'" /></a> ');
}
document.write('</marquee></td></tr></table>');
//--></script>
<script type="text/javascript">
<!--
/*
Thesaurus Button...
by Todge
Copyright © 2009
Please keep this header intact
*/
if(location.href.match(/=display(.)+thread=/) || document.postForm)
{
function getWord()
{
var txt = '';
if(window.getSelection)
{
txt = window.getSelection();
}
else if(document.getSelection)
{
txt = document.getSelection();
}
else if(document.selection)
{
txt = document.selection.createRange().text;
}
else return;
window.open('http://thesaurus.reference.com/browse/'+txt);
}
function getWordFF()
{
if(document.postForm)
{
var tArea = document.postForm.message;
}
else
{
var tArea = document.getElementById("qreply");
}
var txt = '';
if (tArea.selectionStart!= undefined) {
txt = tArea.value.substr(tArea.selectionStart, tArea.selectionEnd - tArea.selectionStart);
}
else return;
window.open('http://thesaurus.reference.com/browse/'+txt);
}
var thesaurus = document.createElement('input');
with (thesaurus) { type="button"; value="Thesaurus"; name="thesaurus";}
if(navigator.userAgent.toLowerCase().match(/(firefox|opera|safari)/))
{
thesaurus.onclick = getWordFF;
}
else
{
thesaurus.onclick = getWord;
}
if(document.postForm)
{
document.postForm.nextaction.parentNode.appendChild(document.createTextNode(' '));
document.postForm.nextaction.parentNode.appendChild(thesaurus);
}
else
{
var QR = document.forms;
for(q=0; q<QR.length; q++)
{
if(QR[q].method == 'post')
{
QR[q].message.id = 'qreply';
QR[q].insertBefore(thesaurus,QR[q].lastChild);
QR[q].insertBefore(document.createTextNode(' '),QR[q].lastChild);
}}}}
// -->
</script>
<script type="text/javascript">
<!--
// Justify text in posts..
var jButton = 'http://i86.photobucket.com/albums/k107/melian2/IME/justify.gif';
// Add button to posting page..
if(document.postForm)
{
var buttons = document.images;
for(b=0; b<buttons.length; b++)
{
if(buttons[b].src.match(/\/right\.(gif|png)/i))
{
buttons = buttons[b+1].parentNode;
break;
}}
var justifyButton = document.createElement('A');
justifyButton.setAttribute('href','javascript:add("[justify]","[/justify]")');
justifyButton.innerHTML = '<img src="'+jButton+'" border="0" alt="Justify">';
buttons.parentNode.insertBefore(justifyButton,buttons);
}
// Find and justify text in posts...
if(!document.location.href.match(/action=headersfooters/))
{
var posts = document.getElementsByTagName('td');
for(p=0; p<posts.length; p++)
{
if(((posts[p].vAlign == 'top' && posts[p].colSpan == '3') || (document.postForm && posts[p].width == '100%' && posts[p].className == 'windowbg2')) && posts[p].innerHTML.match(/\[justify\]/i))
{
posts[p].innerHTML = posts[p].innerHTML.replace(/\[justify\]/ig,'<div align="justify">');
posts[p].innerHTML = posts[p].innerHTML.replace(/\[\/justify\]/ig,'</div>');
}}}
// -->
</script>
<!-- =====
START Smangii's {LEFT} Side Tables *REVISED*
Global Footer
===== -->
</td></tr></table>
<script>
<!--
document.write('</td></tr><tr><td width="100%" align="center"><img src="'+bi+'"></td></tr></table>')
//-->
</script>
<script type="text/javascript">
<!--
/*Personal Moods - By iAlex - Open Source*/
var iMoodList=[
"Happy",
"Wink",
"Grin",
"Cheesy",
"Angry",
"Sad",
"Shocked",
"Cool",
"Confused",
"Sarcastic",
"Silly",
"Embarrassed",
"Silent",
"Unsure",
"Kiss",
"Crying" //No comma on last line
];
if(document.modifyForm){
var iMoodTable=document.modifyForm.personaltext.parentNode.parentNode.parentNode.parentNode.parentNode;
var iMoodDiv=document.createElement('div');
iMoodDiv.innerHTML='<table cellpadding="2" cellspacing="2" border="0"><tr><td width="154" valign="top"><font size="-1">Mood:</font></td><td width="245"><font size="-1" id="iMoodFont"></font></td><td width="245"><font size="-2">If you wish to display a mood, select it here.</font></td></tr></table>';
iMoodTable.parentNode.insertBefore(iMoodDiv, iMoodTable);
var iMoodFont=document.getElementById('iMoodFont');
var iMoodSelect=document.createElement('select');
var iMoodText=document.modifyForm.personaltext;
iMoodSelect.options[0]=new Option('Mood');
for(i=0;i<iMoodList.length;i++){
iMoodSelect.options[iMoodSelect.length]=new Option(iMoodList[i]);
}
if(iMoodText.value.match(/\[Mo0:(\d+)\]/)){
iMoodSelect.selectedIndex=RegExp.$1;
iMoodText.value=iMoodText.value.replace(/\[Mo0:(\d+)\]/g, '');
}
iMoodFont.appendChild(iMoodSelect);
if(document.addEventListener){
document.modifyForm.addEventListener('submit', function(){
iMoodText.value=iMoodText.value+'[Mo0:'+iMoodSelect.selectedIndex+']';
}, false);
}
else{
document.modifyForm.attachEvent('onsubmit', function(){
iMoodText.value=iMoodText.value+'[Mo0:'+iMoodSelect.selectedIndex+']';
});
}
}
if(location.href.match(/action=(display|viewprofile|(user)?recent|calendarview|search2|pmview)/) || location.href.match(/index.cgi$/) && document.title.match(/Preview/) && document.postForm){
var iTd=document.getElementsByTagName('td');
for(i=0;i<iTd.length;i++){
if(iTd.item(i).width=="20%" && iTd.item(i).className.match(/windowbg(2)?/) && iTd.item(i).vAlign=="top" && iTd.item(i).innerHTML.match(/member is/) && iTd.item(i).innerHTML.match(/\[Mo0:(\d+)\]/)){
if(RegExp.$1>0){
var iMoodDisplay=document.createElement('div');
iMoodDisplay.innerHTML='Mood: '+iMoodList[RegExp.$1-1];
iTd.item(i).appendChild(iMoodDisplay);
}
iTd.item(i).innerHTML=iTd.item(i).innerHTML.replace(/\[Mo0:(\d+)\]/g, '');
}
}
}
//-->
</script>
<!-- SIDE TABLES GLOBAL FOOTERS //-->
<script type="text/javascript">
<!--
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '750';
}}}
//-->
</script>
</td></tr></table>
<!-- END SIDE TABLES GLOBAL FOOTERS //-->
<script type="text/javascript">
/*
Remove "Joined:" from Mini-Profile
Coded by The Dog Monster
Do not edit or repost without permission
*/
if(location.href.match(/(action|thread)=/i)){
axdef=document.getElementsByTagName('td')
for(i=0;i<axdef.length;i++){
if(axdef[i].width=="20%" && axdef[i].nextSibling.width=="80%" && axdef[i].className.match(/windowbg/)){
axdeg=axdef[i].innerHTML.split(/<br>/i)
for(x=0;x<axdeg.length;x++){
if(axdeg .match(/Joined:/)){
for(n=x+1;n<axdeg.length;n++){
axdeg[n-1]=axdeg[n]
}
axdeg[axdeg.length-1]="";
axdef[i].innerHTML=axdeg.join("<br/>");
}
}
}
}
}
</script>
<script type="text/javascript">
<!--
/*Alphabetize Active Users in the past 24 Hour - By iAlex - Open Source*/
var iAlpha_Object={
iAlpha_Locate: function(){
if(window.location.href.match(/action=home/) || !window.location.href.match(/action/) && !document.postForm && !document.modifyForm && !document.title.match(/\s-\sLogin/)){
this.iAlpha_Execute();
}
},
iAlpha_Execute: function(){
var iTd=document.getElementsByTagName('td');
var i=iTd.length-1;
do{
if(iTd.item(i).className=="catbg" && iTd.item(i).colSpan=="2" && iTd.item(i).innerHTML.match(/>Active Users In The Past 24 Hours</) && !iTd.item(i).parentNode.nextSibling.firstChild.nextSibling.innerHTML.match(/<br\s?\/?>Hidden<\/fo/i)){
var iActive_Font = iTd.item(i).parentNode.nextSibling.firstChild.nextSibling.getElementsByTagName('font').item(0);
var iUser_Link=iActive_Font.getElementsByTagName('a');
var iStart_Loop=(iUser_Link.item(0).className)? 0 : 1;
iUser_Array=[];
var a=iUser_Link.length-1;
do{
var iSpan_Hold=document.createElement('span');
iSpan_Hold.appendChild(iUser_Link.item(a).cloneNode(true));
iUser_Array.push(iSpan_Hold.innerHTML);
a--;
}
while(a>=iStart_Loop);
iUser_Array=iUser_Array.sort(function(iCheck, iCheck2){
var iFirst=((iCheck.toLowerCase()).toString()).replace(/^<a(.+?)>/i, '').replace(/<\/a>$/i, '');
var iSecond=((iCheck2.toLowerCase()).toString()).replace(/^<a(.+?)>/i, '').replace(/<\/a>$/i, '');
if(iFirst>iSecond){
return 1;
}
if(iFirst<iSecond){
return -1;
}
return 0;
});
iActive_Font.innerHTML=iActive_Font.innerHTML.replace(/^(.+?)<br\s?\/?>(.+?)$/i, '$1<b'+'r/>'+iUser_Array.join(', '));
break;
}
i--;
}
while(i>10);
}
};
iAlpha_Object.iAlpha_Locate();
//-->
</script>
<script type="text/javascript"><!--
/*
Personal Font Style
Created By Triad
[url]http://support.proboards.com[/url]
*/
var personalFont = {
custom: true,
sizes: [1,7],
fonts: [
"Verdana",
"Times New Roman",
"Comic Sans MS",
"Arial",
"Courier New",
"Century",
"Autumn",
"Lucida Console",
"Rockwell",
"Scribble",
"Tahoma",
"Trebuchet"
],
colors: [
"Black",
"Red",
"Yellow",
"Pink",
"Green",
"Orange",
"Purple",
"Blue",
"Biege",
"Brown",
"Teal",
"Navy",
"Maroon",
"LimeGreen"
],
form: null,
findForm: function(){
var f = document.getElementsByTagName("form");
var n = (f[f.length-1].message) ? 1 : 2;
this.form = f[f.length-n];
},
setCookie: function(){
var data = "/"; // Slash added for Opera bug
if(document.getElementById("fontFace").selectedIndex > 0)
data += "font=" + document.getElementById("fontFace").options[document.getElementById("fontFace").options.selectedIndex].value + "/";
if(document.getElementById("fontColor").selectedIndex > 0)
data += "color=" + document.getElementById("fontColor").options[document.getElementById("fontColor").options.selectedIndex].value + "/";
if(document.getElementById("fontSize").selectedIndex > 0)
data += "size=" + document.getElementById("fontSize").options[document.getElementById("fontSize").options.selectedIndex].value + "/";
if(document.getElementById("fontBold").checked == true)
data += "b/";
if(document.getElementById("fontUnderline").checked == true)
data += "u/";
if(document.getElementById("fontItalic").checked == true)
data += "i";
document.cookie = "personal_"+pb_username+"="+encodeURI(data)+";expires="+(new Date()).toGMTString().replace(/\d{4}/,"2050");
},
getCookie: function(){
if(document.cookie.match(new RegExp("personal_"+pb_username+"=(.+?)($|;)","gi")))
return decodeURI(RegExp.$1);
return null;
},
checkIt: function(_style){
var c = this.getCookie();
if(c == null)
return false;
var _s = c.split(/\//i);
var a = (navigator.appName == "Microsoft Internet Explorer") ? 0 : 1;
for(x=a; x<_s.length; x++){
if(_s == _style)
return true;
}
return false;
},
addUBBC: function(){
var c = personalFont.getCookie();
if(c == null)
return true;
var start = "";
var end = "";
var _s = c.split(/\//i);
var a = (navigator.appName == "Microsoft Internet Explorer") ? 0 : 1;
for(x=a; x<_s.length; x++){ // Start x at 1 for Opera and 0 for IE
if(_s != ""){
start += "[" + _s + "]";
end = "[/" +_s .replace(/=.+/i, '') + "]" + end;
}
}
personalFont.form.message.value = (document.title.split(/\s-\s/i)[1].match(/(modify\spost|preview)/i) || (document.referrer.match(/action=(post|display&(thread|board))/i) && location.href.match(/index.cgi?$/i))) ? personalFont.form.message.value : start + personalFont.form.message.value + end;
},
setupOptions: function(){
parent:
for(var td = document.getElementsByTagName("td"),x=6,y=td.length; x<y; x++){
if(td .width == "160" && td .innerHTML.match(/username:/i)){
if(pb_username.match(td[x+1].firstChild.innerHTML)){
for(var tb = document.getElementsByTagName("table"),i=3,j=tb.length-1; i<j; i++){
if(tb[i].width == "650" && tb[i].innerHTML.match(/location:/i)){
var _font_1 = document.createElement("font");
_font_1.size = "-1";
_font_1.appendChild(document.createTextNode("Font Face:"));
var _font_2 = document.createElement("font");
_font_2.size = "-2";
_font_2.appendChild(document.createTextNode("You may customize the default font face, color, size, and style of your posts here."));
var _font_3 = document.createElement("font");
_font_3.size = "-1";
_font_3.appendChild(document.createTextNode("Font Color:"));
var _font_4 = document.createElement("font");
_font_4.size = "-1";
_font_4.appendChild(document.createTextNode("Font Size:"));
var _select_1 = document.createElement("select");
_select_1.id = "fontFace";
_select_1.options[0] = new Option("--------------------");
for(a=0; a<this.fonts.length; a++){
_select_1.options[a+1] = new Option(this.fonts , this.fonts );
if(this.getCookie() && this.getCookie().match(new RegExp("font=" + this.fonts ,"i")))
_select_1.selectedIndex = a+1;
}
var _select_2 = document.createElement("select");
_select_2.id = "fontColor";
_select_2.options[0] = new Option("--------------------");
for(a=0; a<this.colors.length; a++){
_select_2.options[a+1] = new Option(this.colors , this.colors );
if(this.getCookie() && this.getCookie().match(new RegExp("color=" + this.colors ,"i")))
_select_2.selectedIndex = a+1;
} if(this.custom){
var temp_value = "c";
var temp_name = "* Custom *";
if(this.getCookie() && this.getCookie().match(/color=([0-9a-f]{6})/i)){
if(!RegExp.$1.match(this.colors))
temp_value = temp_name = RegExp.$1;
}
_select_2.options[_select_2.options.length] = new Option(temp_name, temp_value);
if(temp_value != "c")
_select_2.selectedIndex = _select_2.options.length-1;
_select_2.onchange = function(){
if(this.options[this.options.selectedIndex].value == temp_value){
var _a = prompt("You may enter your own 6 digit HEX code here.","");
if(_a == null)
return false;
if(_a.length == 6){
this.options[this.options.selectedIndex].value = _a;
this.options[this.options.selectedIndex].innerHTML = _a;
temp_value = _a;
} else {
alert("That is not a valid HEX code.");
this.selectedIndex = 0;
}
}
}
}
var _select_3 = document.createElement("select");
_select_3.id = "fontSize";
_select_3.options[0] = new Option("--------------------");
for(a=0; a<=parseInt(this.sizes[1]-this.sizes[0]); a++){
_select_3.options[a+1] = new Option(a+1, a+1);
if(this.getCookie() && this.getCookie().match(new RegExp("size=" + parseInt(a+1),"i")))
_select_3.selectedIndex = a+1;
}
var _input_1 = document.createElement("input");
_input_1.type = "checkbox";
_input_1.id = "fontBold";
_input_1.checked = this.checkIt("b");
var _input_2 = document.createElement("input");
_input_2.type = "checkbox";
_input_2.id = "fontUnderline";
_input_2.checked = this.checkIt("u");
var _input_3 = document.createElement("input");
_input_3.type = "checkbox";
_input_3.id = "fontItalic";
_input_3.checked = this.checkIt("i");
var main_row = tb[i].insertRow(tb[i].rows.length);
var main_cell = main_row.insertCell(0);
main_cell.width = "160";
var _table = document.createElement("table");
_table.width = "100%";
var _tbody = document.createElement("tbody");
var _row = document.createElement("tr");
var _cell = document.createElement("td");
_cell.appendChild(_font_1);
_row.appendChild(_cell);
_tbody.appendChild(_row);
_row = document.createElement("tr");
_cell = document.createElement("td");
_cell.appendChild(_font_3);
_row.appendChild(_cell);
_tbody.appendChild(_row);
_row = document.createElement("tr");
_cell = document.createElement("td");
_cell.appendChild(_font_4);
_row.appendChild(_cell);
_tbody.appendChild(_row);
_table.appendChild(_tbody);
main_cell.appendChild(_table);
main_cell = main_row.insertCell(1);
main_cell.width = "245";
var _table = document.createElement("table");
_table.width = "100%";
var _tbody = document.createElement("tbody");
var _row = document.createElement("tr");
var _cell = document.createElement("td");
_cell.width = "122";
_cell.appendChild(_select_1);
_row.appendChild(_cell);
_cell = document.createElement("td");
_cell.width = "122";
_cell.rowSpan = "3";
_cell.align = "left";
_cell.appendChild(_input_1);
_cell.appendChild(document.createTextNode(" Bold"));
_cell.appendChild(document.createElement("br"));
_cell.appendChild(_input_2);
_cell.appendChild(document.createTextNode(" Underline"));
_cell.appendChild(document.createElement("br"));
_cell.appendChild(_input_3);
_cell.appendChild(document.createTextNode(" Italic"));
_row.appendChild(_cell);
_tbody.appendChild(_row);
_row = document.createElement("tr");
_cell = document.createElement("td");
_cell.width = "122";
_cell.appendChild(_select_2);
_row.appendChild(_cell);
_tbody.appendChild(_row);
_row = document.createElement("tr");
_cell = document.createElement("td");
_cell.width = "122";
_cell.appendChild(_select_3);
_row.appendChild(_cell);
_tbody.appendChild(_row);
_table.appendChild(_tbody);
main_cell.appendChild(_table);
main_cell = main_row.insertCell(2);
main_cell.width = "245";
main_cell.rowSpan = "3";
main_cell.appendChild(_font_2);
if(document.all){ // IE fix
_input_1.checked = this.checkIt("b");
_input_2.checked = this.checkIt("u");
_input_3.checked = this.checkIt("i");
}
break parent;
}
}
}
}
}
}
};
if(location.href.match(/action=modifyprofile/i) && document.modifyForm){
personalFont.setupOptions();
if(document.addEventListener)
document.modifyForm.addEventListener("submit", personalFont.setCookie, false);
else if(document.attachEvent)
document.modifyForm.attachEvent("onsubmit", personalFont.setCookie);
else
document.modifyForm.onsubmit = personalFont.setCookie;
}
if(document.postForm || location.href.match(/action=display&(thread|board)/i)){
personalFont.findForm();
if(document.addEventListener)
personalFont.form.addEventListener("submit", personalFont.addUBBC, false);
else if(document.attachEvent)
personalFont.form.attachEvent("onsubmit", personalFont.addUBBC);
else
personalFont.form.onsubmit = personalFont.addUBBC;
}
//--></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.getElementsByName('message').length){
var __submitBtn,__wc,__msg
__msg=document.getElementsByName('message')[0];
__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 && !location.href.match(/ion=pmsend/)){__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>
<script type="text/javascript">
<!--
if(location.href.match(/ion=(display|search2|(user)?recent)/)) {
var bit=document.getElementsByTagName('td')
for(i=0;i<bit.length;i++){
if(bit[i].innerHTML.match(/\(Read (.+?) times\)/)){
var reg=RegExp.$1
bit[i].innerHTML=bit[i].innerHTML.replace('(Read '+reg+' times)','')
}
}
}
//-->
</script>
<script type="text/javascript">
<!--
var i = document.getElementsByTagName('i');
for(t=0; t<i.length; t++)
if(i[t].innerHTML == 'Last Edit:')
i[t].parentNode.style.display = 'none';
//-->
</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('admin', '<font color="FF3366">C</font><font color="0099CC">H</font><font color="00FF33">A</font><font color="FFFF00">R</font><font color="FF6600"><i>!<i></font>');
//-->
</script>
<script type="text/javascript">
<!--
/*
Name: ENHANCED UBBC TABLE TAGS
Location: Global Footer
Created by EtonBones at yahoo d o t com
Do not redistribute without permission
Feel free to edit provided a notation is
added to this header stating that fact.
THIS HEADER MUST REMAIN INTACT.
*/
/*********** *****START EDITABLE USER OPTIONS***********************
If not concerned about the security risk posed by allowing users the ability
to set events such as onclick and onmouseover in their posts
set the following variable to false*/
var DisallowEvents=true;
/*If UBBC Undo installed and you would like enhanced tags added to history
set the following variable to true*/
var UUInstalled=false;
/******END EDITABLE USER OPTIONS (NO FURTHER EDITING NECESSARY)*******/
var NoGood="Enhanced tags need to be between the [td] and [/td]";
function enhanceTable(){
var td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++){
/* if(td[i].width=="20%" && td[i].className.match(/windowbg/)){
var msg=td[i].parentNode.getElementsByTagName('td')[1].getElementsByTagName('tr')[1]; -5/7/10 */
if(td[i].width=="20%" && td[i].className.match(/windowbg/) && td[i].innerHTML.match(/>(Posts: [\d,]+|Guest)</)){
var msg=td[i].nextSibling.getElementsByTagName('tr')[1];
if(msg.getElementsByTagName('table').length){
for(l=0;l<msg.getElementsByTagName('table').length;l++){
parseTags(msg.getElementsByTagName('table')[l]);
//separate func needed since rowspans need to be set first in order to count columns
parseTH(msg.getElementsByTagName('table')[l]);
}
}
}else if(document.postForm && td[i].width=="30%" && td[i].className.match(/windowbg2/) && !document.getElementById('enhancedTable')){
var TR=td[i].parentNode;
var newTR=TR.parentNode.insertRow(TR.rowIndex+1);
TR.id="enhancedTable";
var newTD=document.createElement('td');
newTD.width='30%';
newTD.className='windowbg2';
newTD.innerHTML='<font size="2">Enhanced Table Tags:</font>';
newTR.appendChild(newTD);
newTD=document.createElement('td');
newTD.width='70%';
newTD.className='windowbg2';
newTD.innerHTML='<font size="2">Select Tag:</font><select name="etags" onChange=" addEtag(this.options[this.selectedIndex].value);this.selectedIndex=0;" ><option value="" selected="1">Enhanced Table Tags</option><option value="[th]" >Header</option><option value="[cs=2]">Span Columns</option><option value="[rs=2]">Span Rows</option><option value="[bg=white]">Background Color</option><option value="[atrb=border,0,true]">Any Attribute</option></select> ';
newTR.appendChild(newTD);
}else if(document.postForm && td[i].width=="100%" && td[i].className.match(/titlebg/) && td[i].innerHTML.match(/Topic Summary/)){
var table=td[i].parentNode.parentNode;
var re= /(?:[^\"])(\[(th|cs|rs|bg|atrb).*?\])/gim;
if(table.className.match(/tbody/i))table=table.parentNode;
for(l=2;l<table.rows.length;l=l+2){
if(table.rows[l].cells[0].innerHTML.match(/(?:[^\"\=])(\[(th|cs|rs|bg|atrb).*?\])/gim)){
while(table.rows[l].cells[0].innerHTML.match(/(?:[^\"\=])(\[(th|cs|rs|bg|atrb).*?\])/im ) ){
table.rows[l].cells[0].innerHTML= table.rows[l].cells[0].innerHTML.replace(/(?:[^\"\=])(\[(th|cs|rs|bg|atrb).*?\])/im, stripAnchor(RegExp.$1,RegExp.$2) ) ;
}
}
}
}
}
}
function stripAnchor(str){
var t=/(<A href\=.*\>(.*?)\<\/A\>)/i
if(!str)return "";
var s=str.substr(0,1);
if(s=='\"')return str;
if(s=="\[") s="";
if(str.match(t))str=str.replace(RegExp.$1,RegExp.$2);
return s+"<a title=\""+str+"\">*</a>";
}
function parseTags(TBL){
if(TBL.className !=""){
TBLS=TBL.getElementsByTagName('table')
for(k=0;k<TBLS.length;k++)parseTags(TBLS[k]);
return true;
}
var cell=TBL.getElementsByTagName('td');
var nada="";
for (j=0;j<cell.length;j++){
if(cell[j].innerHTML.match(/(\[cs\=(\d+)\])/i)){
cell[j].setAttribute("colSpan",RegExp.$2);
cell[j].innerHTML=cell[j].innerHTML.replace(RegExp.$1,'');
}
if(cell[j].innerHTML.match(/(\[rs\=(\d+)\])/i)){
cell[j].setAttribute("rowSpan",RegExp.$2);
cell[j].innerHTML=cell[j].innerHTML.replace(RegExp.$1,'');
}
if(cell[j].innerHTML.match(/(\[bg\=(.*?)\])/i)){
cell[j].setAttribute("bgColor",RegExp.$2);
cell[j].innerHTML=cell[j].innerHTML.replace(RegExp.$1,'');
}
while(cell[j].innerHTML.match(/(\[atrb\=(.*?)\])/i)){
var r1=RegExp.$1;
var r2=RegExp.$2;
var atrb=""; var atrbVal="";
var applyTable=false;
var oObj;
if(r2.split(',').length>0){ atrb=r2.split(',')[0]; atrb=atrb.replace(/^\s*|\s*$/g,"");}
if(r2.split(',').length>1) {atrbVal=r2.split(',')[1]; atrbVal=atrbVal.replace(/^\s*|\s*$/g,"");}
if(atrbVal.match(/(<A href\=.*\>(.*)\<\/A\>)/i))atrbVal=atrbVal.replace(RegExp.$1,RegExp.$2);
if(r2.split(',').length>2)applyTable=r2.split(',')[2]?true:false;
oObj=applyTable?TBL:cell[j];
if(atrb != ""){
if(atrb.toLowerCase()=="style"){
oObj.style.cssText+=atrbVal;
}else if(atrb.toLowerCase().substr(0,2)=="on" && DisallowEvents){
nada="<a title=\"Disallowed: "+r1.replace("[","").replace("]","") +"\">*</a>";
}else{
document.expando=false; //IE workaround for casing
try{
oObj.setAttribute(atrb,atrbVal);
}catch(e){
nada="<a title=\"Casing Error: "+r1.replace("[","").replace("]","") +"\">*</a>";
}finally{
document.expando=true;
}
}
}
cell[j].innerHTML=cell[j].innerHTML.replace(r1,nada);
}
}
}
function parseTH(TBL){
if(TBL.className !=""){
TBLS=TBL.getElementsByTagName('table')
for(k=0;k<TBLS.length;k++)parseTags(TBLS[k]);
return true;
}
var cell=TBL.getElementsByTagName('td');
for (j=0;j<cell.length;j++){
if(cell[j].innerHTML.match(/(\[th\])/i)){
cell[j].setAttribute("colSpan",columns(TBL));
cell[j].innerHTML=cell[j].innerHTML.replace(RegExp.$1,'');
}
}
}
function columns(TBL){
//w3c states that a colSpan=0 should make a cell span all columns but IE doesn't honor this, so...
var columns=0;
var tmp;
for(o=0;o<TBL.rows.length;o++){
tmp=0;
for(p=0;p<TBL.rows[o].cells.length;p++){
tmp++
if(TBL.rows[o].cells[p].rowSpan>1)tmp=tmp+TBL.rows[o].cells[p].rowSpan-1;
}
if(tmp>columns)columns=tmp;
}
return columns;
}
function addEtag(tag){
if(tag!=""){
if(UUInstalled){
if(isInsideCell()){
addX(tag);
}else{
alert(NoGood);
document.postForm.message.focus();
}
}else{
if(isInsideCell()){
add(tag);
}else{
alert(NoGood);
document.postForm.message.focus();
}
}
}
}
function isInsideCell(){
//Function purpose: determine if insertion point falls within the bounds of a cell
var msg=document.postForm.message;
if(document.postForm.message.createTextRange){
getCursorPositionIE();
var tmp= document.postForm.message.value.substr(0,document.postForm.message.selectionStart).split("\n").length-1;
setCursorPositionIE(msg.selectionStart-tmp);
}
msg.selectionStart=msg.selectionEnd;
var curr=msg.selectionStart;
if(msg.value.substr(0,curr).lastIndexOf("[td]")==-1 || msg.value.substr(0,curr).lastIndexOf("[td]")<msg.value.substr(0,curr).lastIndexOf("[/td]"))
return false;
if(msg.value.substr(curr).indexOf("[/td]")==-1 || (msg.value.substr(curr).indexOf("[/td]")>msg.value.substr(curr).indexOf("[td]") && msg.value.substr(curr).indexOf("[td]")!=-1))
return false;
if(msg.value.substr(0,curr).lastIndexOf("[")>msg.value.substr(0,curr).lastIndexOf("]"))
return false;
if(msg.value.substr(curr).indexOf("]")<msg.value.substr(curr).indexOf("[") )
return false;
return true;
}
if(location.href.match(/action\=(display|pmview|recent|userrecent|goto|search|calendarview)/) || ( document.postForm ))
enhanceTable();
function setCursorPositionIE(start,end) {
if(document.selection){
var element=document.postForm.message;
end=(end)?end:start;
var range = element.createTextRange();
range.collapse(true);
range.moveEnd('character', end);
range.moveStart('character', start);
range.select();
}
}
function getCursorPositionIE(){
if(document.selection){
var element = document.postForm.message;
element.focus();
var range = document.selection.createRange();
var stored_range = range.duplicate();
stored_range.moveToElementText( element );
stored_range.setEndPoint( 'EndToEnd', range );
element.selectionStart = stored_range.text.length - range.text.length;
element.selectionEnd = element.selectionStart + range.text.length;
element.selectionFaux=true;
}
}
//-->
</script>