
<!-- Created on Jan 3, 2008 6:27:44 PM -->

/* define image width and height */

var pic_width=440;
var pic_height=100;

/* define image urls */

if (document.images)
{
     pic1= new Image(pic_width,pic_height);
     pic1.src="images/filmstrip-1.jpeg"; 
     pic2= new Image(pic_width,pic_height);      
     pic2.src="images/filmstrip-2.jpeg"; 
     pic3= new Image(pic_width,pic_height);
     pic3.src="images/filmstrip-3.jpeg"; 
     pic4= new Image(pic_width,pic_height);
     pic4.src="images/filmstrip-4.jpeg"; 
    
 } 
/* define text for image captions */

var destext= new Array(4)
     destext[0]="This caption for image 1";
     destext[1]="This caption for image 2";
     destext[2]="This caption for image 3";
     destext[3]="This caption for image 4";
     

var pics= new Array(4) 
     pics[0]=pic1.src;
     pics[1]=pic2.src;
     pics[2]=pic3.src;
     pics[3]=pic4.src;
  

var numpics=4;
var thenum=0;
imgName="img1";
{
if (document.images)
{
document.write("<img src='"+pics[thenum]+"' border='0' width='"+pic_width+"' height='"+pic_height+"' name='img1'>\n");
setTimeout('change_it2()',5000); }
}
function change_it2()
{
var x=0;
thenum+=1;
if (thenum>numpics-1)
thenum=0;
document[imgName].src=pics[thenum];
x+=1;
setTimeout('change_it2()',5000);
}
