var maxHeight = 0;
$('topics').getElementsByClassName('topic-text').each(function (e){ if ((h = e.getHeight()) > maxHeight) { maxHeight = h; } }).each(function (e){ e.setStyle({'height' : maxHeight+'px'}); });