<!--
/*******************************************
 * Will preload all images specified
 * This method can be called more than once
 */
function cacheImages()
{	
	// First a test to see if the browser supports images :-)
	if(document.images)
	{
		if(!document.imageCache) document.imageCache = new Array();
		var i;
		var startIndex = document.imageCache.length;
		var args=cacheImages.arguments;
		for(i=0; i<args.length; i++)
		{
			document.imagesCache[startIndex+i]=new Image();
			document.imagesCache[startIndex+i].src=args[i];
		}
	}
}

function swapImage(imageName, imageUrl)
{
	//alert(imageName + ' ' + imageUrl);
	image = document.images[imageName];
	image.src=imageUrl;
	//for(var i=0; i<document.images.length; i++)
	//	alert(document.images[i].id);
	
	//alert(document.images[imageName].src + ' ' + imageName )
	//document.images[imageName].src=imageUrl;
}
-->