function imgRolloverTop() {

	if(document.getElementsByTagName) {

		var images = document.getElementsByTagName("img");

		var bA = document.getElementById("hA");

		var bB = document.getElementById("hB");

		var bC = document.getElementById("hC");

		var bD = document.getElementById("hD");



		for(var i=0; i < images.length; i++) {

			if(images[i].getAttribute("src").match("_off.")) {

				images[i].onmouseover = function() {

					this.setAttribute("src", this.getAttribute("src").replace("_off.", "_over."));

					if(this.getAttribute("src").match("link_b1_a")){

						//bA.src = 'images/home/h2_b1_a_off.gif';

						document.hA.src = 'images/home/h2_link_b1_a_over.gif';//coco

					}

					if(this.getAttribute("src").match("link_b1_b")){

						document.hB.src = 'images/home/h2_link_b1_b_over.gif';//coco

					}

					if(this.getAttribute("src").match("link_b1_c")){

						document.hC.src = 'images/home/h2_link_b1_c_over.gif';//coco

					}

					if(this.getAttribute("src").match("link_b1_d")){

						document.hD.src = 'images/home/h2_link_b1_d_over.gif';//coco

					}

				}	

				images[i].onmouseout = function() {

					this.setAttribute("src", this.getAttribute("src").replace("_over.", "_off."));

					if(this.getAttribute("src").match("link_b1_a")){

						document.hA.src = 'images/home/h2_link_b1_a_off.gif';//coco

					}

					if(this.getAttribute("src").match("link_b1_b")){

						document.hB.src = 'images/home/h2_link_b1_b_off.gif';//coco

					}

					if(this.getAttribute("src").match("link_b1_c")){

						document.hC.src = 'images/home/h2_link_b1_c_off.gif';//coco

					}

					if(this.getAttribute("src").match("link_b1_d")){

						document.hD.src = 'images/home/h2_link_b1_d_off.gif';//coco

					}

				}

			}

		}

	}

}





if(window.addEventListener) {

	window.addEventListener("load", imgRolloverTop, false);

}

else if(window.attachEvent) {

	window.attachEvent("onload", imgRolloverTop);

}



