// (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 = 2500

// Duration of crossfade (seconds)
var crossFadeDuration = 2.5

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/lessons/lessons.jpg'
Pic[1] = 'images/lessons/lessons1.jpg'
Pic[2] = 'images/lessons/lessons2.jpg'
Pic[3] = 'images/lessons/lessons3.jpg'
Pic[4] = 'images/lessons/lessons4.jpg'
Pic[5] = 'images/lessons/lessons5.jpg'
Pic[6] = 'images/lessons/lessons6.jpg'
Pic[7] = 'images/lessons/lessons7.jpg'
Pic[8] = 'images/lessons/lessons8.jpg'
Pic[9] = 'images/lessons/lessons9.jpg'
Pic[10] = 'images/lessons/lessons10.jpg'
Pic[11] = 'images/homepics/home40.jpg'
Pic[12] = 'images/homepics/home41.jpg'
Pic[13] = 'images/lessons/lessons11.jpg'
Pic[14] = 'images/lessons/lessons12.jpg'
// =======================================
// do not edit anything below this line
// =======================================

var t3
var j3 = 0
var p3 = Pic.length

var preLoad = new Array()
for (i = 0; i < p3; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2.5)"
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j3].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j3 = j3 + 1
   if (j3 > (p3-1)) j3=0
   t3 = setTimeout('runSlideShow()', slideShowSpeed)
}

var keepstatic=0
var menucolor="#999999"
var submenuwidth=150

function changeBG(objRow, sState) {
var theCell = document.getElementById(objRow);
  if (sState == "over") 
{ theCell.style.backgroundColor="#FFFFFF"; 
} else { 
 theCell.style.backgroundColor="#999999"; }
}


