function rollover() {
	if(document.getElementsByTagName) {
		var images = document.getElementsByTagName("img");
		
		for(var i=0; i < images.length; i++) {
			if(images[i].getAttribute("src").match("_normal."))
			{
				images[i].onmouseover = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_normal.", "_over."));
				}
				images[i].onmouseout = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_over.", "_normal."));
				}
			}
		}
		
		var inputs = document.getElementsByTagName("input");
		
		for(var i=0; i < inputs.length; i++) {
			if(inputs[i].getAttribute("src")){
			if(inputs[i].getAttribute("src").match("_normal."))
			{
				inputs[i].onmouseover = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_normal.", "_over."));
				}
				inputs[i].onmouseout = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_over.", "_normal."));
				}
			}}
		}
	}
}

if(window.addEventListener) {
	window.addEventListener("load", rollover, false);
}
else if(window.attachEvent) {
	window.attachEvent("onload", rollover);
}
