// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

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

// 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

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = 'thefloridian/The_Floridian-16.jpg';
Picture[2]  = 'thefloridian/The_Floridian-10.jpg';
Picture[3]  = 'thehammock/TheHammock-10.jpg';
Picture[4]  = 'thehammock/TheHammock-12.jpg';
Picture[5]  = 'thehammock/TheHammock-8.jpg';
Picture[6]  = 'thehammock/TheHammock-9.jpg';    
Picture[7]  = 'theloft/TheLoft-10.jpg';    
Picture[8]  = 'theloft/TheLoft-8.jpg';    
Picture[9]  = 'thenook/thenook-5.jpg';
Picture[10]  = 'thenook/thenook-7.jpg';   
Picture[11]  = 'theoceanbreeze/theoceanbreeze-4.jpg';   
Picture[12]  = 'theopenair/theopenair-7.jpg';   
Picture[13]  = 'thewaterview/thewaterview-3.jpg';
Picture[14]  = 'thewaterview/thewaterview-11.jpg';    
Picture[15]  = 'thewaterview/thewaterview-15.jpg';    
Picture[16]  = 'thewaterview/thewaterview-7.jpg';
Picture[17]  = 'thewaterview/thewaterview-6.jpg';     
Picture[18]  = 'thewaterview/thewaterview-8.jpg';  
Picture[19]  = 'thewaterview/thewaterview-9.jpg';  

// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "Water view Of The Miami Beach Vacation Resort";
Caption[2]  = "Beautiful backyard view, directly on the Water";
Caption[3]  = "Water view of the Boat Dock";
Caption[4]  = "Courtyard view, of the Jacuzzi and Barbeque Area";
Caption[5]  = "View of the Boat Dock, with access for Kayaks";
Caption[6]  = "Peacefull Courtyard with Patio and seating area";
Caption[7]  = "Exterior view of the Downtown Loft";   
Caption[8]  = "Spacious Backyard, perfect for any events";   
Caption[9]  = "Courtyard view of the Miami Beach Vacation Resort";   
Caption[10]  = "Orchids blooming in our Peacefull Backyard Garden";
Caption[11]  = "Courtyard view, with seating patios on the second floor";
Caption[12]  = "Courtyard view showing a wide variety of Palms, and Plants";
Caption[13]  = "The Apartment &quot;The Waterview&quot; with direct water view";
Caption[14]  = "Lookout onto the water from an apartment of the Miami Beach Vacation Resort";    
Caption[15]  = "Another view direct onto the water from &quot;The Waterview&quot;";    
Caption[16]  = "View from the Courtyard to the second floor of the private patio";    
Caption[17]  = "The private patio, with spacious seating area";    
Caption[18]  = "View of the Courtyard from the Balcony from one of the Apartments";    
Caption[19]  = "Another view of the Courtyard with the beautiful landscaping";    

// =====================================
// Do not edit anything below this line!
// =====================================

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