

// Function hiLite by Mike Carter
// copyright 2001 endeavor consulting       www.endeavorconsulting.com    
// you may copy, modify, and use this script provided that these comments
// including the copyright notice and and web address above remain attached 

function hiLite(imgDocID) 
{
imageTagTemp=document.images[imgDocID].src
if (imageTagTemp.indexOf(".gif") != -1)
{ if (imageTagTemp.indexOf("HL.") != -1)
    { newImageRef=imageTagTemp.replace(/HL\.gif/, ".gif"); }
  else
    { newImageRef=imageTagTemp.replace(/\.gif/, "HL.gif"); }
}
else
{ if (imageTagTemp.indexOf("HL.") != -1)
    { newImageRef=imageTagTemp.replace(/HL\.jpg/, ".jpg"); }
  else
    { newImageRef=imageTagTemp.replace(/\.jpg/, "HL.jpg"); }
}
document.images[imgDocID].src = newImageRef
}


// Function resetHiLite by Mike Carter
// copyright 2001 endeavor consulting       www.endeavorconsulting.com    
// you may copy, modify, and use this script provided that these comments
// including the copyright notice and and web address above remain attached 

function resetHiLite() 
{ for (checkImage in document.images) 
  { imageTagTemp=checkImage.src
    if (imageTagTemp.indexOf("HL.") != -1)
    { if (imageTagTemp.indexOf(".gif") != -1)
      { newImageRef=imageTagTemp.replace(/HL\.gif/, ".gif"); }
      else
      { newImageRef=imageTagTemp.replace(/HL\.jpg/, ".jpg"); }
      checkImage.src = newImageRef }
  }
}

