function highlightSection(sectionName) {
  if (document.getElementById) {
    sectionArea = document.getElementById(sectionName);
    var coords = sectionArea.coords.split(",");
    var clipVal = "rect(" + coords[1] + "px " +
      coords[2] + "px " +
      coords[3] + "px " +
      coords[0] + "px)";
    imgStyle = document.getElementById("menuDown").style;
    imgStyle.clip = clipVal;;
    imgStyle.visibility = "visible";
  }
}


function initMaps() {
   if (document.getElementById) {
      var mapIds = initMaps.arguments;    // pass string IDs of containing map elements
      var i, j, area, areas;
      for (i = 0; i < mapIds.length; i++) {
        areas = document.getElementById(mapIds[i]).getElementsByTagName("area");

        for (j = 0; j < areas.length; j++) {  // loop thru area elements
           area = areas[j];
//           area.onmousedown = imgSwap;    // set event handlers
           area.onmouseout = imgSwap;
           area.onmouseover = imgSwap;
//           area.onmouseup = imgSwap;
        }
      }
   }
}

// image swapping event handling
function imgSwap(evt) {
  evt = (evt) ? evt : event;                   // equalize event models
  var elem = (evt.target) ? evt.target : evt.srcElement;
  var imgClass = elem.parentNode.name;         // get map element name
  if (elem.name != null) {                   // If imagemap area has name it has submenu
    var submenu = elem.name + "menuBox";
  }
  else {
    var submenu = null;
  }
  var coords = elem.coords.split(",");         // convert coords to clip
  var clipVal = "rect(" + coords[1] + "px " +
                         coords[2] + "px " +
                         coords[3] + "px " +
                         coords[0] + "px)";
  var imgStyle;
  
  switch (evt.type) {
    /*      case "mousedown" :
    imgStyle = document.getElementById(imgClass + "Down").style;
    imgStyle.clip = clipVal;
    imgStyle.visibility = "visible";
    break; */
    case "mouseout" :
      document.getElementById(imgClass + "Over").style.visibility = "hidden";
//      if (currentMenu != "none") gohide();
  //         document.getElementById(imgClass + "Down").style.visibility = "hidden";
      break;
    case "mouseover" :
      imgStyle = document.getElementById(imgClass + "Over").style;
      imgStyle.clip = clipVal;
      imgStyle.visibility = "visible";
      if (submenu != null)
        showmenu(submenu);
/*      else
        gohide(); */
      break
  /*     case "mouseup" :
      document.getElementById(imgClass + "Down").style.visibility = "hidden";
      break;*/
  }
  evt.cancelBubble = true;
  return false;
} 


// Submenu functions
var submenuTimerID = null;
var submenuTimerRunning = false;

currentMenu = "none"; // Assign no submenu by default

function showmenu(which) {

  if (submenuTimerRunning) clearTimeout(submenuTimerID);

// If there is a previous submenu and it's not the one to be shown, hide it
  if (currentMenu != "none" && currentMenu != which) {
    document.getElementById(currentMenu).style.visibility = "hidden";
  }
  
// Show the new submenu and assign it to be "current"
  if (submenuObj = document.getElementById(which)) {
    submenuObj.style.visibility = "visible";
    currentMenu = which;
  }
  else {
    currentMenu = "none";
  }
  return true;
}


// Hide the current submenu

function gohide() {
  if (submenuTimerRunning) clearTimeout(submenuTimerID);
  
  submenuTimerID = window.setTimeout("hidemenu()", 300);
  submenuTimerRunning = true;
  return true;
}

function hidemenu() {
  if (currentMenu != "none") {
    document.getElementById(currentMenu).style.visibility = "hidden";
  }
  return true;
}

//Use to expand and collapse a section and its 'hide' button 
function Expand(i) 
	{
  	var sumID = i;
	var sumName = document.getElementById(sumID);
	sumName.style.display ="block";
	var sumID = i + 'a';
	var sumName = document.getElementById(sumID);
  	sumName.style.display ="block";
	}

function Collapse(i) 
{
  	var sumID = i;
	var sumName = document.getElementById(sumID);
  	sumName.style.display ="none";
	var sumID = i + 'a';
	var sumName = document.getElementById(sumID);
  	sumName.style.display ="none";
}

//Send random photos to the top graphic's two oblong images
function Oblong()
{
var aryimages = new Array('images/daleandsigmund.jpg','images/CouncelDev.jpg','images/xmas.jpg','images/chalkcampaign.jpg','images/GA.jpg','images/loyola.jpg','images/EV.jpg','images/webcom.jpg','images/GM-EV.jpg','images/councelling.jpg','images/SP-building-entrance.gif','images/Small-Science-bldg.gif','images/peoplerally.jpg');
var oblong1 = aryimages[Math.floor(Math.random() * aryimages.length)];
return oblong1;
{