<!--
	var imageArr;

	if (_version >= 1.1) 
	{
		imageArr = new Array();
	}
	
	var imageCount = 0;  // number of images loaded
	
	// preloads an image and its substitute
	function ImagePreload(imageName, imageSrc1, imageSrc2)
	{	
		if (_version >= 1.1)
		{
			imageArr[imageCount] = new Array(3);
			imageArr[imageCount][0] = imageName;
			imageArr[imageCount][1] = new Image();
			imageArr[imageCount][1].src = imageSrc1;
			imageArr[imageCount][2] = new Image();
			imageArr[imageCount][2].src = imageSrc2;
		
			imageCount++;
		}	
	}
	
	// switches to the second image
	function ImageSwitch(imageName)
	{	
		if (_version >= 1.1)
		{			
			for (imageIndex = 0; imageIndex < imageCount; imageIndex++)
			{
				if (document.images[imageArr[imageIndex][0]] != null)
				{
					if(imageName == imageArr[imageIndex][0])
					{   // switch to second image
						document.images[imageArr[imageIndex][0]].src = imageArr[imageIndex][2].src;
					}
					else
					{   // all others are reset to original image
						document.images[imageArr[imageIndex][0]].src = imageArr[imageIndex][1].src;
					}
				}
			}
		}
	}
	
	// reverts all to original image
	function ImageRevert()
	{
		if(_version >= 1.1)
		{
			for (imageIndex = 0; imageIndex < imageCount; imageIndex++)
			{
				if (document.images[imageArr[imageIndex][0]] != null)
				{
					document.images[imageArr[imageIndex][0]].src = imageArr[imageIndex][1].src;
				}
			}
		}
	}
	
// -->