(function ($) {
    $.fn.Hoverable = function (selector) {
        return $(this).each(function () {
            var root = $(this);
            var attached = root.find(selector);

            attached.bind('mouseover', function () {
                root.addClass('Hover');
            }).bind('mouseout', function () {
                root.removeClass('Hover');
            }).bind('click', function () {
                window.location = root.find('a:first').attr('href');
            });

        });
    };

})(jQuery);