// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 6000;

// Duration of crossfade (seconds)
var crossFadeDuration = 10;

// Specify the image files
// to add more images, just continue
// the pattern, adding to the array below
var Pic_topa = new Array(); // don't touch this
Pic_topa[0] = 'images/home_1.jpg';
Pic_topa[1] = 'images/home_2.jpg';
Pic_topa[2] = 'images/home_3.jpg';
Pic_topa[3] = 'images/home_4.jpg';
Pic_topa[4] = 'images/home_5.jpg';
Pic_topa[5] = 'images/home_6.jpg';
Pic_topa[6] = 'images/home_7.jpg';
Pic_topa[7] = 'images/home_8.jpg';




// =======================================
// topa do not edit anything below this line
// =======================================

var t;
var j = 0;
var p = Pic_topa.length;

var preLoad_topa = new Array();
for (i = 0; i < p; i++)
{
   preLoad_topa[i] = new Image();
   preLoad_topa[i].src = Pic_topa[i];
}

function runSlideShow_topa()
{
   if (document.all)
   {
      document.images.SlideShow_topa.style.filter="blendTrans(duration=2)";
      document.images.SlideShow_topa.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow_topa.filters.blendTrans.Apply();
   }
   document.images.SlideShow_topa.src = preLoad_topa[j].src;
   if (document.all)
   {
      document.images.SlideShow_topa.filters.blendTrans.Play();
   }
   j = j + 1;
   if (j > (p-1))
   j=0;
   t = setTimeout('runSlideShow_topa()', slideShowSpeed);
}





  function stopError() {
    return true;
  }
  //window.onerror = stopError;








  function stopError() {
    return true;
  }
  //window.onerror = stopError;



