﻿// JScript File


  function swapImages(numImages)
  {
    var	totNumImages=numImages;
    var	c_reloadwidth=200
    var	imageIndex=0;
    
    if (numImages > 0)
    {
			startit(imageIndex, totNumImages)
    }
  }

  function startit(imageIndex, totNumImages)
  {
    if (document.all||document.getElementById)
    {
      countDown(imageIndex, totNumImages)
    }
  }

  function countDown(imageIndex, totNumImages)
  {
    swapfade(document.getElementById('tstImage'), images[imageIndex], '2', '');
    imageIndex++;
    if (imageIndex >= totNumImages)
    {
      imageIndex = 0;
    }
    counter=setTimeout("countDown(" + imageIndex + ", " + totNumImages + ")", 8000);
  }
