Event.observe(window, 'load', function() {
	var mapLinks = $('imagemap').childNodes;
	$A(mapLinks).map(function(element) {
		Event.observe(element, 'mouseover', function(){ $('mapbase').addClassName(element.id)});
		Event.observe(element, 'mouseout', function(){ $('mapbase').removeClassName(element.id)});
	});
});

//Find all map images and add an onfocus attribute and value
function hideFocusBorders(){

var theahrefs = document.getElementById("mapbase");

if (!theahrefs){return;}

theahrefs.onfocus = function stopLinkFocus(){this.hideFocus=true;};

}

SafeAddOnload(hideFocusBorders);