//**************************************************************************
// Java Script 
// Contains the common javascript functions used 
//**************************************************************************


<!--
    // First Set
    var ic1 = 2;     // Number of alternative images
    var xoxo1 = new Array(ic1);  // Array to hold filenames
			
	xoxo1[0] = "graphics/temp_main01.jpg";
	xoxo1[1] = "graphics/temp_main01b.jpg";	
	
	// Write out an IMG tag, using a randomly-chosen image name.
	var choice1 = pickRandom(ic1);
	
	

	function pickRandom(range) {
		if (Math.random)
			return Math.round(Math.random() * (range-1));
		else {
			var now = new Date();
			return (now.getTime() / 1000) % range;
		}
	} // end function
	
// -->

			
	