var XD = document.getElementsByTagName("table");
for(x=0;x<XD.length;x++){
if(XD[x].width == "92%")
XD[x].width = "700" ;
// Edit to what you want the width to be. You can use percentages
}

/*=== Edit These ===*/
    var headImg = ['yes','http://i92.photobucket.com/albums/l14/Perishingflames/Flamethrower/Head.png']; // [Turn on head image? 'yes or 'no', url of the head image]
    var baseImg = ['yes','http://i92.photobucket.com/albums/l14/Perishingflames/Flamethrower/Base.png']; // [Turn on base image? 'yes or 'no', url of the base image]
    var gHeight = '20'; // Distance between tables

    var cNames = ['Stickied Topics','Normal Topics']; // Names of the tables

    /*=== No Touchy! ===*/
    var riTable = document.getElementsByTagName('table');
    var hImg = document.createElement('img'); var bImg = document.createElement('img');
    hImg.src = headImg[1]; bImg.src = baseImg[1]; var gDiv = document.createElement('div');
    gDiv.style.height = gHeight + 'px'; var theMainTable = document.createElement('table');
    with(theMainTable){
    cellSpacing = 1; cellPadding = 4; border = 0; align = 'center'
    width = '100%'; className = 'bordercolor';
    appendChild(document.createElement('tbody'));
    }
    if(location.href.match(/board=/i) && !location.href.match(/action=/i)){
    for(a=0; a<riTable.length; a++){
    if(riTable[a].rows[0].cells[0].className == 'titlebg' && riTable[a].rows[1] && riTable[a].rows[1].cells[0].className == 'catbg'){
    if(riTable[a].rows[0].cells[0].colSpan == 8){ break; }
    var stickies = false; var anyTopics = false;
    riTable[a-1].style.backgroundColor = 'transparent';
    var newCellA = riTable[a-1].insertRow(-1).insertCell(0);
    var newCellB = riTable[a-1].insertRow(-1).insertCell(0);
    if(headImg[0] == 'yes'){ newCellA.appendChild(hImg.cloneNode(true)); }
    newCellA.appendChild(theMainTable.cloneNode(true));
    if(baseImg[0] == 'yes'){ newCellA.appendChild(bImg.cloneNode(true)); }
    newCellA.appendChild(gDiv.cloneNode(true));
    if(headImg[0] == 'yes'){ newCellB.appendChild(hImg.cloneNode(true)); }
    newCellB.appendChild(theMainTable.cloneNode(true));
    if(baseImg[0] == 'yes'){ newCellB.appendChild(bImg.cloneNode(true)); }
    var tbodA = newCellA.getElementsByTagName('table')[0].firstChild;
    var tbodB = newCellB.getElementsByTagName('table')[0].firstChild;
    tbodA.appendChild(riTable[a].rows[1].cloneNode(true));
    tbodB.appendChild(riTable[a].rows[1].cloneNode(true));
    tbodA.parentNode.rows[0].cells[2].firstChild.firstChild.innerHTML = cNames[0];
    tbodB.parentNode.rows[0].cells[2].firstChild.firstChild.innerHTML = cNames[1];
    for(b=0; b<riTable[a].rows.length; b++){
    if(riTable[a].rows[b].cells[0] && riTable[a].rows[b].cells[0].className == 'windowbg2' && riTable[a].rows[b].cells[1] && riTable[a].rows[b].cells[1].className == 'windowbg2'){
    if(riTable[a].rows[b].cells[0].innerHTML.match(/sticky/i) && riTable[a].rows[b].cells[2] && !riTable[a].rows[b].cells[2].innerHTML.match(/Announcement:/i)){
    var word = '<font size="2">Sticky:</font> '; var isStick = true; var stickies = true;
    }else if(riTable[a].rows[b].cells[2].innerHTML.match(/Announcement:/i)){
    var word = ''; var isStick = true; var stickies = true;
    }else{
    var word = ''; var isStick = false; var anyTopics = true;
    }
    riTable[a].rows[b].cells[2].innerHTML = word + riTable[a].rows[b].cells[2].innerHTML;
    if(isStick){
    tbodA.appendChild(riTable[a].rows[b].cloneNode(true));
    }else{
    tbodB.appendChild(riTable[a].rows[b].cloneNode(true));
    }
    riTable[a].rows[b].style.display = 'none';
    }
    }
    tbodA.appendChild(riTable[a].rows[0].cloneNode(true));
    tbodB.appendChild(riTable[a].rows[0].cloneNode(true));
    riTable[a-1].rows[0].style.display = 'none';
    if(stickies || anyTopics){
    newCellA.style.display = (stickies) ? '' : 'none';
    newCellB.style.display = (anyTopics) ? '' : 'none';
    }else{
    newCellA.style.display = 'none';
    var nCell = tbodB.parentNode.insertRow(1).insertCell(0);
    nCell.className = 'windowbg'; nCell.align = 'center';
    nCell.colSpan = 7; nCell.style.fontStyle = 'italic';
    nCell.style.fontSize = '12px';
    nCell.appendChild(document.createTextNode('There are no topics in this board.'));
    }
    break;
    }
    }
    }

	/*=== Edit These ===*/
	var riHead = 'http://i92.photobucket.com/albums/l14/Perishingflames/Flamethrower/Head.png'; // Enter in the URL of the head image
	var riBase = 'http://i92.photobucket.com/albums/l14/Perishingflames/Flamethrower/Base.png'; // Enter in the URL of the base image

	/*=== Do Not Edit ===*/
	var riTable = document.getElementsByTagName('table');
	if(location.href.match(/board=(.+?)$/i) && !location.href.match(/(action|thread)=/i)){
	for(a=0; a<riTable.length; a++){
	if(riTable[a].cellSpacing == 1 && riTable[a].cellPadding == 4 && riTable[a].rows[0].cells[0].innerHTML.match(/Sub-Boards/i)){
	riTable[a-1].style.backgroundColor = 'transparent'; riTable[a].className = 'bordercolor';
	var headDiv = document.createElement('div'); var baseDiv = document.createElement('div');
	var headerImg = document.createElement('img'); var baserImg = document.createElement('img');
	headerImg.src = riHead; headDiv.appendChild(headerImg);
	baserImg.src = riBase; baseDiv.appendChild(baserImg);
	riTable[a].parentNode.insertBefore(headDiv,riTable[a]);
	riTable[a].parentNode.insertBefore(baseDiv,riTable[a].nextSibling);
	}
	}
	}


	/*=== Edit These ===*/
	var headImage = 'http://i92.photobucket.com/albums/l14/Perishingflames/Flamethrower/Head.png'; // URL of head image
	var baseImage = 'http://i92.photobucket.com/albums/l14/Perishingflames/Flamethrower/Base.png'; // URL of base image
	var gapArea = 30; // Height of gap between posts

	/*=== Do Not Edit ===*/
	var riTable = document.getElementsByTagName('table');
	var newHTMLtop = "<img src='"+headImage+"' /><table width='100%' cellspacing='1' cellpadding='4' border='0' class='bordercolor'>";
	var newHTMLbottom = "</table><img src='"+baseImage+"' />";
	var newHTMLmid = "<div style='height:"+gapArea+"px;'></div>";
	var newHTML = '';
	if(location.href.match(/action=display/i)){
	    for(a=0; a<riTable.length; a++){
	        if(riTable[a].cellSpacing == 1 && riTable[a].cellPadding == 4 && riTable[a].rows[0].cells[0].colSpan == 2){
	            for(b=0; b<riTable[a].rows.length; b++){
	                if(riTable[a].rows[b].cells[0].colSpan == 2 && riTable[a].rows[b].cells[0].className == 'titlebg' && riTable[a].rows[b+1].cells[0].className.match(/(cat|title)bg/i)){
	                    if(riTable[a].rows[b+1].cells[0].innerHTML.match(/Poll/i)){
	                        riTable[a].rows[b].style.display = 'none';
	                        riTable[a].rows[b+3].style.display = 'none';
	                        newHTML += '<br/>' + newHTMLtop + '<tr>' + riTable[a].rows[b].innerHTML + '</tr>';
	                    }else{
	                        riTable[a].rows[b].style.display = 'none';
	                        riTable[a].rows[b+1].style.display = 'none';
	                        newHTML += newHTMLtop + '<tr>' + riTable[a].rows[b].innerHTML + '</tr>';
	                    }
	                }
	                if(riTable[a].rows[b].cells[0].width == '20%' && riTable[a].rows[b].cells[0].className != 'catbg'){
	                    riTable[a].rows[b].style.display = 'none';
	                    newHTML += '<tr>' + riTable[a].rows[b].innerHTML + '</tr>';
	                    if(riTable[a].rows[b+1].cells[0].className == 'titlebg'){
	                        riTable[a].rows[b+1].style.display = 'none';
	                        newHTML += '<tr>' + riTable[a].rows[b+1].innerHTML + '</tr>' + newHTMLbottom;
	                        if(riTable[a].rows[b+2]){
	                            riTable[a].rows[b+2].style.display = 'none';
	                            newHTML += "<br/><br/><table width='100%' cellspacing='1' cellpadding='4' border='0' class='bordercolor'><tr>";
	                            newHTML += riTable[a].rows[b+2].innerHTML;
	                            newHTML += "</tr></table>";
	                            break;
	                        }else{
	                            break;
	                        }
	                    }else{
	                        newHTML += newHTMLbottom + newHTMLmid + newHTMLtop;
	                    }
	                }
	            }
	            riTable[a].className = 'bordercolor';
	            riTable[a-1].style.backgroundColor = 'transparent';
	            var tehNewCell = riTable[a-1].insertRow(1).insertCell(0);
	            tehNewCell.innerHTML = newHTML;
	            break;
	        }
	    }
	}