if (document.images)
{
  pic1= new Image(600,450);
  pic1.src="img/water1.jpg";

  pic2= new Image(600,450);
  pic2.src="img/water2.jpg";

  pic3= new Image(600,450);
  pic3.src="img/water3.jpg";

  pic4= new Image(600,450);
  pic4.src="img/water4.jpg";
}

	myPix = new Array("img/water1.jpg","img/water2.jpg","img/water3.jpg","img/water4.jpg")
	thisPic = 0
	imgCt = myPix.length - 1

	function chgSlide(direction) {
		if (document.images) {
			thisPic = thisPic + direction
			if (thisPic > imgCt) {
				thisPic = 0
			}
			if (thisPic < 0) {
				thisPic = imgCt
			}
			document.myPicture.src=myPix[thisPic]
		}
	}

