function menuItemHit( elementObj )
{
    if( document.getElementById(elementObj.id).className == 'depressed' )
    {
        // this is the depressed button already, no need to press it again
        return;
    }
    
    switch( elementObj.id )
    {
        case "menu_home":     window.location = "index.php"; break;
        case "menu_events":   window.location = "events.php"; break;
        case "menu_contact":  window.location = "contact.php"; break;
        case "menu_pictures": window.location = "pictures.php"; break;
        case "menu_sponsors": window.location = "sponsors.php"; break;
        default: break;
    }
}
function onLoadFunc( idToDepress )
{
    var elmDiv = document.getElementById(idToDepress);
    if( elmDiv )
    {
        elmDiv.className = 'depressed';
    }
}
