window.onload = function() {
	var images = document.getElementsByTagName("img");
	for (var i = 0; i < images.length; i++) {
		
		if(images[i].className == "rollover"){
			var source = images[i].src;
			images[i].onmouseover = function(){
				
				this.src = this.src.replace(/\.(\w*)$/, "_h.$1");
			}
			images[i].onmouseout = function(){
				this.src = this.src.replace(/_h\.(\w*)$/, ".$1");
			}
		} 
	}
}
