// Set the transition speed (in milliseconds)
var TransSpeed = 10000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 1;

var Picture = new Array();
var showHot = false;

// Specify the image files...
 Picture[1]  = 'photos/Carla-Bookcase-glazed-cupboard.jpg';
 Picture[2]  = 'photos/Carla-Bookcase-cupboard.jpg';
 Picture[3]  = 'photos/Carla-Bookcase-drawer.jpg';
 Picture[4]  = 'photos/Carla-Dresser.jpg';
 Picture[5]  = 'photos/Carla-Small-Sideboard.jpg';
 Picture[6]  = 'photos/Carla-TV-stand.jpg';
 Picture[7]  = 'photos/Carla-Mirror.jpg';
 Picture[8]  = 'photos/Carla-Three-drawer-coffee-table.jpg';
 Picture[9]  = 'photos/Carla-Oblong-coffee-table.jpg';
Picture[10]  = 'photos/Carla-Dresser-base.jpg';
Picture[11]  = 'photos/Carla-small-sideboard-120.jpg';
Picture[12]  = 'photos/Carla-square-coffee-table.jpg';
Picture[13]  = 'photos/Carla-Extendable-table.jpg';
Picture[14]  = 'photos/Carla-oak-or-beech-chair.jpg';
Picture[15]  = 'photos/Carla-oak-chair.jpg';
Picture[16]  = 'photos/Carla-pair-extension-leaves.jpg';
Picture[17]  = 'photos/Carla-double-wardrobe.jpg';
Picture[18]  = 'photos/Carla-seven-drawer-chest.jpg';
Picture[19]  = 'photos/Carla-five-drawer-chest.jpg';
Picture[20]  = 'photos/Carla-two-drawer-hall-table.jpg';
Picture[21]  = 'photos/Carla-lamp-stand.jpg';
Picture[22]  = 'photos/Carla-one-drawer-hall-table.jpg';
Picture[23]  = 'photos/Carla-nest-of-tables.jpg';
Picture[24]  = 'photos/Carla-Buffet-Sideboard.jpg';
Picture[25]  = 'photos/Carla-Extending-Drawleaf-Table.jpg';

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){
jss = how;
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.all) document.images.PictureBox.filters.blendTrans.Play();
}}