window.onload = function(){
	var images = document.getElementsByTagName("img");
	var image;

	for(var i = 0; i < images.length; i++){
		image = images[i];
		
		if(image.className.match(/rollover/)){
			image.onmouseover = function(){
				this.src = this.src.replace("_out", "_on");
			}
			image.onmouseout = function(){
				this.src = this.src.replace("_on", "_out");
			}
		}
	}
}
