
// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 5000;

var CrossFadeDuration = 3;

var Picture = new Array(); 
var Caption = new Array(); 
Picture[1]  = 'img/Album-Residence/Residence_2_300.gif';
Picture[2]  = 'img/Album-Residence/Residence_5_300.gif';
Picture[3]  = 'img/Album-Residence/Residence_6_300.gif';
Picture[4]  = 'img/Album-Store/Store_3_300.gif';
Picture[5]  = 'img/Album-Store/Store_6_300.gif';
Picture[6]  = 'img/Album-Store/Store_11_300.gif';
Picture[7]  = 'img/Album-Babies/Babies_4_300.gif';
Picture[8]  = 'img/Album-Babies/Babies_5_300.gif';
Picture[9]  = 'img/Album-Babies/Babies_6_300.gif';
Picture[10] = 'img/Album-Store/Store_13_300.gif';



Caption[1]  = "<BR>Baby Huey - just visiting for the day<BR>";
Caption[2]  = "<BR>Casey with his stolen sucker!<BR>";
Caption[3]  = "<BR>Elmo with her stolen sucker, she likes the stick best of all!<BR>";
Caption[4]  = "<BR>Aisle as you enter store<BR>";
Caption[5]  = "<BR>Wide view of large supply of cages<BR>";
Caption[6]  = "<BR>Toys, toys and more toys!<BR>";
Caption[7]  = "<BR>Blue Front Conures<BR>";
Caption[8]  = "<BR>Lesser Sulfer Crested Cockatoo<BR>";
Caption[9]  = "<BR>Meyers Parrot and Senegal Parrot<BR>";
Caption[10] = "<BR>Kitchen/Nursery Area<BR>";

//11
//12
//13 Entrance to Bird Is The Word

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
