
	// ***** Swap Photos ***********
	// ****************************  MAKE SURE TO UPDATE PATH TO IMAGES *******************************
	
	var newPhoto = new Array()
    var photoCap = new Array()
    var selectPhotoCap

    
	   /* newPhoto[0] = new Image */
           newPhoto[0] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/Bluebonnets-and-Hikers.jpg) no-repeat;">&nbsp;</div>';
           photoCap[0] = '';

           /* newPhoto[1] = new Image */
           newPhoto[1] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/mushrooms.jpg) no-repeat;">&nbsp;</div>';
           photoCap[1] = '';
  
           /* newPhoto[2] = new Image */
           newPhoto[2] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/cactusbyholly.jpg) no-repeat;">&nbsp;</div>';
           photoCap[2] = '';

           /* newPhoto[3] = new Image */
           newPhoto[3] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/ad-images/siekerband.jpg) no-repeat;">&nbsp;</div>';
           photoCap[3] = '';

	   /* newPhoto[4] = new Image */
           newPhoto[4] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/natureclubgardens.jpg) no-repeat;">&nbsp;</div>';
           photoCap[4] = '';

	   /* newPhoto[5] = new Image */
           newPhoto[5] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/maximilian-sunflowers.jpg) no-repeat;">&nbsp;</div>';
           photoCap[5] = '';

	   /* newPhoto[6] = new Image */
           newPhoto[6] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/birdhouse.jpg) no-repeat;">&nbsp;</div>';
           photoCap[6] = '';
            
           /* newPhoto[7] = new Image */
           newPhoto[7] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/veteransplaza.jpg) no-repeat;">&nbsp;</div>';
           photoCap[7] = '';

           /* newPhoto[8] = new Image */
           newPhoto[8] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/hackberry-emperor.jpg) no-repeat;">&nbsp;</div>';
           photoCap[8] = '';

           /* newPhoto[9] = new Image */
           newPhoto[9] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/doves.jpg) no-repeat;">&nbsp;</div>';
           photoCap[9] = '';

           /* newPhoto[10] = new Image */
           newPhoto[10] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/ad-images/stringsattachedband.jpg) no-repeat;">&nbsp;</div>';
           photoCap[10] = '';
    
           /* newPhoto[11] = new Image */
           newPhoto[11] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/infocenterburtanes.jpg) no-repeat;">&nbsp;</div>';
           photoCap[11] = '';

           /* newPhoto[12] = new Image */
           newPhoto[12] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/ad-images/christinealbert.jpg) no-repeat;">&nbsp;</div>';
           photoCap[12] = '';

           /* newPhoto[13] = new Image */
           newPhoto[13] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/butterfly.pdf) no-repeat;">&nbsp;</div>';
           photoCap[13] = '';
  
           /* newPhoto[14] = new Image */
           newPhoto[14] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/pickleball.jpg) no-repeat;">&nbsp;</div>';
           photoCap[14] = '';
  
            /* newPhoto[15] = new Image */
           newPhoto[15] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/ad-images/jewelrybazaar.jpg) no-repeat;">&nbsp;</div>';
           photoCap[15] = '';
    
           /* newPhoto[16] = new Image */
           newPhoto[16] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/swimming-pool.jpg) no-repeat;">&nbsp;</div>';
           photoCap[16] = '';

           /* newPhoto[17] = new Image */
           newPhoto[17] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/tileart.jpg) no-repeat;">&nbsp;</div>';
           photoCap[17] = '';

           /* newPhoto[18] = new Image */
           newPhoto[18] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/turtle-talk.jpg) no-repeat;">&nbsp;</div>';
           photoCap[18] = '';
  
           /* newPhoto[19] = new Image */
           newPhoto[19] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/butterfly.jpg) no-repeat;">&nbsp;</div>';
           photoCap[19] = '';

           /* newPhoto[20] = new Image */
           newPhoto[20] = '<div class="homePhoto" style="background: url(/suncity/images/home-photo/caught-it.jpg) no-repeat;">&nbsp;</div>';
           photoCap[20] = '';       

 	var index = Math.round(Math.random() * (newPhoto.length - 1));
	var loaded = 0;
	function homeSwap() {
		if (loaded == 0 ) {
			loaded ++;
			document.images.homePhoto.src = newPhoto[index].src;
            selectPhotoCap = photoCap[index];
		}
	}
	// ***********************************************************************************************
    
