      var timeDelay = 8;
      var Pix = new Array ();
      Pix[0] = 'photos/homepage/Picture001.jpg'
      Pix[1] = 'photos/homepage/Picture002.jpg'
      Pix[2] = 'photos/homepage/Picture003.jpg'
      Pix[3] = 'photos/homepage/Picture004.jpg'
      Pix[4] = 'photos/homepage/Picture005.jpg'
      Pix[5] = 'photos/homepage/Picture006.jpg'
      Pix[6] = 'photos/homepage/Picture007.jpg'
      Pix[7] = 'photos/homepage/Picture008.jpg'
      Pix[8] = 'photos/homepage/Picture009.jpg'
      Pix[9] = 'photos/homepage/Picture010.jpg'
   
   
      var howMany = Pix.length;
      timeDelay *= 300;
      var PicCurrentNum = 0;
      var PicCurrent = new Image();
      PicCurrent.src = Pix[PicCurrentNum];
   
      function startPix()
      {
         setInterval("slideshow()", timeDelay);
      }
   
      function slideshow()
      {
         PicCurrentNum++;
         if (PicCurrentNum == howMany) 
         {
            PicCurrentNum = 0;
         }

         PicCurrent.src = Pix[PicCurrentNum];
         document["ChangingPix"].src = PicCurrent.src;
      }


