$(function () {
    $('nav.top ul li ul').each(function () {
        var nav = $(this);
        $(this).parent().mouseenter(function (event) {
            $('nav.top ul li ul').hide();
            nav.show();
        });
        nav.mouseleave(function() {
            nav.hide();
        });
        /*$('.content').mouseover(function(event) {
            nav.fadeOut();
        });*/
    });
});
