function bottomMenuSelect()
{
    $( this ).parent().addClass( 'selected' );
}

function bottomMenuDeselect()
{
    $( this ).parent().removeClass( 'selected' );
}

$( function(){ $( '.bottom-menu td > a' ).mouseover( bottomMenuSelect ); } );
$( function(){ $( '.bottom-menu td > a' ).mouseout( bottomMenuDeselect ); } );