var SlideShowSpeed = 10000;
var CrossFadeDuration = 500;

var SlideShowSpeed1 = 6000;
var CrossFadeDuration1 = 500;

var Picture = new Array(); // don't change this
var Picture1 = new Array(); // don't change this
var Caption = new Array(); // don't change this
var Caption1 = new Array(); // don't change this

Picture[1]  = 'testimonials/test1.gif';
Picture[2]  = 'testimonials/test5.gif';
Picture[3]  = 'testimonials/test4.gif';
Picture[4]  = 'testimonials/coby.gif';
Picture[5]  = 'testimonials/test6.gif';
Picture[6]  = 'testimonials/test3.gif';
Picture[7]  = 'testimonials/test1.gif';
Picture[8]  = 'testimonials/modius.gif';
Picture[9]  = 'testimonials/test8.gif';


Caption[1]  = ".";
Caption[2]  = ".";
Caption[3]  = ".";
Caption[4]  = ".";
Caption[5]  = ".";
Caption[6]  = ".";
Caption[7]  = ".";
Caption[8]  = ".";
Caption[9]  = ".";

Picture1[1]  = 'index_slides/indexpoints.gif';
Caption1[1]  = ".";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;

var tss1;
var iss1;

var jss = 1;
var jss1 = 1;
var pss = Picture.length-1;
var pss1 = Picture1.length-1;
var preLoad = new Array();
var preLoad1 = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

for (iss1 = 1; iss1 < pss1+1; iss1++){
preLoad1[iss1] = new Image();
preLoad1[iss1].src = Picture1[iss1];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=1300)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

function runSlideShow1(){
if (document.all){
document.images.PictureBox1.style.filter="blendTrans(duration=1300)";
document.images.PictureBox1.style.filter="blendTrans(duration=CrossFadeDuration1)";
document.images.PictureBox1.filters.blendTrans.Apply();}
document.images.PictureBox1.src = preLoad1[jss1].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption1[jss1];
if (document.all) document.images.PictureBox1.filters.blendTrans.Play();
jss1 = jss1 + 1;
if (jss1 > (pss1)) jss1=1;
tss1 = setTimeout('runSlideShow1()', SlideShowSpeed1);
}

