// 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/Cambridge-3ft-Sideboard.jpg';
 Picture[2]  = 'photos/Cambridge-Drop-Leaf-Table-And-Chairs.jpg';
 Picture[3]  = 'photos/Cambridge-Drop-Leaf-Table.jpg';
 Picture[4]  = 'photos/Cambridge-Mini-Fliptop-Table-And-Chairs.jpg';
 Picture[5]  = 'photos/Cambridge-Mini-Fliptop-Table.jpg';
 Picture[6]  = 'photos/Cambridge-Painted-Dining Chair.jpg';
 Picture[7]  = 'photos/Stamford-3ft-Sideboard.jpg';
 Picture[8]  = 'photos/Stamford-Dining-Chair.jpg';
 Picture[9]  = 'photos/Stamford-Drop-Leaf-Table-And-Chairs.jpg';
Picture[10]  = 'photos/Stamford-Drop-Leaf-Table.jpg';
Picture[11]  = 'photos/Stamford-Mini-Fliptop-Table-And-Chairs.jpg';
Picture[12]  = 'photos/Stamford-Mini-Fliptop-Table.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();
}}