jQuery(function() {
    (function($) {
        /* show the latest upcoming webinar without minified class */
        $('.event.upcoming').last().removeClass('minified upcoming');
        $('.event.upcoming').mouseover(function() {
            $(this).stop(true, true).removeClass('minified', 'fast');
        }).mouseout(function() {
            $(this).stop(true, true).delay(1000).addClass('minified', 'fast');
        }).filter('.nospeaker').tooltip({
            bodyHandler:function() {
               return "This scheduled webinar does not yet have a speaker.<br/>" +
                       "To propose a speaker please " +
                       "contact us.";
            },
            track:true,
            delay:0
        });
    })(jQuery);
});
