function preloadImages()
{
	if (document.images)
	{
		for (i=0; i < document.images.length; i++)
		{
			img = new Image();
			img.src = document.images[i].src;
		}
	}
}