
 

 
// adImages = new Array("images/SummitAd2.jpg","images/bcad.jpg","images/yourAd.jpg") 
// adImages = new Array("images/gray-test900.gif","images/bcad.jpg","images/cpdf-ad4.gif", // "images/yourAd.jpg")
// adImages = new Array("images/gray-test900.gif","images/cpdf-ad4.gif", "images/yourAd.jpg") 
adImages = new Array("images/SummitAd3.jpg", "images/yourAd.jpg") 
 

adImages1 = new Array("index-test_files/Mill-test.jpg","index-test_files/Fort-test.jpg") 
adImages2 = new Array("index-test_files/House-test.jpg","index-test_files/Randolph-test.jpg")
adImages3 = new Array("index-test_files/Trees-test.jpg","index-test_files/Indian-test.jpg")
adImages4 = new Array("index-test_files/Farm-test.jpg","index-test_files/Church-test.jpg")
adImages5 = new Array("index-test_files/Museum-test.jpg","index-test_files/Speedwell-test.jpg")
 


thisAd = 0
thisAd1 = 0
thisAd2 = 0
thisAd3 = 0
thisAd4 = 0
thisAd5 = 0
 
 
imgCt = adImages.length
imgCt1 = adImages1.length
imgCt2 = adImages2.length
imgCt3 = adImages3.length
imgCt4 = adImages4.length
imgCt5 = adImages5.length
 
 

function rotate() {
if (document.images) {
       thisAd++
       if (thisAd == imgCt) {
       thisAd = 0
       }
       document.adBanner.src=adImages
       		[thisAd]

       thisAd1++
       if (thisAd1 == imgCt1) {
       thisAd1 = 0
       }
       document.adBanner1.src=adImages1
       		[thisAd1]
 
       thisAd2++
       if (thisAd2 == imgCt2) {
       thisAd2 = 0
       }
       document.adBanner2.src=adImages2
       		[thisAd2]

       thisAd3++
       if (thisAd3 == imgCt3) {
       thisAd3 = 0
       }
       document.adBanner3.src=adImages3
       		[thisAd3]


       thisAd4++
       if (thisAd4 == imgCt4) {
       thisAd4 = 0
       }
       document.adBanner4.src=adImages4
       		[thisAd4]


       thisAd5++
       if (thisAd5 == imgCt5) {
       thisAd5 = 0
       }
       document.adBanner5.src=adImages5
       		[thisAd5]


        
       

       		setTimeout("rotate()", 5 * 1000)
          
       
    }  
  }
 
 
