var site = function() {
  this.navLi = $('#nav li').children('ul').hide().end();
  this.init();
};

site.prototype = {
   
   init : function() {
     this.setMenu();
   },

   setMenu : function() {
   
     this.navLi.hover(function() {
       // mouseover
      $(this).find('> ul').stop(true, true).slideDown('slow', 'easeOutBounce');
     }, function() {
       // mouseout
       $(this).find('> ul').stop(true, true).hide();
    });
   }
}

new site();
