// 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';

Picture[12]  = 'photos/Milano-Bedroom-3-drawer-chest.jpg';
Picture[13]  = 'photos/Milano-Bedroom-4-6-Bed.jpg';
Picture[14]  = 'photos/Milano-Bedroom-4-drawer-chest.jpg';
Picture[15]  = 'photos/Milano-Bedroom-5-drawer-slim-jim.jpg';
Picture[16]  = 'photos/Milano-Bedroom-6-drawer-chest.jpg';
Picture[17]  = 'photos/Milano-Bedroom-Bedside-cabinet.jpg';
Picture[18]  = 'photos/Milano-Bedroom-Corner-robe.jpg';
Picture[19]  = 'photos/Milano-Bedroom-Double-pedestal-dressing-table-.jpg';
Picture[20]  = 'photos/Milano-Bedroom-Gents-wardrobe.jpg';
Picture[21]  = 'photos/Milano-Bedroom-Ladies-full-hanging-wardrobe.jpg';
Picture[22]  = 'photos/Milano-Bedroom-Single-pedestal-dressing-table.jpg';
Picture[23]  = 'photos/Milano-Bedroom-Stool.jpg';
Picture[24]  = 'photos/Milano-Bedroom-Swivel-mirror.jpg';
Picture[25]  = 'photos/Milano-Bedroom-Triple-wardrobe.jpg';
Picture[26]  = 'photos/Milano-Bedroom-Wall-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();
}}
