// (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

// =======================================
// do not edit anything below this line
// =======================================


// ImageGShow

// Set ImageGShowSpeed (milliseconds)
var ImageGShowSpeed = 3000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var PicG = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

PicG[0] = 'main/box_8_1.jpg'
PicG[1] = 'main/box_8_2.jpg'
PicG[2] = 'main/box_8_3.jpg'
PicG[3] = 'main/box_8_1.jpg'
PicG[4] = 'main/box_8_2.jpg'
PicG[5] = 'main/box_8_3.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = PicG.length

var preLoadG = new Array()
for (i = 0; i < p; i++){
   preLoadG[i] = new Image()
   preLoadG[i].src = PicG[i]
}

function runImageGShow(){
   if (document.all){
      document.images.ImageGShow.style.filter="blendTrans(duration=5)"
      document.images.ImageGShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.ImageGShow.filters.blendTrans.Apply()      
   }
   document.images.ImageGShow.src = preLoadG[j].src
   if (document.all){
      document.images.ImageGShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runImageGShow()', ImageGShowSpeed)}




