// JavaScript Document
//LSDS - lamsam.com

// slideshow  0

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

// Set the first slideshow duration of crossfade (in seconds)
var CrossFadeDuration = 2;

var Picture = new Array(); // don't change this

// Specify the slideshow 0 image files...

Picture[1]  = 'images/Untitled-2.jpg';
Picture[2]  = 'images/Untitled-31.jpg';
Picture[3]  = 'images/Untitled-30.jpg';
Picture[4]  = 'images/Untitled-15.jpg';
Picture[5]  = 'images/Untitled-4.jpg';
Picture[6]  = 'images/Untitled-10.jpg';

var Caption = new Array(); // don't change this

// Specify the slideshow 0 Captions...

Caption[1]  = "<h1>Tropical Beat<\/h1><p>Tropical Beat is a one-of-a-kind, one-hour Reggae Extravaganza and World Beat television program filled with a mix of exclusive, in-depth interviews and entertaining concerts with the hottest Reggae, Salsa and World Beat artists.</p>";
Caption[2]  = "<h1>Tropical Beat<\/h1><p>Tropical Beat is a one-of-a-kind, one-hour Reggae Extravaganza and World Beat television program filled with a mix of exclusive, in-depth interviews and entertaining concerts with the hottest Reggae, Salsa and World Beat artists.</p>";
Caption[3]  = "<h1>Tropical Beat<\/h1><p>Tropical Beat is a one-of-a-kind, one-hour Reggae Extravaganza and World Beat television program filled with a mix of exclusive, in-depth interviews and entertaining concerts with the hottest Reggae, Salsa and World Beat artists.</p>";
Caption[4]  = "<h1>Tropical Beat Features Artist Like<\/h1><p>Bob Marley and Rita Marley - Peter Tosh - Third World - Jimmy Cliff - Tommy Cowan - the I Threes - Jacob Miller - Inner Circle - Dennis Brown - Ken Booth - and many more.</p>";
Caption[5]  = "<h1>Tropical Beat Features Artist Like<\/h1><p>Bob Marley and Rita Marley - Peter Tosh - Third World - Jimmy Cliff - Tommy Cowan - the I Threes - Jacob Miller - Inner Circle - Dennis Brown - Ken Booth - and many more.</p>";
Caption[6]  = "<h1>Tropical Beat Features Artist Like<\/h1><p>Bob Marley and Rita Marley - Peter Tosh - Third World - Jimmy Cliff - Tommy Cowan - the I Threes - Jacob Miller - Inner Circle - Dennis Brown - Ken Booth - and many more.</p>";

// ********************************************************
// what makes slideshow 0 work . don't change this!
// ********************************************************

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);
}

// ********************************************************
// end of slideshow 0
// ********************************************************

// slideshow 1

// Set the second slideshow speed (in milliseconds)
var SlideShowSpeed1 = 6000;

// Set the second slideshow duration of crossfade (in seconds)
var CrossFadeDuration1 = 2;

var Picture1 = new Array(); // don't change this

// Specify slideshow 1 image files...

Picture1[1]  = 'images/Untitled-13.jpg';
Picture1[2]  = 'images/Untitled-21.jpg';
Picture1[3]  = 'images/Untitled-13.jpg';
Picture1[4]  = 'images/Untitled-9.jpg';
Picture1[5]  = 'images/Untitled-22.jpg';
Picture1[6]  = 'images/Untitled-9.jpg';

var Caption1 = new Array(); // don't change this

// Specify slideshow 1 Captions...

Caption1[1]  = "<h1>Tropical Beat<\/h1><p>was created and developed to fill a tremendous demand for information on Reggae and World Beat music, and substantive coverage of artists and musicians, presenting unique insights into top Reggae and Dancehall acts along with other Caribbean and African music.</p>";
Caption1[2]  = "<h1>Tropical Beat<\/h1><p>was created and developed to fill a tremendous demand for information on Reggae and World Beat music, and substantive coverage of artists and musicians, presenting unique insights into top Reggae and Dancehall acts along with other Caribbean and African music.</p></p>";
Caption1[3]  = "<h1>Tropical Beat<\/h1><p>was created and developed to fill a tremendous demand for information on Reggae and World Beat music, and substantive coverage of artists and musicians, presenting unique insights into top Reggae and Dancehall acts along with other Caribbean and African music.</p>";
Caption1[4]  = "<h1>Aired For Over 26 Years<\/h1><p>Tropical Beat remains the leading recognized source of authentic Reggae and World Beat music.  Tropical Beat has been written about extensively in Billboard Magazine and many others industry publications.</p>";
Caption1[5]  = "<h1>Aired For Over 26 Years<\/h1><p>Tropical Beat remains the leading recognized source of authentic Reggae and World Beat music.  Tropical Beat has been written about extensively in Billboard Magazine and many others industry publications.</p>";
Caption1[6]  = "<h1>Aired For Over 26 Years<\/h1><p>Tropical Beat remains the leading recognized source of authentic Reggae and World Beat music.  Tropical Beat has been written about extensively in Billboard Magazine and many others industry publications.</p>";

// ********************************************************
// what makes slideshow 1 work . don't change this!
// ********************************************************

var tss1;
var iss1;
var jss1 = 1;
var pss2 = Picture1.length-1;

var preLoad1 = new Array();
for (iss1 = 1; iss1 < pss2+1; iss1++){
preLoad1[iss1] = new Image();
preLoad1[iss1].src = Picture1[iss1];}

function runSlideShow1(){
if (document.all){
document.images.PictureBox1.style.filter="blendTrans(duration=2)";
document.images.PictureBox1.style.filter="blendTrans(duration=CrossFadeDuration1)";
document.images.PictureBox1.filters.blendTrans.Apply();}
document.images.PictureBox1.src = preLoad1[jss1].src;
if (document.getElementById) document.getElementById("CaptionBox1").innerHTML= Caption1[jss1];
if (document.all) document.images.PictureBox1.filters.blendTrans.Play();
jss1 = jss1 + 1;
if (jss1 > (pss2)) jss1=1;
tss1 = setTimeout('runSlideShow1()', SlideShowSpeed1);
}

// ********************************************************
// end of slideshow 1
// ********************************************************

// slideshow 2

// Set the third slideshow speed (in milliseconds)
var SlideShowSpeed2 = 7000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration2 = 2;

var Picture2 = new Array(); // don't change this

// Specify slideshow 2 image files...

Picture2[1]  = 'images/fraud.jpg';
Picture2[2]  = 'images/missRiverFlood.jpg';
Picture2[3]  = 'images/factory.jpg';
Picture2[4]  = 'images/waste.jpg';
Picture2[5]  = 'images/crossing.jpg';

var Caption2 = new Array(); // don't change this

// Specify slideshow 2 Captions...

Caption2[1]  = "<h1>Agriculture Fraud<\/h1><p>When a claim of agriculture damage due to a storm was investigated, satellite imagery showed no storm damaged crops on the property and that the owners didn't even bother plowing or planting their fields.</p>";
Caption2[2]  = "<h1>Flood Damage<\/h1><p>This satellite image of the Mississippi River, before and just after the 1993 flood, was used by risk assessment, emergency response and settlement professionals to fairly assess and distribute resources.</p>";
Caption2[3]  = "<h1>Toxic Releases and Explosions<\/h1><p>The concentric rings plot the overpressure potential and likely danger versus distance from a refinery explosion and fire.</p>";
Caption2[4]  = "<h1>Mapping Health Risks<\/h1><p>This map shows the locations of waste sites, dumps and toxic releases, which are highly correlated with increased risk of disease.</p>";
Caption2[5]  = "<h1>Signal Crossing<\/h1><p>The Crossing Signal animation illustrates the sequence of events during a highway railroad grade crossing accident.</p>";

// ********************************************************
// what makes slideshow 2 work . don't change this!
// ********************************************************

var tss2;
var iss2;
var jss2 = 1;
var pss2 = Picture2.length-1;

var preLoad2 = new Array();
for (iss2 = 1; iss2 < pss2+1; iss2++){
preLoad2[iss2] = new Image();
preLoad2[iss2].src = Picture2[iss2];}

function runSlideShow2(){
if (document.all){
document.images.PictureBox2.style.filter="blendTrans(duration=2)";
document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration2)";
document.images.PictureBox2.filters.blendTrans.Apply();}
document.images.PictureBox2.src = preLoad2[jss2].src;
if (document.getElementById) document.getElementById("CaptionBox2").innerHTML= Caption2[jss2];
if (document.all) document.images.PictureBox2.filters.blendTrans.Play();
jss2 = jss2 + 1;
if (jss2 > (pss2)) jss2=1;
tss2 = setTimeout('runSlideShow2()', SlideShowSpeed2);
}

// ********************************************************
// end of slideshow 2
// ********************************************************

