function init () {
startPix1();
startPix2();
startPix3();
}


var timeDelay = 5; // change delay time in seconds

var Pix1 = new Array
("images/sponsor1.jpg"
,"images/sponsor2.jpg");

var howMany1 = Pix1.length;
timeDelay *= 1000;
var Pic1CurrentNum = 0;
var Pic1Current = new Image();
Pic1Current.src = Pix1[Pic1CurrentNum];

function startPix1() {
setInterval("slideshow1()", timeDelay);
}

function slideshow1() {
Pic1CurrentNum++;
if (Pic1CurrentNum == howMany1) {
Pic1CurrentNum = 0;
}
Pic1Current.src = Pix1[Pic1CurrentNum];
document["ChangingPix1"].src = Pic1Current.src;
}

var timeDelay2 = 3; // change delay time in seconds

var Pix2 = new Array
("images/act_photo1.jpg"
,"images/act_photo2.jpg"
,"images/act_photo3.jpg"
,"images/act_photo4.jpg"
,"images/act_photo5.jpg"
,"images/act_photo6.jpg"
,"images/act_photo7.jpg"
,"images/act_photo8.jpg"
,"images/act_photo9.jpg");

var howMany2 = Pix2.length;
timeDelay2 *= 1000;
var Pic2CurrentNum = 0;
var Pic2Current = new Image();
Pic2Current.src = Pix2[Pic2CurrentNum];

function startPix2() {
setInterval("slideshow2()", timeDelay2);
}

function slideshow2() {
Pic2CurrentNum++;
if (Pic2CurrentNum == howMany2) {
Pic2CurrentNum = 0;
}
Pic2Current.src = Pix2[Pic2CurrentNum];
document["ChangingPix2"].src = Pic2Current.src;
}

var timeDelay = 5; // change delay time in seconds

var Pix3 = new Array
("images/sponsor1_90.jpg"
,"images/sponsor2_90.jpg");

var howMany3 = Pix3.length;
timeDelay *= 1000;
var Pic3CurrentNum = 0;
var Pic3Current = new Image();
Pic3Current.src = Pix3[Pic1CurrentNum];

function startPix3() {
setInterval("slideshow3()", timeDelay);
}

function slideshow3() {
Pic3CurrentNum++;
if (Pic3CurrentNum == howMany3) {
Pic3CurrentNum = 0;
}
Pic3Current.src = Pix3[Pic3CurrentNum];
document["ChangingPix3"].src = Pic3Current.src;
}
