// Parameter
// imgName is the name of the element.  It must have the same name as the image file without the '_on.gif' or
// '_off.gif' extension
//  on is a boolean that indicates whether to turn the image off or on.


function highlightImage(imgName, on)
{
// ignoreElement is set in each page at the top as a global variable for the document
	if (ignoreElement == imgName) {
		return;
	}
	if (on == true)
//		eval("document." + layerRef + "images[imgName].src = " + "/images/" + imgName + "_on.gif")
		document.images[imgName].src = '/images/' + imgName + '_on.gif';
	else
//		eval("document." + layerRef + "images[imgName].src = " + "/images/" + imgName + "_off.gif")
		document.images[imgName].src = '/images/' + imgName + '_off.gif';
}




