// 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-Coffee-Table.jpg';
 Picture[2]  = 'photos/Milano-Lamp-Table.jpg';
 Picture[3]  = 'photos/Milano-Console-Table.jpg';
 Picture[4]  = 'photos/Milano-Nest-of-Tables.jpg';
 Picture[5]  = 'photos/Rustique-Console-Table.jpg';
 Picture[6]  = 'photos/Rustique-Coffee-Table.jpg';
 Picture[7]  = 'photos/Dijon-range-08-006.jpg';
 Picture[8]  = 'photos/Dijon-range-08-017.jpg';
 Picture[9]  = 'photos/Forest-Coffee-table-and-drawer.jpg';
 Picture[10] = 'photos/Montreal-Dining-Console-Table.jpg';
 Picture[11] = 'photos/Montreal-Dining-Large-Coffee-Table.jpg';
 Picture[12] = 'photos/Milano-TV-Unit.jpg';
 Picture[13] = 'photos/Milano-Corner-TV-Unit.jpg';
 Picture[14] = 'photos/Milano-Low-Line-Unit.jpg';
 Picture[15] = 'photos/Milano-Wine-Rack.jpg';
 Picture[16] = 'photos/Rustique-TV-Cabinet.jpg';
 Picture[17] = 'photos/Rustique-Low-Unit.jpg';
 Picture[18] = 'photos/Rustique-Lamp-Table.jpg';
 Picture[19] = 'photos/Rustique-CD-Bookcase.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-square-coffee-table.jpg';
 Picture[26] = 'photos/Carla-TV-stand.jpg';
 Picture[27] = 'photos/Carla-Oblong-coffee-table.jpg';
 Picture[28] = 'photos/Dijon-range-08-005.jpg';
 Picture[29] = 'photos/Dijon-range-08-006.jpg';
 Picture[30] = 'photos/Dijon-range-08-014.jpg';
 Picture[31] = 'photos/Dijon-range-08-017.jpg';
 Picture[32] = 'photos/Dijon-range-08-020.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();
}}