// JavaScript Document


var SlideShowSpeed = 3000;
var CrossFadeDuration = 2;
var Picture01 = new Array(); // don't change this
//var Picture02 = new Array(); // don't change this
//var Picture03 = new Array(); // don't change this
//var Picture04 = new Array(); // don't change this
//var Picture05 = new Array(); // don't change this
var showHot = false;       // don't change this

Picture01[0]  = '../images/inner011.jpg'
Picture01[1]  = '../images/inner023.jpg'
Picture01[2]  = '../images/inner033.jpg'
//Picture01[3]  = '../images/inner04.jpg'
//Picture01[4]  = '../images/inner05.jpg'
//Picture01[5]  = '../images/inner06.jpg'
//Picture01[6]  = '../images/inner07.jpg'
//Picture01[7]  = '../images/inner08.jpg'
//Picture01[8]  = '../images/inner09.jpg'

var tss;
var iss;
var jss = 0;
var pss = Picture01.length-1;
	var preLoad01 = new Array();
	//var preLoad02 = new Array();
	//var preLoad03 = new Array();
	//var preLoad04 = new Array();
	//var preLoad05 = new Array();
	for (iss = 0; iss < pss+1; iss++)
	{
		preLoad01[iss] = new Image();
		preLoad01[iss].src = Picture01[iss];
		//preLoad02[iss] = new Image();
		//preLoad02[iss].src = Picture02[iss];
		//preLoad03[iss] = new Image();
		//preLoad03[iss].src = Picture03[iss];
		//preLoad04[iss] = new Image();
		//preLoad04[iss].src = Picture04[iss];
		//preLoad05[iss] = new Image();
		//preLoad05[iss].src = Picture05[iss];
	}

function control01(picnumber)
{
	if (document.all)
	{
		document.images.PictureBox01.style.filter="blendTrans(duration=2)";
		document.images.PictureBox01.style.filter="blendTrans(duration=CrossFadeDuration)";
		document.images.PictureBox01.filters.blendTrans.Apply();
	}
		document.images.PictureBox01.src = preLoad01[picnumber].src;
		if (document.all) document.images.PictureBox01.filters.blendTrans.Play();
		var rn = Math.floor(Math.random() * Picture01.length)
		var t=setTimeout("control01("+rn+")",3000)
}


function StartAnimation()
{
	setTimeout("control01(1)",3000)
	//setTimeout("control02(0)",4000)
	//setTimeout("control03(1)",5000)
	//setTimeout("control04(0)",6000)
	//setTimeout("control05(1)",3000)
}

StartAnimation()

