function switchHighl(e)
{
	var evt = e || window.event;
	var target = evt.target || evt.srcElement;
	
	var highl = target.getAttribute("highl");
	target.setAttribute("highl", target.src);
	target.src = highl;
}

function initHighl()
{
	images = document.getElementsByTagName("img");
	for (var x = 0; x < images.length; x++)
	{
		if (images[x].getAttribute("highl"))
		{
			addEvent(images[x], "mouseover", switchHighl)
			addEvent(images[x], "mouseout", switchHighl)
		}
	}
}

addEvent(window, "load", initHighl)