// JavaScript Document
window.onload = function()
  {
	//give the menu's an onmouseover event and onmouseout event.
	var li = document.getElementById("top-navigation").getElementsByTagName('li');
	for (var i = 0; i < li.length; ++i) {
		addMenuHandlers(li[i]);
		if(!li[i].className) addMenuOverState(li[i]);		
	} 
	//Adjust the left and right page so both columns are equal height
	intLeft = document.getElementById("interior-left");
	intRelated = document.getElementById("interior-related");
	intRelBottom = document.getElementById("interior-related-bottom");
	// If the left part of the page is longer then the right, adjust the right side of the page so that it matches
	if (intLeft.clientHeight > intRelated.clientHeight) {
		intRelDiff = intRelated.clientHeight - intRelBottom.clientHeight;
		intRelated.style.height = intLeft.clientHeight + 'px';
		intRelBottom.style.height = (intLeft.clientHeight - intRelDiff) + 'px';
	} else { // if the right side of the page is longer, adjust the content part
		intLeft.style.height = intRelated.clientHeight + 'px';
	}
  }
