//begin dropdown menu
var timeOutDelay = 10;
var timeOuts = Array();

function showSubMenu(id) {
  clearTimeout(timeOuts[id]);
  document.getElementById(id).style.display = "block";
}

function closeSubMenu(id) {
  timeOuts[id] = setTimeout("hideSubMenu('" + id + "');", timeOutDelay);
}

function hideSubMenu(id) {
  document.getElementById(id).style.display = "none";
}

//other functions
function readMore(readMoreText) {
  document.getElementById("lowerSeparator").style.width = "685px";
  document.getElementById("contentText").innerHTML = readMoreText;
}
