﻿; (function($) {

    $.fn.homeGrow = function() {

        return this.each(function() {

            $(this).css({ overflow: "hidden" });

            $(this).bind("keyup focus", function() {

                while (this.scrollHeight > this.clientHeight && this.rows < 25)
                    this.rows++;

                if (this.rows == 25)
                    $(this).css({ overflow: "auto" });
            });

        });

    }

})(jQuery);
