+ $j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
+
+ collapseHeight();
+
+ });
+ }
+
+ function collapseHeight(elems) {
+ var elemName = '.wall-item-body:not(.divmore)';
+ if(typeof elems != 'undefined') {
+ elemName = elems + ' ' + elemName;
+ }
+ $j(elemName).each(function() {
+ if($j(this).height() > 450) {
+ $j('html').height($j('html').height());
+ $j(this).divgrow({ initialHeight: 400, showBrackets: false, speed: 0 });
+ $j(this).addClass('divmore');
+ $j('html').height('auto');
+ }