﻿(function($) {
    $.fn.setWidthEqual = function() {
        var maxSelectWith = 0;
        $(this).each(function() {
            if (maxSelectWith < $(this).width()) {
                maxSelectWith = $(this).width();
            }
        });
        $(this).each(function() {
            $(this).css("width", maxSelectWith);
        });
    };
})(jQuery);