
function setRollOver() {
	var loadedImg = new Array();
	if (!document.getElementsByTagName) return false;
	var ovrImgList = document.getElementsByTagName('img');
	for (var i = 0; i < ovrImgList.length; i++) {
		if (ovrImgList[i].src.match(/_of\./i)) {
			loadedImg[i] = new Image();
			loadedImg[i].src = ovrImgList[i].src.replace(/_of\./i, '_ov.');
			ovrImgList[i].onmouseover = function() { 
				this.src = this.src.replace(/_of\./i, '_ov.');
			}
			ovrImgList[i].onmouseout = function() { 
				this.src = this.src.replace(/_ov\./i, '_of.');
			}
			if (navigator.userAgent.indexOf('MSIE') < 0) ovrImgList[i].onmouseup = function() {
				this.src = this.src.replace(/_ov\./i, '_of.');
			}
		}
	}
	return true;
}
if (window.addEventListener) window.addEventListener('load', setRollOver, false);
if (window.attachEvent) window.attachEvent('onload', setRollOver);

