		//this script is for the non-flash slideshow
		//it only runs if document.piece exists meaning the flash.swf did not load.
		
		//make array, load images for slideshow:
		
		if (document.images && document.piece) { 
			var artNum = 0;
			var artSpeed = 3000;
			
			var artwork = new Array();
			artwork[0] = new Image();
			artwork[0].src = "images/pimage1.jpg";
			artwork[1] = new Image();
			artwork[1].src = "images/pimage2.jpg";
			artwork[2] = new Image();
			artwork[2].src = "images/pimage3.jpg";
			artwork[3] = new Image();
			artwork[3].src = "images/pimage4.jpg";
		}

		
		//slideshow function:
		
		function rotateart() {
			if (artNum < (artwork.length - 1)) {
				artNum++;
			}
			else {
				artNum = 0;
			}
			/* had to add the if statement here because I kept getting an error 
			"document.piece" is not an object. This rotateart function
			was causing the error, even if it wasn't being called. */
			if (document.piece) {
				document.piece.src = artwork[artNum].src;
				setTimeout('rotateart()', artSpeed);
			}			
		}
		
		if (document.images && document.piece) setTimeout('rotateart()', artSpeed);
		

