<!--
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header

var t
var j = 0
var Pics = new Array()
var Slides = new Array()
var AltText = new Array()
var Height = new Array()
var Width = new Array()

function LoadSlides()
{
   var p = Pics.length;
   for (i = 0; i < p; i++)
   {
      Slides[i] = new Image()
      Slides[i].src = Pics[i]
   }
}

function runSlideShow()
{
   var p = Pics.length;
   if (document.all)
   {
      document.images.slideshow.style.filter="blendTrans(duration=2.0)"
      document.images.slideshow.filters.blendTrans.Apply()      
   }
   if (Height[j] && Width[j])
   {
      if (document.images.slideshow.height != Height[j] || document.images.slideshow.width != Width[j])
      {
         document.images.slideshow.height = Height[j];
         document.images.slideshow.width = Width[j];
      }
   }
   document.images.slideshow.src = Slides[j].src
   document.images.slideshow.alt = AltText[j]
   if (Height[j] && Width[j])
   {
      if (document.images.slideshow.height != Height[j] || document.images.slideshow.width != Width[j])
      {
         document.images.slideshow.height = Height[j];
         document.images.slideshow.width = Width[j];
      }
   }
   if (document.all)
   {
      document.images.slideshow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', speed)
}
// -->
