// 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/Pine-Dining-ComfortZone-1-drawer-stacker.jpg';
 Picture[2] = 'photos/Pine-Dining-ComfortZone-2-drawer-stacker.jpg';
 Picture[3] = 'photos/Pine-Dining-ComfortZone-3-drawer-2-door-video-cabinet.jpg';
 Picture[4] = 'photos/Pine-Dining-ComfortZone-4feet-Monks-Bench.jpg';
 Picture[5] = 'photos/Pine-Dining-ComfortZone-budget-bookcase.jpg';
 Picture[6] = 'photos/Pine-Dining-ComfortZone-cupboard-bookcase.jpg';
 Picture[7] = 'photos/Pine-Dining-ComfortZone-Half-Wine-Rack.jpg';
 Picture[8] = 'photos/Pine-Dining-ComfortZone-Large-Wine-Rack.jpg';
 Picture[9] = 'photos/Pine-Dining-ComfortZone-Slim-Jim-Buttermilk.jpg';
 Picture[10] = 'photos/Pine-Dining-ComfortZone-small-bookcase.jpg';
 Picture[11] = 'photos/Pine-Dining-ComfortZone-Small-Open-Video-Unit.jpg';
 Picture[12] = 'photos/Pine-Dining-ComfortZone-tall-adjustable-bookcase.jpg';
 Picture[13] = 'photos/Pine-Dining-ComfortZone-2-drawer-Wall-Shelf.jpg';
 Picture[14] = 'photos/Pine-Dining-ComfortZone-3-drawer-Wall-Shelf.jpg';
 Picture[15] = 'photos/Pine-Dining-ComfortZone-Monks-Cupboard.jpg';
 Picture[16] = 'photos/Pine-Dining-ComfortZone-Wall-Shelf-Buttermilk.jpg';
 Picture[17] = 'photos/Pine-Dining-ComfortZone-Wall-Shelf.jpg';
 Picture[18] = 'photos/tv_unit_1.jpg';
 Picture[19] = 'photos/tv_unit_2.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();
}}
