var
maxHeight = 0;
$(
"div"
).each(
function
()
{
if
($(
this
).height() > maxHeight)
maxHeight = $(
).height();
}
);
).height(maxHeight);