<!-- Random Image Script - Start -->
<!-- Random Image Script - Start -->
   ///
   /// Must be - Part 1
   ///
   var TopStripPictsArray = new Array();

   ///
   /// Must be - Part 2
   ///
   var TopStripCurrentNum = -1;
   var TopStripCurrentPic = new Image();
   var TopStripTimerDelay = 35; // time delay in seconds

   ///
   /// Must be - Part 3
   ///
   TopStripTimerDelay *= 1000;

   /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// ///
   /// Function
   /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// ///
   function TopStripFirstPicture(PicWidth, PicHeight)
   {
      StrWidth = "";
      if (PicWidth > 0) {
         StrWidth = "width='"+PicWidth+"px'";
      }
      StrHeight = "";
      if (PicHeight > 0) {
         StrHeight = "height='"+PicHeight+"px'";
      }

      TopStripRandomisePicture();
      if (TopStripCurrentNum >= 0) {
         document.write("<img name=\"TopStripActualImage\" src=\"" + TopStripPictsArray[TopStripCurrentNum] + "\" "+StrWidth + " "+ StrHeight + " >");
      }
   }

   /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// ///
   /// Function
   /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// ///
   function TopStripRandomisePicture()
   {
      //
      //
      //
      var TmpVal = 0;
      var TopStripNumOfPicts = TopStripPictsArray.length;

      //
      //
      //
      if (TopStripNumOfPicts == 1) {
         TopStripCurrentNum = 0;
      }
      if (TopStripNumOfPicts > 1) {
         TmpVal = TopStripCurrentNum;
         while (TmpVal == TopStripCurrentNum) {
            TopStripCurrentNum = parseInt(TopStripNumOfPicts * Math.random(1));
         }
      }
   }

   /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// ///
   /// Function
   /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// ///
   function TopStripSlideShow()
   {
      TopStripRandomisePicture();
      if (TopStripCurrentNum >= 0) {
         TopStripCurrentPic.src = TopStripPictsArray[TopStripCurrentNum];
         document["TopStripActualImage"].src = TopStripCurrentPic.src;
      }
   }

   /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// ///
   /// Function
   /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// ///
   function TopStripSetupTimer()
   {
      setInterval("TopStripSlideShow()", TopStripTimerDelay);
   }
<!-- Random Image Script - End -->
<!-- Random Image Script - End -->
