// (C) 2003 by CodeLifter.com

var SlideShowSpeed = 3000;

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

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

Picture[1]  = 'photos/costa-rica/sehens/1.jpg';
Picture[2]  = 'photos/costa-rica/sehens/2.jpg';
Picture[3]  = 'photos/costa-rica/sehens/3.jpg';
Picture[4]  = 'photos/costa-rica/sehens/4.jpg';
Picture[5]  = 'photos/costa-rica/sehens/5.jpg';
Picture[6]  = 'photos/costa-rica/sehens/6.jpg';
Picture[7]  = 'photos/costa-rica/sehens/7.jpg';
Picture[8]  = 'photos/costa-rica/sehens/8.jpg';
Picture[9]  = 'photos/costa-rica/sehens/9.jpg';
Picture[10]  = 'photos/costa-rica/sehens/10.jpg';
Picture[11]  = 'photos/costa-rica/sehens/11.jpg';
Picture[12]  = 'photos/costa-rica/sehens/12.jpg';
Picture[13]  = 'photos/costa-rica/sehens/13.jpg';
Picture[14]  = 'photos/costa-rica/sehens/14.jpg';

Caption[1]  = "Lagune im Krater des Vulkan Poás";
Caption[2]  = "Lagune im Krater des Vulkan Irazú";
Caption[3]  = "Den Vulkan Arenal sieht man selten so klar";
Caption[4]  = "Palo Verde Nationalpark";
Caption[5]  = "Punta Uvita kurz vor der Flut ...";
Caption[6]  = "... und aus dem Flugzeug";
Caption[7]  = "Sonnenuntergänge am Pazifik sind sensationell";
Caption[8]  = "auch die Strände der Bahia Drake ...";
Caption[9]  = "... und der Isla Tortuga können sich sehen lassen";
Caption[10]  = "Arakanga und ...";
Caption[11]  = "... Urwaldriese im Corcovado Nationalpark";
Caption[12]  = "neugieriger Leguan im Cabo Blanco Nationalpark";
Caption[13]  = "Cachi Stausee";
Caption[14]  = "In einigen Nationalparks findet man Pfeilgiftfrösche";

var tss;
var iss;
var jss = 0;
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 control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
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();
}}
