Yo probé con la siguiente página y hace lo que debería (al menos eso creo...):
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<style type="text/css">
#izquierda {
width: 200px;
height: 200px;
border: 1px solid #f00;
float: left;
}
#centro {
border: 1px solid #0f0;
float: left;
}
</style>
</head>
<body>
<div id="izquierda"></div>
<div id="centro">dsfasdfasdfadsfsdafsadkfjsadkljfhkadsjfhkasdj</div>
<script type="text/javascript">
window.onload = function() {
uno = document.getElementById('izquierda');
dos = document.getElementById('centro');
finalheight = Math.max(uno.offsetHeight, dos.offsetHeight);
uno.style.height = dos.style.height = finalheight + 'px';
};
</script>
</body>
</html>
Probablemente sea porque te falta un paréntesis en "finalheight = Math.max(uno.offsetHeight, dos.offsetHeight"
Saludos