// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
var Pic2 = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0]='images/completed_projecthome1.gif';
Pic[1]='images/completed_projecthome2.gif';
Pic[2]='images/completed_projecthome1.gif';
Pic[3]='images/completed_projecthome2.gif';

Pic2[0]='images/completed_projecthome2.gif';
Pic2[1]='images/completed_projecthome1.gif';
Pic2[2]='images/completed_projecthome2.gif';
Pic2[3]='images/completed_projecthome1.gif';




// do not edit anything below this line
var t;
var j = 0;
var i = 0;
var p = Pic.length;
var preLoad = new Array();
var preLoad2 = new Array();

preLoad[j] = new Image();
preLoad2[i] = new Image();

preLoad[j].src = Pic[j];
preLoad2[i].src = Pic2[i];

function runSlideShow1() 
{
if (document.all) 
{
document.images.Slideshow1.style.filter="blendTrans(duration=2)";
document.images.Slideshow1.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.Slideshow1.filters.blendTrans.Apply();

document.images.Slideshow2.style.filter="blendTrans(duration=2)";
document.images.Slideshow2.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.Slideshow2.filters.blendTrans.Apply();
}

document.images.Slideshow1.src = preLoad[j].src;
document.images.Slideshow2.src = preLoad2[i].src;

if (document.all) 
{
document.images.Slideshow1.filters.blendTrans.Play();
document.images.Slideshow2.filters.blendTrans.Play();
}

j = j + 1;
i = i + 1;
if (j > (p - 1)) j = 0;
if (i > (p - 1)) i = 0;


preLoad[j] = new Image();
preLoad2[i] = new Image();

preLoad[j].src = Pic[j];
preLoad2[i].src = Pic2[i];

t = setTimeout('runSlideShow1()', slideShowSpeed);



}
//  End -->

