// 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/Bedroom-Welland-1-Door-Wardrobe.jpg';
 Picture[2]  = 'photos/Bedroom-Welland-2-Door-Wardrobe-with-Mirror.jpg';
 Picture[3]  = 'photos/Bedroom-Welland-3-Bed.jpg';
 Picture[4]  = 'photos/Bedroom-Welland-3-Drawer-Bedside.jpg';
 Picture[5]  = 'photos/Bedroom-Welland-4+2-Chest-of-Drawers.jpg';
 Picture[6]  = 'photos/Bedroom-Welland-4-6-Bed.jpg';
 Picture[7]  = 'photos/Bedroom-Welland-4-Drawer-Chest.jpg';
 Picture[8]  = 'photos/Bedroom-Welland-5-Drawer-Slim-Jim.jpg';
 Picture[9]  = 'photos/Bedroom-Welland-5-King-Size-Bed.jpg';
 Picture[10]  = 'photos/Bedroom-Welland-9-Drawer-Large-Chest.jpg';
 Picture[11]  = 'photos/Bedroom-Welland-Blanket-Box.jpg';
 Picture[12]  = 'photos/Bedroom-Welland-Double-Pedestal-Desk.jpg';
 Picture[13]  = 'photos/Bedroom-Welland-Full-Hang-Wardrobe.jpg';
 Picture[14]  = 'photos/Bedroom-Welland-Swivel-Mirror.jpg';
 Picture[15]  = 'photos/Bedroom-Welland-Triple-Mirror.jpg';
 Picture[16]  = 'photos/Bedroom-Welland-Triple-Wardrobe-with-Mirror.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();
}}