var SlideShowSpeed = 3000;
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]  = '/images/floorplans/full/timber-a.gif';
Picture[2]  = '/images/floorplans/full/timber-b1.gif';
Picture[3]  = '/images/floorplans/full/timber-b2.gif';
Picture[4]  = '/images/floorplans/full/timber-c2.gif';
Picture[5]  = '/images/floorplans/full/timber-d.gif';
Picture[6]  = '/images/floorplans/full/timber-f1.gif';
Picture[7]  = '/images/floorplans/full/timber-f2.gif';

Caption[1]  = "3 Bedroom, 2 Bath, 1,145 sq. ft.";
Caption[2]  = "2 Bedroom, 1 Bath, 932 sq. ft.";
Caption[3]  = "1 Bedroom, 1 Bath, 895 sq. ft.";
Caption[4]  = "2 Bedroom, 2 Bath, 1,045 sq. ft.";
Caption[5]  = "2 Bedroom, 2 Bath, 1,035 sq. ft.";
Caption[6]  = "1 Bedroom, 1 Bath, 830 sq. ft.";
Caption[7]  = "2 Bedroom, 2 Bath, 1,100 sq. ft.";

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

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