// JavaScript Document







var imgs1 = new Array(

					  "http://www.weddingplannerinternational.com/banners/suebanner.jpg",

                      "http://www.exploreperth.com/banners/KBCBanner.jpg",

                      "http://www.exploreperth.com/banners/KWPBanner.jpg",

                      "http://www.exploreperth.com/banners/bannerleonardfuels.jpg",

                      "http://www.exploreperth.com/banners/BannerTonysCarpet.jpg",

                      "http://www.exploreperth.com/banners/BannerPioneer.jpg",

                      "http://www.exploreperth.com/banners/BannerGranite.jpg",

                      "http://www.exploreperth.com/banners/BannerDaveRamsey.jpg",

                      "http://www.exploreperth.com/banners/bannersimpleimprovements.jpg",

                      "http://www.exploreperth.com/banners/randallsbanner.jpg",

                      "http://www.exploreperth.com/banners/wolfespringsbanner2.jpg",

                      "http://www.exploreperth.com/banners/calvarychristianacadamybanner.jpg",

                      "http://www.exploreperth.com/banners/tayriverreflectionsbanner.jpg",

                      "http://www.exploreperth.com/banners/bannertcpglobalsolutions.jpg",
					  
					  "http://www.exploreperth.com/banners/heritage-banner.gif"

                      );



var lnks1 = new Array(

					  "http://www.communityexplore.com/on/perth/Search.php?CID=545",

                      "http://www.KingstonBabyCentre.com",

                      "http://www.kingstonweddingplanner.com",

                      "http://www.todaysoilheat.com",

                      "http://www.tonyscarpet.ca",

                      "http://www.pioneerfamilypools.ca",

                      "http://www.granitetransformations.com",

                      "http://www.kingstonhomecentre.com/subcat.php?SUBCAT_ID=376",

                      "http://www.simpleimprovements.com/",

                      "http://www.randalls.ca",

                      "http://www.lifestyleawaits.com",

                      "http://www.calvaryca.com",

                      "http://www.tayriverreflections.com",

                      "http://www.tcpglobalsolutions.com",
					  
					  "http://www.brickandstonecraft.com"

                      );







var alt1 = new Array();



var currentAd1 = 0;



var imgCt1 = 15;



function cycle1() {



  if (currentAd1 == imgCt1) {



    currentAd1 = 0;



  }



var banner1 = document.getElementById('adBanner1');



var link1 = document.getElementById('adLink1');



  banner1.src=imgs1[currentAd1]



  banner1.alt=alt1[currentAd1]



  document.getElementById('adLink1').href=lnks1[currentAd1]



  currentAd1++;



}



  window.setInterval("cycle1()",15000);

