function changetoDefault() {
	document.body.className = "";
	location.reload(true);
}

function changetoMedium() {
	document.body.className = "fontLarge";
}

function changetoLarge() {
	document.body.className = "fontLarger";
}

startList = function() {
  if (document.all&&document.getElementById) {
    navRoot = document.getElementById("tabs");
    for (i=0; i<navRoot.childNodes.length; i++) {
      node = navRoot.childNodes[i];
      if (node.nodeName == "LI") {
        node.onmouseover = function() {
          this.className += "active";
        }
        node.onmouseout = function() {
          this.className = this.className.replace("active", "");
        }
      }
    }
  }
}
window.onload = startList;

function levelTables()
{
	var i=1;
	var highest = 100;
	while(document.getElementById("contentbox_" + i))
	{
		var currentTable = document.getElementById("contentbox_" + i);
		if(currentTable.offsetHeight > highest)
		{
			highest = currentTable.offsetHeight;
		}
		i++;
	}
	i=1;
	while(document.getElementById("content_" + i))
	{
		var currentTable = document.getElementById("contentbox_" + i);
		var currentContent = document.getElementById("content_" + i);
		var differance = highest - currentTable.offsetHeight;
		currentContent.style.height = (currentContent.offsetHeight + differance) + "px";
		i++;
	}
}