// These functions deal with the magically delicious comments forms
function clearDat(target, rubbish)
{
    if (target.value == rubbish) target.value = '';
}

function spewDat(target, rubbish)
{
    if (target.value == '') target.value = rubbish;
}

// This alters one of the header graphics that doesn't always fit in with the rest of the kids
function hideTheMoney()
{
    document.getElementById('sidetop').src = 'gfx/bg_sidetop2.gif';
}

// Show full comment
function bustDisOut(id)
{
    document.getElementById("short" + id).style.display = 'none';
    document.getElementById("mondo" + id).style.display = 'block';
}

// Yay, let's open menus n' stuff
function navopen(target)
{
    if (obj = document.getElementById(target))
    {
        if (obj.style.display == 'none')
        {
            obj.style.display = '';
        } else {
            obj.style.display = 'none';
        }
    }
}