// JavaScript for oursl  - adds rotating images to front page
//array is for new image designations (all images in the rotate directory)
var adArray = new Array("001.jpg", "002.jpg","002a.jpg", "003.jpg", "004.jpg", "005.jpg","006.jpg","007.jpg","008.jpg", "009.jpg","010.jpg","011.jpg", "012.jpg", "013.jpg", "014.jpg", "015.jpg", "016.jpg","017.jpg","018.jpg","019.jpg","020.jpg","021.jpg","022.jpg","023.jpg","024.jpg","025.jpg","026.jpg","027.jpg","028.jpg","029.jpg","030.jpg","031.jpg","032.jpg","033.jpg");
var currAd = 0;
function changeAd() {
currAd = currAd +1;
if (currAd >= adArray.length) {
currAd = 0;
}
document.ad.src="images/rotate/"+ adArray[currAd];
setTimeout("changeAd();",5000);
}
//you can choose the speed by changing the number above
//mjaret 2006-11-09
// updated with new photos 2007-10-06
// copyright 2006-2007 jaretmedia.com all rights reserved
