function over(dadiv)
{
    var styleObj = dadiv.style;
    styleObj.backgroundColor = '#FFFFFF';
    styleObj.color = '#000000';
    styleObj.backgroundImage = 'url(images/buttonbg_ovr.gif)';
    document.getElementById(dadiv.className).style.color = '#000000';
    window.status = dadiv.className;
}

function out(dadiv)
{
    var styleObj = dadiv.style;
    styleObj.backgroundColor = '#F0D7BD';
    styleObj.color = '#FFFFFF';
    styleObj.backgroundImage = 'url(images/buttonbg.gif)';
    document.getElementById(dadiv.className).style.color = '#000000';
    window.status = '';
}

// IE work around for NOT obeying right: css property
function resizeContent()
{
    // If not IE nothing needs to be fixed
    if (!document.all) { return; }
    var contentDiv = document.getElementById('content');
    contentDiv.style.width = document.documentElement.offsetWidth - (155+20+15);
}

var images=new Array()
function preloadimages()
{
    for (i=0;i<preloadimages.arguments.length;i++) {
        images[i]=new Image();
        images[i].src=preloadimages.arguments[i];
    }
}