function imageSwap(daImage, daSrc)
{
  // Check to make sure that images are supported in the DOM.
  if(document.images)
  {
    var objStr,obj;
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string')
    {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    }
    else if ((typeof(daImage) == 'object') && daImage && daImage.src)
    {
      daImage.src = daSrc;
    }
  }
}

function toggle(toggleId, e)
{
 if (!e)
 {
  e = window.event;
 }
 if (!document.getElementById)
 {
  return false;
 }

 var body = document.getElementById(toggleId);
 if (!body)
 {
  return false;
 }

 if (body.style.display == 'none')
 {
  body.style.display = 'block';

 }
 else
 {
  body.style.display = 'none';
 }

 if (e)
 {
  // Stop the event from propagating, which
  // would cause the regular HREF link to
  // be followed, ruining our hard work.
  e.cancelBubble = true;
  if (e.stopPropagation)
  {
   e.stopPropagation();
  }
 }
}
