Ok, so I replaced all theimages with myImages. I can't see where the problem is. I can't see where it is, because I am not familiar with javascript.

Can you help pinpoint and fix this script? I REALLY appreciate it.

Thanks so much,
Lorne

PHP Code:
``` <script type="text/javascript">  var maxImages = 99;  var myImages = new Array();  //  var imgPath = "/bpa-images/Home Slideshow/";  var imgPrefix = "image";  var imgSuffix = ".jpg";  //  function preloadComplete()  {      this.complete = true;  }  function preloadError()  {      this.complete = false;  }  function preloadImages()  {      for (var x=1; x<=maxImages; ++x)      {          myImages[x] = new Image();          myImages[x].onerror = preloadError;          myImages[x].onload = preloadComplete;          myImages[x].src = imgPath + imgPrefix + x + imgSuffix;      }      return true;  }  preloadImages(); ///// Plugin variables  playspeed=2000;// The playspeed determines the delay for the "Play" button in ms  dotrans=1; // if value = 1 then there are transitions played in IE  transtype='blendTrans';// 'blendTrans' or 'revealtrans'  transattributes='23';// duration=seconds,transition=#<24  //#####  //key that holds where in the array currently are  i=0;  //###########################################  //if random  function SetRandom() {      tempimage = new Array();      for(p=0; p<myImages.length; p++){          for(p1=0; p1>-1; p1) {              tempNum = Math.floor(Math.random()*myImages.length)              if(!tempimage[tempNum]){                  tempimage[tempNum]=myImages[p];                  break;              }          }      }      for(p=0;p<myImages.length;p++)myImages[p]=tempimage[p];  }  //if random order  SetRandom()  //###########################################  window.onload=function(){      //preload images into browser      preloadSlide();      //set transitions      GetTrans();      //set the first slide      SetSlide(0);      //autoplay      PlaySlide();  }  //###########################################  function SetSlide(num) {      //too big      i=num%myImages.length;      //too small      if(i<0)i=myImages.length-1;      //switch the image      if(document.all&&!window.opera&&dotrans==1)eval('document.images.imgslide.filters.'+transtype+'.Apply()')      document.images.imgslide.src=myImages[i][0];      if(document.all&&!window.opera&&dotrans==1)eval('document.images.imgslide.filters.'+transtype+'.Play()')  }  //###########################################  function PlaySlide() {      if (!window.playing) {          PlayingSlide(i+1);          if(document.slideshow.play){              document.slideshow.play.value="   Stop   ";          }      }      else {          playing=clearTimeout(playing);          if(document.slideshow.play){              document.slideshow.play.value="   Play   ";          }      }      // if you have to change the image for the "playing" slide      if(document.images.imgPlay){          setTimeout('document.images.imgPlay.src="'+imgStop+'"',1);          imgStop=document.images.imgPlay.src      }  }  //###########################################  function PlayingSlide(num) {      playing=setTimeout('PlayingSlide(i+1);SetSlide(i+1);', playspeed);  }  //###########################################  //desc: picks the transition to apply to the images  function GetTrans() {      //si=document.slideshow.trans.selectedIndex;          if((document.slideshow.trans && document.slideshow.trans.selectedIndex == 0) || (!document.slideshow.trans && dotrans==0)){          dotrans=0;      }      else if ((document.slideshow.trans && document.slideshow.trans.selectedIndex == 1) || (!document.slideshow.trans && transtype == 'blendTrans')){          dotrans=1;          transtype='blendTrans';          document.imgslide.style.filter = "blendTrans(duration=1,transition=1)";      }else{          dotrans=1;          transtype='revealtrans';          if(document.slideshow.trans) transattributes=document.slideshow.trans[document.slideshow.trans.selectedIndex].value;          document.imgslide.style.filter = "revealTrans(duration=1,transition=" +transattributes+ ")";      }  }  //###########################################  function preloadSlide() {      for(k=0;k<myImages.length;k++) {          myImages[k][0]=new Image().src=myImages[k][0];      }  }  </script>  <!-- slide show HTML -->  <form name="slideshow">  <table width="288" height="432" border="1" cellpadding="1" cellspacing="0" bordercolor="#560D1C">  <tr>      <td align="center">      <a href="#" onmouseover="this.href=myImages[i][1];return false">      <script type="text/javascript">          documen  ```