tables = document.getElementsByTagName('table');
for(t=0;t<tables.length;t++){
if(tables[t].width=="92%"){
tables[t].width = '710'; }}

//Highlight color
var highlightColor = '06669a';

//0 to link to profile, 1 to link to thread
var linkTarget = '0';

icell = document.getElementsByTagName('TD');
for(t=0;t<icell.length;t++) {
if (icell[t].className=="windowbg2" && icell[t].width=="24%") {
icell[t].onmouseover = function(){this.style.cursor='pointer';this.style.backgroundColor=highlightColor;};
icell[t].onmouseout = function(){this.style.backgroundColor=this.bgColor;};
icell[t].onclick = function(){location = this.getElementsByTagName('a')[linkTarget].href;};}
if(location.href.match(/board=/) && !location.href.match(/action=display/)){
if (icell[t].className=="windowbg2" && icell[t].width=="20%") {
icell[t].onmouseover = function(){this.style.cursor='pointer';this.style.backgroundColor=highlightColor;};
icell[t].onmouseout = function(){this.style.backgroundColor=this.bgColor;};}}}

function doRollOver(oldsrc, newsrc, title){
    var img = {
       oldsrc: null,
       oldtitle: null 
    };
    var iImg = document.getElementsByTagName("img");
    for(i = 0; i < iImg.length; i ++){
       if(iImg.item(i).src.match(new RegExp(oldsrc))){
          iImg.item(i).onmouseover = function(){
             img.oldsrc = this.src;
             img.oldtitle = this.alt;
             this.src = newsrc;
             this.title = title;
          }
          iImg.item(i).onmouseout = function(){
             this.src = img.oldsrc;
             this.title = img.oldtitle;
          } 
       }
    }
}

doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/home_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/home_2.jpg", "Home");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/help_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/help_2.jpg", "Help");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/find_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/find_2.jpg", "Search");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/events_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/events_2.jpg", "Events");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/users_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/users_2.jpg", "Users");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/admin_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/admin_2.jpg", "Admin CP");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/usercp_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/usercp_2.jpg", "Profile");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/logout_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/logout_2.jpg", "Logout");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/login_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/login_2.jpg", "Login");
doRollOver("http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/signup_1.jpg", "http://i92.photobucket.com/albums/l14/Perishingflames/Nitrix/signup_2.jpg", "Sign Up");
doRollOver

document.write("</td></tr><tr><td><img src='"+bgbottom+"' border='0' /></table>");