function imgHighlight (elm) {
	elm.src = elm.src.replace (/but/, "bhl");
}
function imgUnhighlight (elm) {
	elm.src = elm.src.replace (/bhl/, "but");
}

var iLightTop = 0;
var iLightBot = 0;
var tmrLight = 0;
var opcLight = 0;
function outLight() {
	if (++opcLight == 100) {
		clearInterval(tmrLight);
		setTimeout ("tmrLight=setInterval('inLight()', 50)", 2000);
	}
	document.getElementById("imgLightTop").style.filter = "Alpha(opacity="+opcLight+",finishopacity="+opcLight+",style=3)";
	document.getElementById("imgLightBot").style.filter = "Alpha(opacity="+opcLight+",finishopacity="+opcLight+",style=3)";
}
function inLight() {
	if (--opcLight == 0) {
		clearInterval(tmrLight);
		setTimeout ("tmrLight=setInterval('outLight()', 50)", 10000);
	}
	document.getElementById("imgLightTop").style.filter = "Alpha(opacity="+opcLight+",finishopacity="+opcLight+",style=3)";
	document.getElementById("imgLightBot").style.filter = "Alpha(opacity="+opcLight+",finishopacity="+opcLight+",style=3)";
}

function initLight () {
	if (document.all) setTimeout ("tmrLight=setInterval('outLight()', 50)", 10000);
}
