/* Seacure - jQuery Code */
/* Developed by DuroMedia */
/* Developer: Adam Duro */

$(document).ready(function(){
    
    $('#nav ul').menu({
        showDelay: 200,
        hideDelay: 500,
        switchDelay: 300,
        show: function() {
            $(this).addClass('show');
            if ($(this).css('visibility') != 'visible') {
                $(this).css("visibility", "visible").hide().show('slow');
            }
                
            return false;
        },
        hide: function() {
            $(this).attr('hide', 'true');
            $(this).hide('slow', function(){
                $(this).css("visibility", "hidden");
            });
                
            return false;
        }
    });
    
});