<!-- Begin hiding script from older browsers

// Replace the images inside the double-quotes to your own images
// You may have any number of images
adImages = new Array("images/gernerdroom_MED.gif","images/sign_2380_MED.gif","images/BlumenthalSlab2_MED.gif","images/h39043_MED.gif","images/h39018_MED.gif","images/Revised_157_Lavendar_Lane_024_MED.gif","images/Revised_157_Lavendar_Lane_020_MED.gif","images/140_Lake_Point_001_MED.gif","images/140_Lake_Point_002_MED.gif","images/gerner01_MED.gif")

// 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("Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery","Oasis Custom Homes - Image Gallery")

// This array contains the urls for each image
//adURL = new Array ("www.oasiscustomhomes.com","www.oasiscustomhomes.com","www.oasiscustomhomes.com","www.oasiscustomhomes.com","www.oasiscustomhomes.com","www.oasiscustomhomes.com")

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()", 6000)
  }
}

// this function sets the url link for each image
// function rotateLink() { window.parent.location.href = "http://" + adURL[thisAd] }

// End hiding script from older browsers -->

