// ==UserScript==
// @name           FatWallet Old-ifier v0.1
// @namespace      http://yellowbkpk.com/
// @description    This script will remove some of the new look that FatWallet
//                    has added to their website the week of June 19, 2006.
// @include        http://www.fatwallet.com/forums/*
// @include        http://www.fatwallet.com/t/*
// @include        http://www.fatwallet.com/c/*
// ==/UserScript==

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

/* Change some of the header styles. */
//addGlobalStyle('#mainnav { background:#000; width: 100%;}');
//addGlobalStyle('#mainnav UL { height:2em; }');
addGlobalStyle('#mainnav H1 { height:54px; }');
//addGlobalStyle('#mainnav A { color:#114411; font-size:0.9em; }');
addGlobalStyle('#forums_subnav { font-size:1.1em; color:#222; }');

/* Get rid of the search box. */
var tD;
var sB;
tD = document.getElementById('mainnav');
sB = tD.childNodes[5];
tD.removeChild(sB);
