
// Replace the images inside the double-quotes to your own images
// You may have any number of images
adImages = new Array("/Portals/165/img-homepage1.jpg","/Portals/165/img-homepage2.jpg","/Portals/165/img-homepage3.jpg","/Portals/165/img-homepage4.jpg")

// Replace the quotes to inside the double-quotes to your own quotes
// You may have any number of quotes but they must equal the number of images that rotate
quote = new Array("Bank of Franklin","Bank of Franklin","Bank of Franklin","Bank of Franklin")

// Please remove this lineand the double-slashes at the beginning of the next line to add links to the rotating images
// adURL = new Array ("www.javascripts.com","www.javascripts.com","www.javascripts.com","www.javascripts.com","www.javascripts.com","www.javascripts.com")
// Please remove this line to add links to the rotating images

thisAd = 0
imgCt = adImages.length
quoteCt = quote.length

function rotate() {
  if (document.images) {
    if (document.cycle.complete) {
	  thisAd++
	  if (thisAd == imgCt && thisAd == quoteCt) {
	    thisAd = 0
	  }
	  document.cycle.src = adImages[thisAd];
      window.defaultStatus = quote[thisAd];
	}
// This sets the interval to which the images and quotes are rotated. 1000 equals 1 second
	setTimeout("rotate()", 10000)
  }
}

// Please remove this lineand the double-slashes at the beginning of the next line to add links to the rotating images
// function rotateLink() { window.parent.location.href = "http://" + adURL[thisAd] }
// Please remove this line to add links to the rotating images