// 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/Oak-Dining-Chair-1.jpg';
 Picture[2] = 'photos/Oak-Dining-Chair-2.jpg';
 Picture[3] = 'photos/Oak-Dining-Chair-3.jpg';
 Picture[4] = 'photos/Oak-Dining-Chair-4.jpg';
 Picture[5] = 'photos/Nevad-Chair.jpg';
 Picture[6] = 'photos/Oak-Dining-Chair-6.jpg';
 Picture[7] = 'photos/Milano-Dining-Leather-seat-dining-chair.jpg';
 Picture[8] = 'photos/Oregon-Nevada-leather-seat-chair.jpg';
Picture[10] = 'photos/Rustique-Dining-Leather-seat-dining-chair.jpg';
Picture[11] = 'photos/DistressedFabric.jpg';
Picture[12] = 'photos/KDBondedLeatherScrollBack-GlossBrown.jpg';
Picture[13] = 'photos/KDDistressedFabric.jpg';
Picture[14] = 'photos/KDGlossBlack.jpg';
Picture[15] = 'photos/KDGlossBrown.jpg';
Picture[16] = 'photos/KDIvory.jpg';
Picture[17] = 'photos/KDIvoryGloss.jpg';
Picture[18] = 'photos/KDMattBlack.jpg';
Picture[19] = 'photos/KDMattBrown.jpg';
Picture[20] = 'photos/KDRed.jpg';
Picture[21] = 'photos/AtlantaLeather.jpg';
Picture[22] = 'photos/DaniellaChair.jpg';
Picture[23] = 'photos/HamiltonChair.jpg';
Picture[24] = 'photos/SmallStool.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();
}}
