 
// Replace the images inside the double-quotes to your own images
// You may have any number of images
adImages = new Array("/uploadedimages/vineyardtour.jpg","/uploadedimages/tastingroom.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("Visit the Gallo of Sonoma Tasting Room","Tour the Barrelli Creek Vineyard")
 
// 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.gallosonoma.com/taste_gallo_of_sonoma.asp?id=160","www.gallosonoma.com/taste_gallo_of_sonoma.asp?id=87")
// 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()", 3500)
  }
}
 
// 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
 
// End hiding script from older browsers -->

 