
// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 5000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 4;

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/fm1a.jpg';
Picture[2]  = 'images/fm2a.jpg';
Picture[3]  = 'images/fm3a.jpg';
Picture[4]  = 'images/fm4a.jpg';
Picture[5]  = 'images/fm5a.jpg';
Picture[6]  = 'images/fm6a.jpg';

Caption[1]  = "HEARTACHE TONIGHT performing at the Patriot Party for OWH on Fremont Street in Las Vegas.";
Caption[2]  = "This event was the World’s Largest Vietnam Vet Parade & All-Star Entertainment in history.";
Caption[3]  = "Thousands of Veterans from all 50 states gather around to listen to the melodic sounds of The Eagles.";
Caption[4]  = "Then BAD MOON RISING hits the stage featuring Randy Linder! You can't get any closer to the real deal than this!";
Caption[5]  = "BAD MOON RISING";
Caption[6]  = "No other group can come close to reproducing CCR than BAD MOON RISING! That's why their the #1 choice for events such as this!";

Links[1]  = "heartache.htm";
Links[2]  = "heartache.htm";
Links[3]  = "heartache.htm";
Links[4]  = "badmoonrising.htm";
Links[5]  = "badmoonrising.htm";
Links[6]  = "badmoonrising.htm";
Links[7]  = "http://aviationnation.org/05/news/freemont_street.html";

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]
}



