<!--
var pathname = "http://imusion.net/forumskins/pb/11/";
var img = document.getElementsByTagName("img");

var pbimages = new Array();
pbimages[0] = new Array("on.gif","folders/on.gif");
pbimages[1] = new Array("off.gif","folders/off.gif");
pbimages[2] = new Array("info.gif","misc/info.gif");
pbimages[3] = new Array("online.gif","misc/online.gif");
pbimages[4] = new Array("home.gif","menu/home.jpg");
pbimages[5] = new Array("help.gif","menu/help.jpg");
pbimages[6] = new Array("search.gif","menu/search.jpg");
pbimages[7] = new Array("members.gif","menu/members.jpg");
pbimages[8] = new Array("calendar.gif","menu/calendar.jpg");
pbimages[9] = new Array("admin.gif","menu/admin.jpg");
pbimages[10] = new Array("profile.gif","menu/profile.jpg");
pbimages[11] = new Array("logout.gif","menu/logout.jpg");
pbimages[12] = new Array("search2.gif","messageicons/search.gif");
pbimages[13] = new Array("markasread.gif","messageicons/markasread.gif");
pbimages[14] = new Array("newthread.gif","messageicons/newthread.gif");
pbimages[15] = new Array("newpoll.gif","messageicons/newpoll.gif");
pbimages[16] = new Array("advancedmoderation.gif","messageicons/modcp.gif");
pbimages[17] = new Array("adminfunctions.gif","messageicons/admincp.gif");
pbimages[18] = new Array("movetopic.gif","messageicons/move.gif");
pbimages[19] = new Array("removetopic.gif","messageicons/deletetopic.gif");
pbimages[20] = new Array("newthread.gif","messageicons/newthread.gif");
pbimages[21] = new Array("lockunlock.gif","messageicons/lockunlock.gif");
pbimages[22] = new Array("buttons/sticky.gif","messageicons/sticky.gif");
pbimages[23] = new Array("buttons/stickylock.gif","messageicons/stickylock.gif");
pbimages[24] = new Array("bump.gif","messageicons/bump.gif");
pbimages[25] = new Array("thread.gif","folders/folder.gif");
pbimages[26] = new Array("buttons/lock.gif","messageicons/lock.gif");
pbimages[27] = new Array("v4images/stickylock.gif","folders/stickylocked.gif");
pbimages[28] = new Array("v4images/sticky.gif","folders/sticky.gif");
pbimages[29] = new Array("v4images/locked.gif","folders/locked.gif");
pbimages[30] = new Array("bookmark.gif","messageicons/bookmark.gif");
pbimages[31] = new Array("reply.gif","messageicons/reply.gif");
pbimages[32] = new Array("sendtopic.gif","messageicons/sendtopic.gif");
pbimages[33] = new Array("print.gif","messageicons/print.gif");
pbimages[34] = new Array("lockpoll.gif","messageicons/lockpoll.gif");
pbimages[35] = new Array("viewpollvoters.gif","messageicons/viewpollvoters.gif");
pbimages[36] = new Array("quote.gif","messageicons/quote.gif");
pbimages[37] = new Array("modify.gif","messageicons/edit.gif");
pbimages[38] = new Array("delete.gif","messageicons/delete.gif");
pbimages[39] = new Array("unlock.gif","messageicons/unlock.gif");
pbimages[40] = new Array("makeannouncement.gif","messageicons/markannouncement.gif");
pbimages[41] = new Array("starred.gif","stars/admin.gif");
pbimages[40] = new Array("login.gif","menu/login.jpg");
pbimages[41] = new Array("register.gif","menu/register.jpg");

for(i=0;i<img.length;i++)
{
	for(x=0; x<pbimages.length; x++)
	{
		if(img[i].src.match("/" + pbimages[x][0]))
		{
			img[i].src = pathname + pbimages[x][1];
		}
	}
}

function getElementsByClass(searchClass, node, tag) {
	var classElements = new Array();
	if ( node == null )
		node = document;
	if ( tag == null )
		tag = '*';
	var els = node.getElementsByTagName(tag);
	var elsLen = els.length;
	var pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)");
	for (i = 0, j = 0; i < elsLen; i++) {
		if ( pattern.test(els[i].className) ) {
			classElements[j] = els[i];
			j++;
		}
	}
	return classElements;
}

var headerlogo = getElementsByClass("welcomebg");

var headerlogohtml = "<img src=\"http://imusion.net/forumskins/pb/11/misc/banner.jpg\" width=\"728\" height=\"150\" border=\"0\" />";
headerlogo[0].innerHTML = headerlogohtml;

/* Created by Hechizero
Dividing Categories with Option to Add Head and Base Images v1.0 B - Edited to make it work with PBv4
This code may not redistributed without the express permission from its creator.
This header must stay intact at all times. */

var NewsFaderSettings=['yes','http://imusion.net/forumskins/pb/11/header7qp.jpg','yes','http://imusion.net/forumskins/pb/11/footer5qu.jpg'];
var CategoriesSettings=['yes','http://imusion.net/forumskins/pb/11/header7qp.jpg','yes','http://imusion.net/forumskins/pb/11/footer5qu.jpg','15px'];
var InfoCenterSettings=['yes','http://imusion.net/forumskins/pb/11/header7qp.jpg','yes','http://imusion.net/forumskins/pb/11/footer5qu.jpg'];

if (window.location.href.match(/\.com(\/(index\.cgi(\?(action=home)?|#\w+)?)?)?$/i)) {
function ReturnCategory (cloneT,wantedCat) {
var deleteMore=false;
for (var i=cloneT.rows.length-1,z=0;i>0;i--) {
if (cloneT.rows[i].cells[0].className=='catbg') {
if (cloneT.rows[i].cells[0].getElementsByTagName('b').length>0) {
if (z==wantedCat) {
deleteMore=true;
} else {
cloneT.deleteRow(i);
}
z++;
} else {
cloneT.deleteRow(i);
}
} else {
if (deleteMore || z<wantedCat) {
cloneT.deleteRow(i);
}
}
}
return cloneT;
}

function AppendImage (AppendType,ImageSRC,Container,BeforeMe) {
var newImage=document.createElement('img');
newImage.src=ImageSRC;
if (AppendType=='append') {
Container.appendChild(newImage);
} else if (AppendType=='insert') {
Container.parentNode.insertBefore(newImage,BeforeMe);
}
}

var EnablePattern=/^yes$/i;
var tables=document.getElementsByTagName('table');
for (var h=0;h<tables.length;h++) {
if (tables[h].width=='100%' && tables[h].cellPadding==tables[h].cellSpacing && tables[h].className=='bordercolor' && tables[h].getElementsByTagName('table').length>0) {
var TableAncestor=tables[h];
var OriginalTable=tables[h].getElementsByTagName('table')[0];
switch (OriginalTable.rows[0].cells[0].getElementsByTagName('b')[0].innerHTML) {
case 'News' :
if (EnablePattern.test(NewsFaderSettings[0])) {
AppendImage('insert',NewsFaderSettings[1],TableAncestor,TableAncestor);
}
if (EnablePattern.test(NewsFaderSettings[2])) {
AppendImage('insert',NewsFaderSettings[3],TableAncestor,TableAncestor.nextSibling);
}
break;
case 'Forum Name' :
TableAncestor.className='';
TableAncestor.style.backgroundColor='transparent';
OriginalTable.className='bordercolor';
OriginalTable.parentNode.style.display='none';
TableAncestor.insertRow(0).insertCell(0).style.height=CategoriesSettings[4];
for (var e=1,c=0;e<OriginalTable.rows.length;e++) {
if (OriginalTable.rows[e].cells[0].className=='catbg' && OriginalTable.rows[e].cells[0].getElementsByTagName('b').length>0) {
var newC=TableAncestor.insertRow(0).insertCell(0);
if (EnablePattern.test(CategoriesSettings[0])) {
AppendImage('append',CategoriesSettings[1],newC);
}
newC.appendChild(ReturnCategory(OriginalTable.cloneNode(true),c));
if (EnablePattern.test(CategoriesSettings[2])) {
AppendImage('append',CategoriesSettings[3],newC);
}
newC=TableAncestor.insertRow(0).insertCell(0);
newC.style.height=CategoriesSettings[4];
c++;
}
}
TableAncestor.deleteRow(TableAncestor.rows.length-1);
break;
case 'Info Center' :
if (EnablePattern.test(InfoCenterSettings[0])) {
AppendImage('insert',InfoCenterSettings[1],TableAncestor,TableAncestor);
}
if (EnablePattern.test(InfoCenterSettings[2])) {
AppendImage('insert',InfoCenterSettings[3],TableAncestor,TableAncestor.nextSibling);
}
break;
}
}
}
}

/*
Code by Adrian - http://www.planetveldin.com/
Don't re-post this code without the owner's permission
Global Footer
*/
function mouseOverHighlightCell(tcell){tcell.style.backgroundColor="272727";}function mouseOutHighlightCell(tcell){tcell.style.backgroundColor="";}

document.write("<a href=\"http://imusion.net\" target=\"_blank\">ProBoards Skin Redistributed by Imusion.net</a></td></tr><tr><td align='center' valign='top'><img src='"+Bot+"'></td></tr></table>");

var gS=document.body.getElementsByTagName('select');
for(s=0;s<gS.length;s++){
if(gS[s].innerHTML.match(/Forum\sJump/)){
gS[s].style.display='none';
}}
// -->
