function smartRollover() {
	if(document.getElementsByTagName && document.getElementById("stopwatch")) {
		var images = document.getElementById("stopwatch");

		var areas = document.getElementById("seiko2");
		if(images.getAttribute("src").match("seiko.jpg"))
		{
			areas.onmouseover = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko.jpg", "seiko2.jpg"));
			}
			areas.onmouseout = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko2.jpg", "seiko.jpg"));
			}
		}
		var areas = document.getElementById("seiko3");
		if(images.getAttribute("src").match("seiko.jpg"))
		{
			areas.onmouseover = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko.jpg", "seiko3.jpg"));
			}
			areas.onmouseout = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko3.jpg", "seiko.jpg"));
			}
		}
		var areas = document.getElementById("seiko4");
		if(images.getAttribute("src").match("seiko.jpg"))
		{
			areas.onmouseover = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko.jpg", "seiko4.jpg"));
			}
			areas.onmouseout = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko4.jpg", "seiko.jpg"));
			}
		}

		var areas = document.getElementById("seiko5");
		if(images.getAttribute("src").match("seiko.jpg"))
		{
			areas.onmouseover = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko.jpg", "seiko5.jpg"));
			}
			areas.onmouseout = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko5.jpg", "seiko.jpg"));
			}
		}

		var areas = document.getElementById("seiko6");
		if(images.getAttribute("src").match("seiko.jpg"))
		{
			areas.onmouseover = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko.jpg", "seiko6.jpg"));
			}
			areas.onmouseout = function() {
				var images = document.getElementById("stopwatch")
				images.setAttribute("src", images.getAttribute("src").replace("seiko6.jpg", "seiko.jpg"));
			}
		}




	}
}

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