
	if (document.images) {
		Photo1 = new Image
		Photo2 = new Image
		Photo3 = new Image

		Photo1.src = "images/pic1.jpg"
		Photo2.src = "images/pic2.jpg"
		Photo3.src = "images/pic3.jpg"
	}
	else {
		Photo1 = ""
		Photo2 = ""
		Photo3 = ""
		document.displayarea = ""
	}

	//this function recives the name of the area to display Photo and
	//the name of the Photo object which holds the image file name
	//notice the function appends the .src to the object name
	//it will then display the Photo in that display area 

	function chgImg(imgField,newImg) {
		if (document.images) {
			document[imgField].src= eval(newImg + ".src")
		}
	}

