// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed2 = 10000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration2 = 3;

// declare the arrays - don't change this.

var PictureSD = new Array(); 
//var PictureSD = new Array();




// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.

PictureSD[1]  = 'images/slidesr2/SVslider2_5.jpg';
PictureSD[2]  = 'images/slidesr2/SVslider2_6.jpg';
PictureSD[3]  = 'images/slidesr2/SVslider2_7.jpg';
PictureSD[4]  = 'images/slidesr2/SVslider2_5.jpg';
PictureSD[5]  = 'images/slidesr2/SVslider2_6.jpg';
PictureSD[6]  = 'images/slidesr2/SVslider2_7.jpg';







// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = PictureSD.length-1;
//var pss2 = PictureSD.length-1;


//preloaders

var preLoad = new Array();
	for (iss = 1; iss < pss+1; iss++)
		{
		preLoad[iss] = new Image();
		preLoad[iss].src = PictureSD[iss];
		}



//slideshow effects

function runSlideShowSV2(){
	

	if (document.all){
	document.images.PictureBoxSD.style.filter="blendTrans(duration=2)";
	document.images.PictureBoxSD.style.filter="blendTrans(duration=3)";
	document.images.PictureBoxSD.filters.blendTrans.Apply();

	
	
	}
	//#1
	document.images.PictureBoxSD.src = preLoad[jss].src;
	if (document.all) document.images.PictureBoxSD.filters.blendTrans.Play();
	//#2

	//document.images.PictureBoxSD.src = 2[jss].src;
	//if (document.all) document.images.PicturepreLoadBoxSD.filters.blendTrans.Play();
	
	jss = jss + 1;
	//#1
	if (jss > (pss)) jss=1;
	//#2

	//if (jss > (pss2)) jss=1;
	
	
	tss = setTimeout('runSlideShowSV2()', SlideShowSpeed2);
	
	}
