function addLoadEvent(func)
{
  var oldonload = window.onload;
  if (typeof window.onload != 'function')
    window.onload = func;
  else
  {
    window.onload = function()
    {
      oldonload();
      func();
    };
  }
}

addLoadEvent(setupTheOnMouseOvers);

function theNameMouseOver()
{
  var thisId = this.id;
  /* was:  document.getElementById('staff').className = thisId;*/
  document.getElementById('container').className = thisId;
}

function setupTheOnMouseOvers()
{
  var names, i;
  // loop through all name items
  // would like: names = document.getElementsByClassName('name');
  // but IE doesn't do that!  so...
  {
    var goober = document.getElementById('content_first');
    names = goober.getElementsByTagName('div');
  }
  for(i=0; i < names.length; ++i)
  {
    names[i].onmouseover = theNameMouseOver;
  }
};
