<!-- Hide from oldies  

var duration = 10; // set duration for each image
var unit = 1000;
var speed = duration * unit; // Set speed (milliseconds)
var p = 6;  // film strip pictures number 1 to 6
var preLoad, counter, where;  // these 3 variables used to be parameters to setInterval and runSlideShow, but IE didn't like it

function slideShow(what, where)
{
	preLoad = loadSlideShow(what);
	counter = new Object();
	counter.j = 0;
	this.where = where;
	return setInterval(runSlideShow, speed);
}

function loadSlideShow(what)
{
    var preLoad = new Array();
	for (var i=0; i < p; i++)
	{
	   preLoad[i] = new Image();
	   var tmp = (what == 'movie') ? 'Movies' : '';
	   preLoad[i].src = 'images/filmstrip/filmStrip' + tmp + (i+1) + '.jpg';
	}
	return preLoad;
}

function runSlideShow()
{
   document[where].src = preLoad[counter.j].src;  // document.images.Ad_Image.src
   counter.j++;
   if (counter.j >= p) counter.j = 0;
}
// End Hiding -->
