// 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-150cm-table.jpg';
 Picture[2]  = 'photos/Milano-thick-top-table.jpg';
 Picture[3]  = 'photos/Milano-Square-Dining-Table.jpg';
 Picture[4]  = 'photos/Milano-Dining-Chair-Leather-Seat.jpg';
 Picture[5]  = 'photos/Milano-Glass-Display-Cabinet.jpg';
 Picture[6]  = 'photos/Milano-2-Door-4-Drawer-Sideboard.jpg';
 Picture[7]  = 'photos/Milano-Dresser-Top-Glass-Door.jpg';
 Picture[8]  = 'photos/Milano-2-Door-Sideboard.jpg';
 Picture[9]  = 'photos/Milano-2-Door-Glass-Dresser-Top.jpg';
Picture[10]  = 'photos/Milano-Tall-Bookcase.jpg';
Picture[11]  = 'photos/Milano-TV-Unit.jpg';
Picture[12]  = 'photos/Milano-Corner-TV-Unit.jpg';
Picture[13]  = 'photos/Milano-Low-Line-Unit.jpg';
Picture[14]  = 'photos/Milano-Coffee-Table.jpg';
Picture[15]  = 'photos/Milano-Lamp-Table.jpg';
Picture[16]  = 'photos/Milano-Console-Table.jpg';
Picture[17]  = 'photos/Milano-Nest-of-Tables.jpg';
Picture[18]  = 'photos/Milano-Wine-Rack.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();
}}