<!--

(function(key, value){
	function hoverImages(){
		var els = document.body.getElementsByTagName("IMG");

		for(var i = 0; i < els.length; i++){
			if(els[i].getAttribute(key) == value){
				var hovsrc = els[i].src.substring(0, els[i].src.length - 4) + '_a' + els[i].src.substring(els[i].src.length - 4);
				var tmp = new Image(); tmp.src = hovsrc;

				(function(el, defsrc, hovsrc){
					el.onmouseover = function(){
		                if (this.src == defsrc) this.src = hovsrc;
					}
					el.onmouseout = function(){
		                if (this.src == hovsrc) this.src = defsrc;
					}
				})(els[i], els[i].src, hovsrc);
			}
		}  	
	}

	if(window.addEventListener){
		window.addEventListener('load', hoverImages, false);
	}
	else if(window.attachEvent){
		window.attachEvent('onload', hoverImages);
	}
	else{
		window['onload'] = hoverImages;
	}
})('rel', 'hover');
//-->
