(function($) {
    $.altBlock = {
        defaults: {
            
        }
    }  
    $.fn.extend({
        altBlock:function(config) {
            var config = $.extend({}, $.altBlock.defaults, config);
            return this.each(function() {
                var theImage    = $(this),
                    removealt = config.removealt,
                    theFontSizeValue = config.thefontSize;
                theImage
                    .wrap("<div class='altImage'>")
                    .parent()
                    .append("<div>&nbsp;</div>")
                    .find("div")
                    .html(theImage.attr('alt'))
            })
        }
    })
})(jQuery);