// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed2 = 6000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration2 = 6;

// declare the arrays - don't change this.

var PictureSV = new Array(); 
//var PictureSV = 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.

PictureSV[1]  = 'images/slidesr/SVslide_1.jpg';
PictureSV[2]  = 'images/slidesr/SVslide_2.jpg';
PictureSV[3]  = 'images/slidesr/SVslide_3.jpg';
PictureSV[4]  = 'images/slidesr/SVslide_4.jpg';
PictureSV[5]  = 'images/slidesr/SVslide_1.jpg';
PictureSV[6]  = 'images/slidesr/SVslide_2.jpg';
PictureSV[7]  = 'images/slidesr/SVslide_3.jpg';
PictureSV[8]  = 'images/slidesr/SVslide_4.jpg';







// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = PictureSV.length-1;
//var pss2 = PictureSV.length-1;


//preloaders

var preLoad = new Array();
	for (iss = 1; iss < pss+1; iss++)
		{
		preLoad[iss] = new Image();
		preLoad[iss].src = PictureSV[iss];
		}



//slideshow effects

function runSlideShowSV1(){
	

	if (document.all){
	document.images.PictureBoxSV.style.filter="blendTrans(duration=2)";
	document.images.PictureBoxSV.style.filter="blendTrans(duration=3)";
	document.images.PictureBoxSV.filters.blendTrans.Apply();

	
	
	}
	//#1
	document.images.PictureBoxSV.src = preLoad[jss].src;
	if (document.all) document.images.PictureBoxSV.filters.blendTrans.Play();
	//#2

	//document.images.PictureBoxSV.src = 2[jss].src;
	//if (document.all) document.images.PicturepreLoadBoxSV.filters.blendTrans.Play();
	
	jss = jss + 1;
	//#1
	if (jss > (pss)) jss=1;
	//#2

	//if (jss > (pss2)) jss=1;
	
	
	tss = setTimeout('runSlideShowSV1()', SlideShowSpeed2);
	
	}
