 $.fn.pulse =  function(time)

{
    if (!time)

      time = 400;

    // this == jQuery object that contains selections

    this.fadeTo(time,0.75,

                function() {

                    $(this).fadeTo(time,1);

                });

    return this;

}

$(function(){


   //bounce
             $('.bigbutton').click(function () {
                        $(this).effect("bounce", { times:5 }, 300);
            });
   //category hover
      $(".bigbutton").hover(function(){
      $(this).stop().animate({opacity: 0.6}, 400);
      },function(){
      $(this).stop().animate({opacity: 1.0}, 400);
      });

   //logo hover
      $("#logo").mouseover(function(){
      $(this).stop().pulse();
      });



         });
