// JavaScript Document
function sameHeight(divs) // Bring in an array of your divs
{
  var highest = 0;
  for(i = 0; i < divs.length; i++) // Loop through the divs
  {
    document.getElementById(divs[i]).style.height = "auto";
    // Check to see if this div is the highest?
    if(document.getElementById(divs[i]).offsetHeight > highest)
    {
      // Yes its the highest so set the highest value to this div’s height
      highest = document.getElementById(divs[i]).offsetHeight;
    }
  }
  // Loop through all divs again
  for(i = 0; i < divs.length; i++)
  {
    // Set all divs height to the highest value
	if(divs[i] == "menu")
	{
		highest = highest + 48;
    	document.getElementById(divs[i]).style.height = highest+"px";
	}
	else
	{
		document.getElementById(divs[i]).style.height = highest+"px";
	}
  }
}

window.onload=function(){
	sameHeight(new Array('content', 'menu'));
}
