// JavaScript Document  seta_imageswaptimeout.js used on Home page

function imageSwap1() {
var group1 = new Array(
"http://www.setasource.org/images/home_ban/07indy01.jpg",
"http://www.setasource.org/images/home_ban/06nashville03.jpg",
"http://www.setasource.org/images/home_ban/07destin12.jpg",
"http://www.setasource.org/images/home_ban/07indy04.jpg",
"http://www.setasource.org/images/home_ban/07dallas01.jpg",
"http://www.setasource.org/images/home_ban/07indy03.jpg",
"http://www.setasource.org/images/home_ban/06nashville02.jpg",
"http://www.setasource.org/images/home_ban/07indy02.jpg",
"http://www.setasource.org/images/home_ban/08charlotte09.jpg",
"http://www.setasource.org/images/home_ban/08charlotte14.jpg",
"http://www.setasource.org/images/home_ban/08charlotte05.jpg",
"http://www.setasource.org/images/home_ban/09summit02.jpg",
"http://www.setasource.org/images/home_ban/SETASE06y.jpg"
)
imageSwitch1 = Math.floor(Math.random()*group1.length);
var imgS1 = group1[imageSwitch1];
var img1 = document.getElementById("image1");
img1.setAttribute("src",imgS1);
setTimeout("imageSwap1()", 10000);
}

//MULIPLE PERSON IMAGE
function imageSwap2() {
var group2 = new Array(
"http://www.setasource.org/images/home_ban/SETASE06ac.jpg",
"http://www.setasource.org/images/home_ban/07dallas04.jpg",
"http://www.setasource.org/images/home_ban/06nashville04.jpg",
"http://www.setasource.org/images/home_ban/07indy06.jpg",
"http://www.setasource.org/images/home_ban/07slc02.jpg",
"http://www.setasource.org/images/home_ban/05tampa01.jpg",
"http://www.setasource.org/images/home_ban/07dallas06.jpg",
"http://www.setasource.org/images/home_ban/05tampa02.jpg",
"http://www.setasource.org/images/home_ban/07dallas02.jpg",
"http://www.setasource.org/images/home_ban/08charlotte08.jpg",
"http://www.setasource.org/images/home_ban/08charlotte13.jpg",
"http://www.setasource.org/images/home_ban/09summit05.jpg",
"http://www.setasource.org/images/home_ban/09summit06.jpg",
"http://www.setasource.org/images/home_ban/indycommittee1.jpg"
)
imageSwitch2 = Math.floor(Math.random()*group2.length);
var imgS2 = group2[imageSwitch2];
var img2 = document.getElementById("image2");
img2.setAttribute("src",imgS2);
setTimeout("imageSwap2()", 40000);
}


//SINGLE PERSON IMAGE
function imageSwap3() {
var group3 = new Array(
"http://www.setasource.org/images/home_ban/07indy08.jpg",
"http://www.setasource.org/images/home_ban/06dallas04.jpg",
"http://www.setasource.org/images/home_ban/06dallas01.jpg",
"http://www.setasource.org/images/home_ban/SETASE06h.jpg",
"http://www.setasource.org/images/home_ban/07slc03.jpg",
"http://www.setasource.org/images/home_ban/07slc01.jpg",
"http://www.setasource.org/images/home_ban/07indy09.jpg",
"http://www.setasource.org/images/home_ban/07destin09.jpg",
"http://www.setasource.org/images/home_ban/07dallas05.jpg",
"http://www.setasource.org/images/home_ban/08charlotte03.jpg",
"http://www.setasource.org/images/home_ban/08charlotte12.jpg",
"http://www.setasource.org/images/home_ban/09summit03.jpg",
"http://www.setasource.org/images/home_ban/07destin04.jpg"
)
imageSwitch3 = Math.floor(Math.random()*group3.length);
var imgS3 = group3[imageSwitch3];
var img3 = document.getElementById("image3");
img3.setAttribute("src",imgS3);
setTimeout("imageSwap3()", 26000);
}



//MULIPLE PERSON IMAGE
function imageSwap4() {
var group4 = new Array(
"http://www.setasource.org/images/home_ban/SETASE06k.jpg",
"http://www.setasource.org/images/home_ban/SETASE06n.jpg",
"http://www.setasource.org/images/home_ban/06dallas05.jpg",
"http://www.setasource.org/images/home_ban/07destin11.jpg",
"http://www.setasource.org/images/home_ban/07dallas03.jpg",
"http://www.setasource.org/images/home_ban/07slc04.jpg",
"http://www.setasource.org/images/home_ban/07indy05.jpg",
"http://www.setasource.org/images/home_ban/08anaheim01.jpg",
"http://www.setasource.org/images/home_ban/07destin02.jpg",
"http://www.setasource.org/images/home_ban/08charlotte02.jpg",
"http://www.setasource.org/images/home_ban/08charlotte04.jpg",
"http://www.setasource.org/images/home_ban/08charlotte04.jpg",
"http://www.setasource.org/images/home_ban/08charlotte10.jpg",
"http://www.setasource.org/images/home_ban/08charlotte15.jpg",
"http://www.setasource.org/images/home_ban/08dallas01.jpg",
"http://www.setasource.org/images/home_ban/08fall01.jpg",
"http://www.setasource.org/images/home_ban/09summit04.jpg",
"http://www.setasource.org/images/home_ban/07destin03.jpg"
)
imageSwitch4 = Math.floor(Math.random()*group4.length);
var imgS4 = group4[imageSwitch4];
var img4 = document.getElementById("image4");
img4.setAttribute("src",imgS4);
setTimeout("imageSwap4()", 35000);
}


//Vendor images
function imageSwap5() {
var group5 = new Array(
"http://www.setasource.org/images/home_ban/07destinevision.jpg",
"http://www.setasource.org/images/home_ban/07slc05.jpg",
"http://www.setasource.org/images/home_ban/07quest.jpg",
"http://www.setasource.org/images/home_ban/07nelnet.jpg",
"http://www.setasource.org/images/home_ban/07indyrun2.jpg",
"http://www.setasource.org/images/home_ban/07indy07.jpg",
"http://www.setasource.org/images/home_ban/06MW01.jpg",
"http://www.setasource.org/images/home_ban/08charlotte16.jpg",
"http://www.setasource.org/images/home_ban/09summit01.jpg",
"http://www.setasource.org/images/home_ban/07sungard.jpg"
)
imageSwitch5 = Math.floor(Math.random()*group5.length);
var imgS5 = group5[imageSwitch5];
var img5 = document.getElementById("image5");
img5.setAttribute("src",imgS5);
setTimeout("imageSwap5()", 16000);
}

