/*copyright 2004 cameron thompson*/

/*Random number generator*/
var myNum1 = 1+Math.round(Math.random()*10); // number needs to be one less than total number of images

/*preload images passed in in an array - adapted from a couple of tutorials and book examples*/
function preloadImages(imageString) 
{
 	if(document.images) //check if browser understands image objects
  	{ 
	  	var imageArray= new Array;
    		var imageCount;
    		imageArray=imageString.split(","); //carve up input string
    		for(imageCount=0; imageCount<imageArray.length; imageCount++)
    		{
			newImage=new Image; 
			newImage.src=imageArray[imageCount];
		}
   	}

}






