<!--

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed2 = 4000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration2 = 6;

// Images
var PictureSet2 = new Array();


PictureSet2[1]  = 'Images/main_img1.jpg';
PictureSet2[2]  = 'Images/main_img2.jpg';
PictureSet2[3]  = 'Images/main_img3.jpg';
PictureSet2[4]  = 'Images/main_img4.jpg';
PictureSet2[5]  = 'Images/main_img5.jpg';



// Slide Show 
var tss2;
var iss2;
var jss2 = 1;
var pss2 = PictureSet2.length-1;

var preLoad2 = new Array();
for (iss2 = 1; iss2 < pss2+1; iss2++){
preLoad2[iss2] = new Image();
preLoad2[iss2].src = PictureSet2[iss2];}

function runSlideShow2(){
if (document.all){
document.images.PictureBox2.style.filter="blendTrans(duration=2)";
document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration2)";
document.images.PictureBox2.filters.blendTrans.Apply();}
document.images.PictureBox2.src = preLoad2[jss2].src;

if (document.all) document.images.PictureBox2.filters.blendTrans.Play();
jss2 = jss2 + 1;
if (jss2 > (pss2)) jss2=1;
tss2 = setTimeout('runSlideShow2()', SlideShowSpeed2);
}
//


//->
