$(document).ready(function() {
    var brand = $('.brand > ul:first');
    brand.find('ul').css({display: 'none'});
    brand.find('.menu').bind('mouseover', function() {
        var ul = $(this).next('ul:first');
        if (!ul.hasClass('open')) {
            ul.addClass('open').slideDown();
            brand.find('ul.open:not(:animated)').each(function() {
                if ($.data(ul[0]) != $.data(this)) {
                    $(this).removeClass('open').slideUp();
                }
            });
        }
    });
    brand.find('.menu').bind('click', function() { return false; });
    $('.sprite').each(function() {
        $(this).attr('title', $(this).text());
    });
});

