// (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]  = 'hphotos/costa/1.jpg';
Picture[2]  = 'hphotos/costa/3.jpg';
Picture[3]  = 'hphotos/costa/2.jpg';
Picture[4]  = 'hphotos/costa/4.jpg';
Picture[5]  = 'hphotos/costa/5.jpg';
Picture[6]  = 'hphotos/costa/6.jpg';
Picture[7]  = 'hphotos/costa/7.jpg';
Picture[8]  = 'hphotos/costa/8.jpg';
Picture[9]  = 'hphotos/costa/9.jpg';
Picture[10]  = 'hphotos/costa/10.jpg';
Picture[11]  = 'hphotos/costa/11.jpg';
Picture[12]  = 'hphotos/costa/12.jpg';
Picture[13]  = 'hphotos/costa/13.jpg';
Picture[14]  = 'hphotos/costa/14.jpg';
Picture[15]  = 'hphotos/costa/15.jpg';
Picture[16]  = 'hphotos/costa/16.jpg';
Picture[17]  = 'hphotos/costa/17.jpg';

Caption[1]  = "Lodge in der Drake Bay";
Caption[2]  = "Xandari Plantation";
Caption[3]  = "Resort am Arenal Vulkan";
Caption[4]  = "Resort am Arenal Vulkan";
Caption[5]  = "Capitan Suizo";
Caption[6]  = "Lodge am Vulkan Poas";
Caption[7]  = "Finca Rosa Blanca ...";
Caption[8]  = "... eines der besten Hotels des Landes";
Caption[9]  = "'grüne Küste' bei Manuel Antonio";
Caption[10]  = "private Villa ...";
Caption[11]  = "... mit Aussicht [Manuel Antonio]";
Caption[12]  = "Villas Caletas ...";
Caption[13]  = "... mit eigenem Amphitheater";
Caption[14]  = "El Jardin [Halbinsel Nicoya]";
Caption[15]  = "Grano de Oro";
Caption[16]  = "Hotel Kekoldi";
Caption[17]  = "Lodge am Tortuguero Nationalpark";

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