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

// ImageAShow

// Set ImageAShowSpeed (milliseconds)
var ImageAShowSpeed = 6500

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

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

PicA[0] = 'main/box_3_1.jpg'
PicA[1] = 'main/box_3_2.jpg'
PicA[2] = 'main/box_3_3.jpg'
PicA[3] = 'main/box_3_1.jpg'
PicA[4] = 'main/box_3_2.jpg'
PicA[5] = 'main/box_3_3.jpg'

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

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

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

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

// ImageBShow

// Set ImageBShowSpeed (milliseconds)
var ImageBShowSpeed = 7000

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

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

PicB[0] = 'main/box_1_1.jpg'
PicB[1] = 'main/box_1_2.jpg'
PicB[2] = 'main/box_1_3.jpg'
PicB[3] = 'main/box_1_1.jpg'
PicB[4] = 'main/box_1_2.jpg'
PicB[5] = 'main/box_1_3.jpg'

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

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

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

function runImageBShow(){
   if (document.all){
      document.images.ImageBShow.style.filter="blendTrans(duration=2)"
      document.images.ImageBShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.ImageBShow.filters.blendTrans.Apply()      
   }
   document.images.ImageBShow.src = preLoadB[j].src
   if (document.all){
      document.images.ImageBShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runImageBShow()', ImageBShowSpeed)
}

// ImageCShow

// Set ImageCShowSpeed (milliseconds)
var ImageCShowSpeed = 6000

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

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

PicC[0] = 'main/box_4_1.jpg'
PicC[1] = 'main/box_4_2.jpg'
PicC[2] = 'main/box_4_3.jpg'
PicC[3] = 'main/box_4_1.jpg'
PicC[4] = 'main/box_4_2.jpg'
PicC[5] = 'main/box_4_3.jpg'

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

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

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

function runImageCShow(){
   if (document.all){
      document.images.ImageCShow.style.filter="blendTrans(duration=2)"
      document.images.ImageCShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.ImageCShow.filters.blendTrans.Apply()      
   }
   document.images.ImageCShow.src = preLoadC[j].src
   if (document.all){
      document.images.ImageCShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runImageCShow()', ImageCShowSpeed)
}

// ImageDShow

// Set ImageDShowSpeed (milliseconds)
var ImageDShowSpeed = 7000

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

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

PicD[0] = 'main/box_2_1.jpg'
PicD[1] = 'main/box_2_2.jpg'
PicD[2] = 'main/box_2_3.jpg'
PicD[3] = 'main/box_2_1.jpg'
PicD[4] = 'main/box_2_2.jpg'
PicD[5] = 'main/box_2_3.jpg'

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

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

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

function runImageDShow(){
   if (document.all){
      document.images.ImageDShow.style.filter="blendTrans(duration=2)"
      document.images.ImageDShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.ImageDShow.filters.blendTrans.Apply()      
   }
   document.images.ImageDShow.src = preLoadD[j].src
   if (document.all){
      document.images.ImageDShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runImageDShow()', ImageDShowSpeed)
}

// ImageEShow

// Set ImageEShowSpeed (milliseconds)
var ImageEShowSpeed = 6500

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

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

PicE[0] = 'main/box_5_1.jpg'
PicE[1] = 'main/box_5_2.jpg'
PicE[2] = 'main/box_5_3.jpg'
PicE[3] = 'main/box_5_1.jpg'
PicE[4] = 'main/box_5_2.jpg'
PicE[5] = 'main/box_5_3.jpg'

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

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

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

function runImageEShow(){
   if (document.all){
      document.images.ImageEShow.style.filter="blendTrans(duration=2)"
      document.images.ImageEShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.ImageEShow.filters.blendTrans.Apply()      
   }
   document.images.ImageEShow.src = preLoadE[j].src
   if (document.all){
      document.images.ImageEShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runImageEShow()', ImageEShowSpeed)
}

// ImageFShow

// Set ImageFShowSpeed (milliseconds)
var ImageFShowSpeed = 6000

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

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

PicF[0] = 'main/box_7_1.jpg'
PicF[1] = 'main/box_7_2.jpg'
PicF[2] = 'main/box_7_3.jpg'
PicF[3] = 'main/box_7_1.jpg'
PicF[4] = 'main/box_7_2.jpg'
PicF[5] = 'main/box_7_3.jpg'

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

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

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

function runImageFShow(){
   if (document.all){
      document.images.ImageFShow.style.filter="blendTrans(duration=2)"
      document.images.ImageFShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.ImageFShow.filters.blendTrans.Apply()      
   }
   document.images.ImageFShow.src = preLoadF[j].src
   if (document.all){
      document.images.ImageFShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runImageFShow()', ImageFShowSpeed)
}
