Post by NIKKIE LI on Feb 10, 2012 10:59:34 GMT 8
Please don't take out the credit.
GLOBAL HEADER
<script type="text/javascript">
<!--
/* transparent welcome table */
var td = document.getElementsByTagName("td");
var tt = document.getElementsByTagName("table")[0];
tt.style.backgroundColor = "transparent";
tt.cellSpacing = "0";
for(i=0; i<td.length; i++)
td[i].style.backgroundColor = "transparent";
// -->
</script>
<!-- =====
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='710px';
</script>
<style type="text/css">
#sidetables { width: 200px; margin-bottom: 20px; margin-right: 1px; }
</style>
<table width="710px" align="center" cellpadding="3px" cellspacing="0px" style="border-style: solid; border-width: 2px; border-color: B9B9B9; background-color: 616161; border-radius: 60px; padding-top: 72px; padding-bottom: 21px; padding-left: 9px; padding-right: 9px; background-image: url('http://i40.tinypic.com/2qjzyio.png'); background-repeat: repeat;">
<tr>
<td vAlign="top">
<!-- ===== BOX #1 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Welcome
</td></tr>
<tr><td class="sidebarbg">
Herp. Testing. Yeah. Lorem ipsum and all that jazz, you know.</td></tr></table>
<!-- ===== BOX #2 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Links
</td></tr>
<tr><td class="sidebarbg">
<FORM action="/index.cgi" method="post" name="loginform" onSubmit="disable(this)">
<INPUT type="hidden" name="action" value="login2">
<CENTER>
<TABLE BORDER="0" CELLSPACING="3" CELLPADDING="0" WIDTH="100%">
<TR>
<INPUT type="text" name="username" value="username" size="6" />
- -
<INPUT type="password" name="password" value="drowssap" size="6" />
</TR><br><br>
<TR>
<INPUT type="submit" value="switch characters!" tabindex="4"/ font-size="8pt">
</TABLE>
</CENTER>
</FORM>
<div align="center">.....................................</div>
<p style="font-size: 12px; font-family: georgia, serif; "><b>navigation ladder</b></p><div id="nvtree" align="center"></div><br><br>
<div align="center">.....................................</div><br>
<html>
<head>
<title>Drop Down Menu</title>
<!-- insert head part of code in space below -->
<script language="JavaScript">
<!--
function goToURL(form)
{
var myindex=form.dropdownmenu.selectedIndex
if(!myindex=="")
{
window.location.href=form.dropdownmenu.options[myindex].value;
}
}
//-->
</script>
</Head>
<body>
<!-- insert body part of code in space below -->
<form name="IMPORTANT LINKS">
<select name="dropdownmenu" size=1 onChange="goToURL(this.form)">
<option selected value="">
IMPORTANT LINKS
<option value="http://LINK1">
LINK1
<option value="http://LINK2">
LINK2
<option value="http://LINK3">
LINK3
<option value="http://LINK4">
LINK4
<option value="http://LINK5">
LINK5
<option value="http://LINK5">
LINK5
<option value="http://LINK6">
LINK6
</select></form>
</body>
<body>
<form name="THREADS">
<select name="dropdownmenu" size=1 onChange="goToURL(this.form)">
<option selected value="">
THREADS TO READ
<option value="http://LINK1">
LINK1
<option value="http://LINK2">
LINK2
<option value="http://LINK3">
LINK3
<option value="http://LINK4">
LINK4
<option value="http://LINK5">
LINK5
<option value="http://LINK6">
LINK6
<option value="http://LINK7">
LINK7
</select></form>
</BODY>
<body>
<form name="ROLEPLAY BOARDS">
<select name="dropdownmenu" size=1 onChange="goToURL(this.form)">
<option selected value="">
ROLEPLAY BOARDS
<option value="http://LINK1">
BOARD1
<option value="http://LINK2">
BOARD2
<option value="http://LINK3">
BOARD3
<option value="http://LINK4">
BOARD4
<option value="http://LINK5">
BOARD5
<option value="http://LINK6">
BOARD6
<option value="http://LINK7">
BOARD7
</select></form>
</body>
<body>
<!-- insert body part of code in space below -->
<form name="PLOTTING">
<select name="dropdownmenu" size=1 onChange="goToURL(this.form)">
<option selected value="">
PLOT STUFF
<option value="http://LINK1">
LINK1
<option value="http://LINK2">
LINK2
<option value="http://LINK3">
LINK3
<option value="http://LINK4">
LINK4
<option value="http://LINK5">
LINK5
</select></form>
</body>
</td></tr></table>
<!-- ===== BOX #3 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Special Events
</td></tr>
<tr><td class="sidebarbg">
COOL STORY BRO<BR/>TRUE STORY<br/>O RLY?<br/>YA RLY<br/>LOL<br/></td></tr></table>
<!-- ===== BOX #4 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Out-Of-Character Chat
</td></tr>
<tr><td class="sidebarbg">
170px width cbox here, or what you will, babycakes.
</td></tr></table>
<!-- ===== BOX #5 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Suggested Sites
</td></tr>
<tr><td class="sidebarbg">
<div style="height: 100px; width:170px; text-align:left; font:12px courier new;overflow-y:hidden;overflow-x:scroll;">
<p style="width:1000%;">this here be affiliate buttons</p>
</div>
</td></tr></table>
<!-- ===== BOX #3 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Something Else
</td></tr>
<tr><td class="sidebarbg">
Four "T"s, a little writing rhyme<br/>
Of Topic, Territory, Talker, Time<br/>
When there's a change in one of these<br/>
Start a new paragraph if you please.</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">
.nav
{
font-size: 10px; text-decoration: none;
}
.nav:link
{
font-size: 10px; text-decoration: none;
}
.nav:visited
{
font-size: 10px; text-decoration: none ;
}
.nav:hover
{
font-size: 10px; text-decoration: none; color: #575757;
}
<!--
.sidebarbg {
padding-top: 21px;
padding-left: 9px;
padding-right: 9px;
padding-bottom: 9px;
font-family: verdana;
text-align: center;
background-color: #e6e6e6;
font-size: 11px;
}
-->
.titlebg b {
text-transform: lowercase;
font-family: courier new;
font-size: 15px;
letter-spacing: 2px;
}
.titlebg { border-bottom: 1px solid #8F839A; border-top: 3px dotted #8F839A; padding-bottom: 2px; padding-left: 6px; padding-top: 27px; }
.newstitlebg {
text-transform: uppercase;
font-family: century gothic;
font-weight: bold;
color: #56003B;
letter-spacing: 2px;
}
.quote
{
font-size: 10px; font-family: tahoma, verdana, arial; background-color: f2f2f2;
}
table.quote {
padding: 5px; spacing: 2px; border-left: 3px solid #460021; border-right: none; border-bottom: none; border-top: none; }
body {
background-repeat: repeat-xy;
background-position: top center; }
.menubg a {
padding: 2px 2px 2px 2px;
letter-spacing: 1px;
text-decoration: none;
text-transform: uppercase;
height: 20px;
font-size: 10px;
font-family: Century Gothic;
font-weight: bold;
border-bottom: 1px dashed #8F839A;
border-top: 1px dashed #8F839A;
}
.menubg a:hover { border: none; color: #575757; }
.catbg { padding-left: 6px; padding-right: 6px; padding-bottom: 6px; padding-top: 21px;
border-bottom: 1px solid #8F839A; border-top: 2px dashed #8F839A;
}
.title {
padding-top: 102px;
padding-bottom: 6px;
padding-left: 6px;
padding-right: 6px;
letter-spacing: 2px;
text-align: right;
font-family: courier new, courier, serif;
font-size: 24px;
background-color: #DFDFDF;
font-weight: 900;
color: #3B3B3B;
text-transform: lowercase;
border-bottom: 3px dotted #464646;
line-height: 60%;
border-top-right-radius: 100px;
border-bottom-left-radius: 100px;
}
a :link, a:visited, a:active { text-decoration: none; }
a:hover { text-decoration: none; color: #575757; }
.group0, .group1, .group2, .group3, .group4, .group5, .group6, .group7 { font-family: arial, sans serif; }
textarea { padding-top: 12px; padding-bottom: 9px; padding-left: 11px; padding-right: 9px; font-family: Verdana, Arial, sans-serif; font-size: 12px; color: 464646; background-color: ffffff; border-radius: 15px; }
select { font-family: verdana, arial, sans-serif; font-size: 9px; color: 464646; background-color: Ffffff; text-transform: uppercase; width: 130px; border-radius: 12px; }
input { padding: 3px; font-family: Verdana, Arial, sans-serif; font-size: 10px; color: 464646; background-color: ffffff; border-radius: 9px; }
</style>
<script>
<!--
/* Border-Around-Forum by Smangii*/
var hg = "bordercolor"; // Class of the Header Gradient
var mc = "http://i44.tinypic.com/15xu34p.png"; // Color of the middle portion
var bg = "bordercolor"; // Class of the Footer Gradient
document.write('<table width="92%" cellspacing="1" cellpadding="4" class="bordercolor" style="border-style: solid; border-width: 2px; border-color: F9F9F9" align="center"><tr><td width="100%" class="'+hg+'"></td></tr><tr><td width="100%" style="background-image: url('+mc+'); background-repeat: repeat-xy;">')
//-->
</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>
<script type="text/javascript">
<!--
document.getElementsByTagName('td').item(2).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('table')[0].cellSpacing = 0;
//-->
</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>
<style type="text/css">
<!--
/* Category Titles Unbold */
.catbg b {
font-weight: normal;
font-size: 15px;
letter-spacing: 2px;
font-family: georgia, serif;
}
-->
</style>
<script type="text/javascript">
<!--
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('td').item(2).innerHTML = document.getElementsByTagName('td').item(2).innerHTML.split(/<br\s?\/?>/)[0];
//-->
</script>
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>
GLOBAL FOOTER
<script type="text/javascript">
<!--
// Alter standard font size in posts..
var posts = document.getElementsByTagName('font');
for(p=0; p<posts.length; p++)
{
if(posts[p].innerHTML.match(/google_ad_section_start/))
{
posts[p].size = '1';
}}
// -->
</script>
<script>
<!--
document.write('</td></tr><tr><td width="100%" class="'+bg+'"></td></tr></table>')
//-->
</script>
<!-- GLIDE PM BAR -->
<style type="text/css">
/* Glide PM Bar CSS */
body {
margin-top: 35px;
}
#glide {
background-color: #DFDFDF;
color: #464646;
font-family: courier new;
font-weight: bold;
text-transform: uppercase;
width: 100%;
border-bottom: 1px dashed #545454;
/* no more editing */
height: 25px;
overflow: hidden;
position: fixed;
top: 0px;
left: 0px;
}
#glide div a {
color: #460021;
}
#glide div {
margin: 5px;
}
#glide #gleft {
float: left;
}
#glide #gright {
float: right;
};
#glide {
position: absolute;
top: expression(document.body.scrollTop);
padding-right: 0px;
}
</style>
<div id="glide" onmouseover="glideShow();" onmouseout="glideHide();"><div id="gleft"></div><div id="gright"></div></div>
<script type="text/javascript">
<!--
/* Glide PM Bar v1.0
Written by Devin F
Don't redistribute */
var ginfo = document.getElementsByTagName("font")[2].innerHTML.split(/<br\s?\/?>/i);
var glide = document.getElementById("glide");
var gleft = document.getElementById("gleft");
var gright = document.getElementById("gright");
var ghide;
document.body.removeChild(document.body.getElementsByTagName("br")[0]);
gleft.innerHTML = (pb_username != "Guest") ? ginfo[0] : "Please <a href='index.cgi?action=login'>login</a> or <a href='index.cgi?action=register'>register</a> to use this feature";
gright.innerHTML = ginfo[1] + gright.innerHTML;
function glideHide(){ //<-- IT RHYMES! =P
ghide = setTimeout("glide.style.height = '3px'", 500);
}
function glideShow(){ //<-- Doesn't rhyme. =(
glide.style.height = '25px';
clearTimeout(ghide);
}
window.onload = glideHide();
//-->
</script>
<!-- END OF GLIDE PM BAR -->
<script type="text/javascript">
<!--
// Remove all borders
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
table[i].cellSpacing = "0px";
}
//-->
</script>
<script type="text/javascript">
<!--
/* remove last edit */
var font=document.getElementsByTagName("font");
if(location.href.match(/on=(displ|search2|(user)?rece)/)){
for(i=0;i<font.length;i++){
if(font[i].innerHTML.match(/Last\sEdit:/i) && font[i].parentNode.align=="left"){
font[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://i42.tinypic.com/oau5ch.gif";
//Do not change this image unless you are replacing it with the exact same image
hexWheelUrl="http://i40.tinypic.com/140g3uf.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">
<!--
/* preview with quick reply - by ross */
var mes = document.getElementsByName('message');
if(location.href.match(/ion=display/) && mes[0]) {
var qrForm = mes[0].parentNode;
var preview = '<input name="nextaction" type="hidden" value="post">';
preview += '<input type="submit" accesskey="p" value="Preview" onclick="qrForm.nextaction.value=\'preview\'; return true;" /> ';
qrForm.removeChild(qrForm.lastChild)
qrForm.innerHTML += preview;
}
//-->
</script>
<script>/* Unbold Board Names - Wrighty */if(location.href.match(/action=home/) || !location.href.match(/action/))for(var d = document.getElementsByTagName('td'), a = 0; a < d.length; a++)if(d[a].innerHTML.match(/\[(\s|\*)\]/) && d[a].className == 'windowbg')d[a+1].getElementsByTagName('a')[0].innerHTML = d[a+1].getElementsByTagName('a')[0].firstChild.innerHTML</script>
<script type="text/javascript">
<!--
/* remove topic icons by hpmad */
var td = document.getElementsByTagName('td');
for(i=0;i<td.length;i++){
if(!document.postForm && location.href.match(/board=/)){
if(td[i].colspan == "8") {
td[i].colspan="7";
} else if (td[i].colspan == "7") {
td[i].colspan="6";
} else if(td[i].width=='5%' && td[i].className.match(/(windowbg2|catbg)/i) && td[i+1].width!='5%'){
var newWidth = (td[i].width == "43%") ? "48%" : "53%";
td[i+1].width = newWidth;
td[i].parentNode.removeChild(td[i]);
}
}
if(document.postForm && location.href.match(/action=(post|modifypost)/i)){
if(td[i].className=='windowbg' && td[i].innerHTML.match(/Message Icon:/) && td[i+1].width=='70%'){
td[i].parentNode.style.display = 'none';
}
}
if(!document.postForm && location.href.match(/thread=/)){
if(td[i].width == '5%' && td[i].align=='left' && td[i].vAlign == 'middle' && td[i].getElementsByTagName('img')[0]){
td[i].innerHTML = '';
}
}
}
//-->
</script>
<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' && gCell[c].getElementsByTagName('b')[0] && gCell[c].getElementsByTagName('b')[0].firstChild && 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">
<!--
/* Contact Icons (Image To Text)
By {XF}�s$@�s��, [url]http://www.xf-clan.net[/url]
Code from [url]http://www.utopiangfx.proboards56.com/index.cgi[/url] */
var td = document.getElementsByTagName("td");
if (location.href.match(/on=(displ|search2|viewpr|pmv|(user)?rece|cal\w+iew)/i)) {
for (i=0; i<td.length; i++) {
if (!td.item(i).innerHTML.match(/Guest/i) && td.item(i).width == "20%" && td.item(i).innerHTML.match(/Posts:/i)) {
var img = td.item(i).getElementsByTagName("img");
for (j=0; j<img.length; j++) {
if (/\[(icq|yim|aim|msn|homepage|email|send\spm)\]/i.test(img.item(j).alt)) {
var t = img.item(j).alt.replace(/\[|\]/g, "");
img.item(j).parentNode.replaceChild(document.createTextNode(t), img.item(j));
j--;
}
}
}
}
}
// -->
</script>
<script type="text/javascript">
<!--
// Disable smilies, by MegaShadowChao. May not be duplicated, altered, or reposted except by the author. //
var td=document.getElementsByTagName('td');
if(document.postForm){
for(count=0; count<td.length; count++){
if(td[count].width=="30%"){
if(td[count].getElementsByTagName('font').length>0){
if(td[count].getElementsByTagName('font')[0].innerHTML=="Add Smilies:"){
td[count].parentNode.style.display='none';
} else if(td[count].getElementsByTagName('font')[0].innerHTML=="Disable Smilies:"){
td[count+1].getElementsByTagName('input')[0].checked="true";
td[count].parentNode.style.display='none';
}
}
}
}
} else if(document.getElementsByName('message')[0]){
var iput=document.getElementsByTagName('input');
for(count=0; count<iput.length; count++){
if(iput[count].value.match("Post Reply")){
iput[count].onclick=function(){document.getElementsByName('message')[0].innerHTML+="";};
}
}
}
//-->
</script>
<style type="text/css">
.codeArea { border: 1px solid black; }
</style>
<script type="text/javascript">
/* Code Tag Modification by hpmad
Do not repost or claim without permission from creator
For more codes like this one go to: http://talkpark.proboards.com */
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"><font face="Verdana"><b><center>Le CODE</center></b></font></font><br><center><form><textarea class="codeArea" style="font-size: 8pt;" readonly name="codeArea" cols="14" rows="4">'+codeArea+'</textarea><br><input type="button" value="HIGHLIGHT!" onclick="javascript:this.form.codeArea.focus();this.form.codeArea.select();"></form></center>';
i--;
}
}
}
</script>
<script type = 'text/javascript'>
/*
Images to Text
By Michael (Wrighty)
Do Not Repost, Rip, Claim or Edit
*/
for(n = 0, i = document.getElementsByTagName('img'); n < i.length; n++)
if(i[n].src.match(/(s\d+\.)?images\.proboards\.com/) && i[n].src.match(/(\/button|search2|newpoll)/) && i[n].src.match(/(png|gif)$/) && !i[n].src.match(/_sm/)){
var f = document.createElement('font');
f.className = 'button';
i[n].parentNode.replaceChild(f.appendChild(document.createTextNode(i[n].alt.replace(/(\[|\])/g, ''))), i[n]);
n--;
}
</script>
<script type="text/javascript">
<!--
function spellChecker( textObject ) {
this.popUpUrl = '/speller/spellchecker.html';
this.popUpName = 'spellchecker';
this.popUpProps = "menu=no,width=440,height=350,top=70,left=120,resizable=yes,status=yes";
this.spellCheckScript = '/speller/server-scripts/spellchecker.pl';
this.replWordFlag = "R";
this.ignrWordFlag = "I";
this.replAllFlag = "RA";
this.ignrAllFlag = "IA";
this.fromReplAll = "~RA";
this.fromIgnrAll = "~IA";
this.wordFlags = new Array();
this.currentTextIndex = 0;
this.currentWordIndex = 0;
this.spellCheckerWin = null;
this.controlWin = null;
this.wordWin = null;
this.textArea = textObject;
this.textInputs = arguments;
this._spellcheck = _spellcheck;
this._getSuggestions = _getSuggestions;
this._setAsIgnored = _setAsIgnored;
this._getTotalReplaced = _getTotalReplaced;
this._setWordText = _setWordText;
this._getFormInputs = _getFormInputs;
this.openChecker = openChecker; this.startCheck = startCheck;
this.checkTextBoxes = checkTextBoxes;
this.checkTextAreas = checkTextAreas;
this.spellCheckAll = spellCheckAll;
this.ignoreWord = ignoreWord;
this.ignoreAll = ignoreAll;
this.replaceWord = replaceWord;
this.replaceAll = replaceAll;
this.terminateSpell = terminateSpell;
this.undo = undo;
window.speller = this;
}
function checkTextBoxes() {
this.textInputs = this._getFormInputs( "^text$" );
this.openChecker();
}
function checkTextAreas() {
this.textInputs = this._getFormInputs( "^textarea$" );
this.openChecker();
}
function spellCheckAll() {
this.textInputs = this._getFormInputs( "^text(area)?$" );
this.openChecker();
}
function openChecker() {
this.spellCheckerWin = window.open( this.popUpUrl, this.popUpName, this.popUpProps );
if( !this.spellCheckerWin.opener ) {
this.spellCheckerWin.opener = window;
}
}
function startCheck( wordWindowObj, controlWindowObj ) {
this.wordWin = wordWindowObj;
this.controlWin = controlWindowObj;
this.wordWin.resetForm();
this.controlWin.resetForm();
this.currentTextIndex = 0;
this.currentWordIndex = 0;
this.wordFlags = new Array( this.wordWin.textInputs.length );
for( var i=0; i<this.wordFlags.length; i++ ) {
this.wordFlags[i] = [];
}
this._spellcheck();
return true;
}
function ignoreWord() {
var wi = this.currentWordIndex;
var ti = this.currentTextIndex;
if( !this.wordWin ) {
alert( 'Error: Word frame not available.' );
return false;
}
if( !this.wordWin.getTextVal( ti, wi )) {
alert( 'Error: "Not in dictionary" text is missing.' );
return false;
}
if( this._setAsIgnored( ti, wi, this.ignrWordFlag )) {
this.currentWordIndex++;
this._spellcheck();
}
}
function ignoreAll() {
var wi = this.currentWordIndex;
var ti = this.currentTextIndex; if( !this.wordWin ) {
alert( 'Error: Word frame not available.' );
return false;
}
var s_word_to_repl = this.wordWin.getTextVal( ti, wi );
if( !s_word_to_repl ) {
alert( 'Error: "Not in dictionary" text is missing' );
return false;
}
this._setAsIgnored( ti, wi, this.ignrAllFlag );
for( var i = ti; i < this.wordWin.textInputs.length; i++ ) {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
if(( i == ti && j > wi ) || i > ti ) {
if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) && ( !this.wordFlags[i][j] )) {
this._setAsIgnored( i, j, this.fromIgnrAll ); }
} } }
this.currentWordIndex++;
this._spellcheck();}function replaceWord() {
var wi = this.currentWordIndex; var ti = this.currentTextIndex; if( !this.wordWin ) {
alert( 'Error: Word frame not available.' );
return false; }
if( !this.wordWin.getTextVal( ti, wi )) {
alert( 'Error: "Not in dictionary" text is missing' );
return false; } if( !this.controlWin.replacementText ) {
return; } var txt = this.controlWin.replacementText;
if( txt.value ) { var newspell = new String( txt.value );
if( this._setWordText( ti, wi, newspell, this.replWordFlag )) {
this.currentWordIndex++; this._spellcheck();
}
}}function replaceAll() {
var ti = this.currentTextIndex;
var wi = this.currentWordIndex; if( !this.wordWin ) {
alert( 'Error: Word frame not available.' ); return false; }
var s_word_to_repl = this.wordWin.getTextVal( ti, wi ); if( !s_word_to_repl ) {
alert( 'Error: "Not in dictionary" text is missing' );
return false;
}
var txt = this.controlWin.replacementText;
if( !txt.value ) return;
var newspell = new String( txt.value ); this._setWordText( ti, wi, newspell, this.replAllFlag );
for( var i = ti; i < this.wordWin.textInputs.length; i++ ) {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
if(( i == ti && j > wi ) || i > ti ) {
if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) && ( !this.wordFlags[i][j] )) {
this._setWordText( i, j, newspell, this.fromReplAll );
}
}
}
}
this.currentWordIndex++;
this._spellcheck();}function terminateSpell() {
var msg = "Spell check complete:\n\n";
var numrepl = this._getTotalReplaced(); if( numrepl == 0 ) {
if( !this.wordWin ) {
msg = "";
} else {
if( this.wordWin.totalMisspellings() ) {
msg += "No words changed.";
} else {
msg += "No misspellings found.";
}
} } else if( numrepl == 1 ) {
msg += "One word changed.";
} else {
msg += numrepl + " words changed.";
}
if( msg ) {
msg += "\n"; alert( msg );
}
if( numrepl > 0 ) {
for( var i = 0; i < this.textInputs.length; i++ ) {
if( this.wordWin ) {
if( this.wordWin.textInputs[i] ) {
this.textInputs[i].value = this.wordWin.textInputs[i];
}
}
}
}
this.spellCheckerWin.close();
return true;
}function undo() {
var ti = this.currentTextIndex;
var wi = this.currentWordIndex;
if( this.wordWin.totalPreviousWords( ti, wi ) > 0 ) {
this.wordWin.removeFocus( ti, wi ); do {
if( this.currentWordIndex == 0 && this.currentTextIndex > 0 ) {
this.currentTextIndex--;
this.currentWordIndex = this.wordWin.totalWords( this.currentTextIndex )-1;
if( this.currentWordIndex < 0 ) this.currentWordIndex = 0;
} else { if( this.currentWordIndex > 0 ) {
this.currentWordIndex--;
}
}
} while (
this.wordWin.totalWords( this.currentTextIndex ) == 0 || this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromIgnrAll || this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromReplAll );
var text_idx = this.currentTextIndex;
var idx = this.currentWordIndex;
var preReplSpell = this.wordWin.originalSpellings[text_idx][idx];
if( this.wordWin.totalPreviousWords( text_idx, idx ) == 0 ) {
this.controlWin.disableUndo(); }
switch( this.wordFlags[text_idx][idx] ) {
case this.replAllFlag :
for( var i = text_idx; i < this.wordWin.textInputs.length; i++ ) {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
if(( i == text_idx && j >= idx ) || i > text_idx ) {
var origSpell = this.wordWin.originalSpellings[i][j];
if( origSpell == preReplSpell ) {
this._setWordText ( i, j, origSpell, undefined );
}
}
}
}
break;
case this.ignrAllFlag :
for( var i = text_idx; i < this.wordWin.textInputs.length; i++ ) {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
if(( i == text_idx && j >= idx ) || i > text_idx ) {
var origSpell = this.wordWin.originalSpellings[i][j];
if( origSpell == preReplSpell ) {
this.wordFlags[i][j] = undefined;
}
}
}
}
break;
case this.replWordFlag :
this._setWordText ( text_idx, idx, preReplSpell, undefined );
break; }
this.wordFlags[text_idx][idx] = undefined;
this._spellcheck(); }}function _spellcheck() {
var ww = this.wordWin;
if( this.currentWordIndex == ww.totalWords( this.currentTextIndex) ) {
this.currentTextIndex++;
this.currentWordIndex = 0;
if( this.currentTextIndex < this.wordWin.textInputs.length ) {
this._spellcheck();
return;
} else {
this.terminateSpell();
return;
}
}
if( this.currentWordIndex > 0 ) {
this.controlWin.enableUndo();
}
if( this.wordFlags[this.currentTextIndex][this.currentWordIndex] ) {
this.currentWordIndex++;
this._spellcheck();
} else {
var evalText = ww.getTextVal( this.currentTextIndex, this.currentWordIndex );
if( evalText ) {
this.controlWin.evaluatedText.value = evalText;
ww.setFocus( this.currentTextIndex, this.currentWordIndex );
this._getSuggestions( this.currentTextIndex, this.currentWordIndex );
}
}
}function _getSuggestions( text_num, word_num ) {
this.controlWin.clearSuggestions();
var a_suggests = this.wordWin.suggestions[text_num][word_num];
if( a_suggests ) {
for( var ii = 0; ii < a_suggests.length; ii++ ) {
this.controlWin.addSuggestion( a_suggests[ii] );
}
}
this.controlWin.selectDefaultSuggestion();
}
function _setAsIgnored( text_num, word_num, flag ) {
this.wordWin.removeFocus( text_num, word_num );
this.wordFlags[text_num][word_num] = flag;
return true;
}
function _getTotalReplaced() {
var i_replaced = 0;
for( var i = 0; i < this.wordFlags.length; i++ ) {
for( var j = 0; j < this.wordFlags[i].length; j++ ) {
if(( this.wordFlags[i][j] == this.replWordFlag ) || ( this.wordFlags[i][j] == this.replAllFlag ) || ( this.wordFlags[i][j] == this.fromReplAll )) {
i_replaced++; } } }
return i_replaced;
}
function _setWordText( text_num, word_num, newText, flag ) {
this.wordWin.setText( text_num, word_num, newText );
this.wordFlags[text_num][word_num] = flag;
return true;
}
function _getFormInputs( inputPattern ) {
var inputs = new Array();
for( var i = 0; i < document.forms.length; i++ ) {
for( var j = 0; j < document.forms[i].elements.length; j++ ) {
if( document.forms[i].elements[j].type.match( inputPattern )) {
inputs[inputs.length] = document.forms[i].elements[j];
}
}
}
return inputs;
}
function openSpellCheck(){
if(document.postForm)
var speller = new spellChecker(document.postForm.subject,document.postForm.message);
else
var speller = new spellChecker(document.getElementsByName('message')[0]);
speller.openChecker();
}
// -->
</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">
<!--
/* spell check with quick reply */
var mes = document.getElementsByName('message');
if(mes[0] && !document.postForm) {
var qrForm = mes[0].parentNode;
var pre = document.createElement('font');
pre.innerHTML = '<input type="button" value="Spell Check" onclick="openSpellCheck();">';
qrForm.insertBefore(pre, qrForm.lastChild.previousSibling)
}
//-->
</script>
<script type="text/javascript">
<!--
// Move nav tree to anywhere
// by Wormopolis [url]wormocodes.proboards.com[/url]
// Do not repost - keep header intact
// version 3.011
var horizSpace=" -";
var endSpace=" »";
var vertSpace=" -";
var displayType=1; // 1=normal, 2=Kamistyle (non-ladder), 3=vBulletin style
var direction="left"; //choose left or right, vBulletin style requires left
vBullIconTop="http://i36.tinypic.com/334qcf7.gif";
vBullIconBottom="http://i37.tinypic.com/2v3jzgx.gif";
// insert a DIV tag with id="nvtree" where you want tree to be
if (!location.href.match(/noNav/)) {
iTd=document.getElementsByTagName('td');
for (i=0; i<iTd.length; i++) {
if (iTd[i].width=="100%" && iTd[i].getElementsByTagName('a')[0] && iTd[i].getElementsByTagName('a')[0].className=="nav") {
sts=iTd[i].getElementsByTagName('a')[0];
workwith=sts.parentNode; if (location.href.match(/navdebug/)) alert(workwith.innerHTML);
breakoff_a=workwith.innerHTML.split(/<table/i)[0];
if (breakoff_a.match(/<font/i)) breakoff_a=breakoff_a.split(/<font/i)[0];
breakoff_a=" "+breakoff_a; if (location.href.match(/navdebug/)) alert(breakoff_a);
breakoff_b = (document.all ? breakoff_a.split(/<br(.*?)>/i)[1] : breakoff_a.split(/<br(.*?)>/i)[2]);
asd=0; jm=0; if (location.href.match(/navdebug/)) alert(breakoff_b);
while (!workwith.childNodes[jm].nodeName.match(/(table|form)/i)){
if (workwith.childNodes[jm].nodeType==3) {
workwith.childNodes[jm].nodeValue= "";
} else {
if (!workwith.childNodes[jm].nodeName.match(/(div|br)/i)) workwith.childNodes[jm].style.display="none";
}
jm++;
}
breakoff_b = " " + breakoff_b;
nav_list=breakoff_b.split("::");
deep=nav_list.length;
for (j=(displayType==3 ? 1 : 0);j<deep-1;j++) {
nav_list[j]=(direction=='left' ? endSpace+nav_list[j]+(displayType==3 ? "" : "<br>") : nav_list[j]+endSpace);
}
nav_list[deep-1]=(direction=='left' ? (displayType==3 ? '<img src="'+vBullIconBottom+'" border="0"><b><font size="2">' : endSpace)+nav_list[deep-1]+(displayType==3 ? "</font></b>" : "" ) + "<br>" : nav_list[deep-1]+endSpace);
nav_post_final=(displayType==3 ? '<img src="'+vBullIconTop+'" border="0">' : "");
for (k=0;k<deep-1;k++) {
if (direction=='left') {
if (displayType!=3) {
for (sp=0; sp<k; sp++) nav_post_final+=horizSpace;
}
nav_post_final+=nav_list[k];
} else {
nav_post_final+=nav_list[k];
if (displayType!=3) {
for (sp=0; sp<k; sp++) nav_post_final+=horizSpace;
nav_post_final+="<br>";
}
}
if (displayType!=3) nav_post_final+=vertSpace;
}
if (displayType!=3) {
if (direction=='left') {
for (sp=0; sp<k; sp++) nav_post_final+=horizSpace;
nav_post_final+=nav_list[deep-1];
} else {
nav_post_final+=nav_list[deep-1];
for (sp=0; sp<k; sp++) nav_post_final+=horizSpace;
nav_post_final+="<br>";
}
} else {
if (direction=='left') {
nav_post_final+="<br>";
nav_post_final+=nav_list[deep-1]+"<br>";
} else {
nav_post_final+="<br>";
nav_post_final+=nav_list[deep-1];
nav_post_final+="<br>";
}
}
and_finally=document.getElementById('nvtree');
and_finally.align=direction;
and_finally.vAlign="middle";
and_finally.innerHTML=(displayType==2 ? breakoff_b : nav_post_final);
break;
}
}
}
// -->
</script>
<div width="98%" align="center" style="border-top: 1px dashed #575757; font: 21px Century Gothic; letter-spacing: 9px; padding: 5px; bg-color: #e6e6e6">SKIN BY <a href="http://skinjob.proboards.com/index.cgi"><b>NIKKIE LI</b></a>.</div>
<!-- =====
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>
<!--
document.write('</td></tr><tr><td width="100%" bgcolor="'+bg+'"></td></tr></table>')
//-->
</script>
MAIN FOOTER
<script type='text/javascript'>
/* Serperate News Fader from Boards by Scorpian
Version 1 - Just split the damn thing
[url]http://roddyinnov.proboards75.com[/url] */
/*=== Edit These ===*/
var splitHeight = 30; // How much space you want to split it by
/*=== Do Not Edit ===*/
var riTable = document.getElementsByTagName('table');
if(location.href.match(/action=home/i) || !location.href.match(/(action|board)=/i)){
for(x=0; x<riTable.length; x++){
if(riTable[x].cellSpacing == 1 && riTable[x].cellPadding == 4 && riTable[x].rows[0].cells[0].innerHTML.match(/News/i)){
riTable[x].parentNode.parentNode.parentNode.parentNode.style.backgroundColor = 'transparent';
var newHTML = "<table width='100%' cellspacing='1' cellpadding='4' border='0' class='bordercolor'>";
newHTML += riTable[x].innerHTML;
newHTML += "</table><div style='height:"+splitHeight+"px;'></div>";
var newsFader = riTable[x].parentNode;
newsFader.innerHTML = newsFader.innerHTML.replace(newsFader.innerHTML,newHTML);
}
}
}
</script>
<script type="text/javascript">
<!--
// Created by PopThosePringles
// Size of the gap between categories
var gapSize = 30;
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">
<!--
/* 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 type="text/Javascript">
// Sub-Boards in Boards Cell v2 by Chris
// Do not redistribute without permission of the creator
var dontShow = [ // IDs of the boards to not have the sub-boards shown for
"test2",
"board2" // No comma on last line
];
var beforeText = "<font size='1'><font face='Century Gothic, verdana, sans-serif'><b>( (( "; // Text before all the sub-boards
var afterText = " )) )</b></font></font>"; // Text after all the sub-boards
var middleText = "; "; // Text between each sub-board
// Don't edit
var aTD = document.getElementsByTagName("TD");
var aSE = document.getElementsByTagName("SELECT");
var subRe = /\s\(\d+ sub-boards?\)/i;
function analyzePage(){
// Adds the div's with IDs
for(a=4;a<aTD.length;a++){
if(aTD[a].width == "66%" && aTD[a].innerHTML.match(subRe)){
var d = document.createElement("div");
d.id = "sub_"+aTD[a].getElementsByTagName("A")[0].href.split(/board=/i)[1];
if(aTD[a].lastChild.nodeName.toLowerCase() == "font")
aTD[a].appendChild(d);
else
aTD[a].insertBefore(d,aTD[a].lastChild);
aTD[a].innerHTML = aTD[a].innerHTML.replace(subRe,"");
a = a+4;
}
}
}
function addListing(){
for(a=0;a<aSE.length;a++)
if(aSE[a].options[0].text == "Forum Jump")
break;
for(b=0;b<aSE[a].options.length;b++){
if(aSE[a].options[b].value != "" && aSE[a].options[b].text.match(/^-\s/i)){
var bid = aSE[a].options[b].value.split(/board=/i)[1];
if(!document.getElementById("sub_"+bid) || dontShow.toString().indexOf(bid) != -1)
continue;
var data = "";
while(aSE[a].options[b+1] && aSE[a].options[b+1].text.match(/---\s/i)){
b++;
data += (data == ""?"":middleText)+"<a href='"+aSE[a].options[b].value+"'>"+aSE[a].options[b].text.replace(/---\s/,"")+"</a>";
}
document.getElementById("sub_"+bid).innerHTML = beforeText+data+afterText;
}
}
}
if(location.href.match(/action=(change|home)/i) || !location.href.match(/action=/i)){
analyzePage();
addListing();
}
</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>
//Remove "Topics and Posts" column from main page
//wooper
var TD = document.getElementsByTagName("TD")
for(i=0;i<TD.length;i++){
if(TD[i].width == "1%" && TD[i+1].width == "1%")
{
TD[i].style.display ="none";
TD[i+1].style.display ="none";
TD[i-1].colSpan = '3';
}
}
</script>
<script type='text/javascript' language='JavaScript'>
/* Remove "Mark as Read" Bar by Scorpian */
var riTd = document.getElementsByTagName('td');
if(location.href.match(/action=home/i) || !location.href.match(/(action|board)=/i)){
for(x=0; x<riTd.length; x++){
if(riTd[x].className == 'catbg' && riTd[x].colSpan == '5' && riTd[x].innerHTML.match(/Mark All Boards Read/i)){
riTd[x].parentNode.style.display = 'none';
}
}
}
</script>
<script type="text/javascript">
<!--
/* Justify Board Description - By Anish
Streamlined by SubDevo
http://digitaldat.proboards.com/ */
var td = document.getElementsByTagName("td");
if(/^(home|boardindex)$/.test(pb_action)){
for(a=0;a<td.length;a++){
if(td[a].className=="windowbg2" && td[a].width=="66%"){
var des=td[a].lastChild;
des.innerHTML='<blockquote><div style="text-align: justify;">'+
des.innerHTML+'</div></blockquote>';
}
}
}
//-->
</script>
<script>
//remove info center icons
var InfoIcon=document.getElementsByTagName("TD")
for(t=0;t<InfoIcon.length;t++){
if(InfoIcon[t].className.match("windowbg") && InfoIcon[t].width=="20" && InfoIcon[t].vAlign=="middle"){
InfoIcon[t].style.display="none"
}}
</script>