// 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/Milano-2-Drawer-Bedside-Chest.jpg';
 Picture[2]  = 'photos/Milano-3-Drawer-Wide-Chest.jpg';
 Picture[3]  = 'photos/Milano-4-Drawer-Chest.jpg';
 Picture[4]  = 'photos/Milano-6-Drawer-Double-Chest.jpg';
 Picture[5]  = 'photos/Milano-5-Drawer-Slim-Jim.jpg';
 Picture[6]  = 'photos/Milano-Double-Pedestal-Desk.jpg';
 Picture[7]  = 'photos/Milano-Ladies-Wardrobe.jpg';
 Picture[8]  = 'photos/Milano-Gents-Wardrobe.jpg';
 Picture[9]  = 'photos/Milano-Triple-Wardrobe.jpg';
Picture[10]  = 'photos/Milano-4x6-Bed.jpg';
Picture[11]  = 'photos/Milano-5-Bed.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();
}}