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

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

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

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

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

	myPix = new Array("img/earth1.jpg","img/earth2.jpg","img/earth3.jpg","img/earth4.jpg","img/earth5.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]
		}
	}

