/*
	Standards Compliant Rollover Script
	Author : Daniel Nolan
	http://www.bleedingego.co.uk/webdev.php
*/

function initCircleRollovers() {
	if (!document.getElementById) return
	
	var aPreLoad = new Array();
	var sTempSrc;
	var aImages = document.getElementsByTagName('area');

	for (var i = 0; i < aImages.length; i++) {		
		if (aImages[i].getAttribute("rel") != '') {
			
			aImages[i].onmouseover = function() {
				document.images[ this.getAttribute("rel") ].src = document.images[ this.getAttribute("rel") ].src.replace( ".jpg", "_f2.jpg" );
			}	
			
			aImages[i].onmouseout = function() {
				document.images[ this.getAttribute("rel") ].src = document.images[ this.getAttribute("rel") ].src.replace( "_f2.", "." );
			}
		}
	}
}


// window.onload = initCircleRollovers;
// moved to global_rollover.js