
// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 5000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;

var newwindow = 0 //open links in new window? 1=yes, 0=no

var Picture = new Array();
var Caption = new Array(); 
var Links = new Array();

Picture[1]  = 'images/starship.jpg';
Picture[2]  = 'images/badmoonrising.jpg';
Picture[3]  = 'images/doublefunkcrunch.jpg';
Picture[4]  = 'images/breifcase.jpg';
Picture[5]  = 'images/audioboxx.jpg';
Picture[6]  = 'images/hipservice.jpg';
Picture[7]  = 'images/californiabeachparty.jpg';

Caption[1]  = "Starship featuring Mickey Thomas";
Caption[2]  = "Bad Moon Rising";
Caption[3]  = "Double Funk Crunch";
Caption[4]  = "Breifcase Full of Blues";
Caption[5]  = "Audio Boxx";
Caption[6]  = "Hip Service";
Caption[7]  = "California Beach Party";

Links[1]  = "roster/national/starship.htm";
Links[2]  = "roster/tribute/badmoonrising.htm";
Links[3]  = "roster/corporate/doublefunkcrunch.htm";
Links[4]  = "roster/tribute/breifcase.htm";
Links[5]  = "roster/corporate/audioboxx.htm";
Links[6]  = "roster/corporate/hipservice.htm";
Links[7]  = "roster/corporate/californiabeachparty.htm";

var tss;
var iss;
var lss;
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();
lss = jss;
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

function gotoshow(){
if (newwindow)
window.open(Links[lss])
else
window.location=Links[lss]
}


