function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function adjustLayout()
{
  // Get natural heights
  var cHeight = xHeight("col1content");
  var lHeight = xHeight("col2content");
  var rHeight = xHeight("col3content");

  // Find the maximum height
  var maxHeight =
    Math.max(cHeight, Math.max(lHeight, rHeight));

  // Assign maximum height to all columns
  xHeight("col1content", maxHeight);
  xHeight("col2content", maxHeight);
  xHeight("col3content", maxHeight);

  // Show the footer
  xShow("footer");
}

window.onload = function()
{
  xAddEventListener(window, "resize", adjustLayout, false);
  adjustLayout();
}

function hideCountryPanels(){
	country1Obj = document.getElementById("country1");
	country1Obj.style.display = "none";
	country2Obj = document.getElementById("country2");
	country2Obj.style.display = "none";
}
	
function displayCountryPanel(countryId)
{
	// hide all country panels
	hideCountryPanels(); 
	//display selected country panel
	countryObj = document.getElementById("country" + countryId);
	countryObj.style.display = "";
}
