var maxHeight = function(classname) {
var divs = document.getElements('div.' + classname);
var max = 0;
divs.each(function(div) {
	max = Math.max(max, div.getSize().size.y);
});
divs.setStyle('height', max -15);
return max;
}


window.addEvent('load', function() {
maxHeight('equal1');
maxHeight.delay(100, maxHeight, 'equal1');
maxHeight.delay(100, maxHeight, 'equal2');
//maxHeight.delay(100, maxHeight, 'equal3');
maxHeight.delay(100, maxHeight, 'equalmain');
});
