function changePict()
{
var homephotos = new Array("home29","home30","home31","home32", "home1", "home23");

var homeprices= new Array(
"$215,000", "$234,900",	"$435,000",	"$199,900", "$158,400", "$299,900"
);

var homelinks = new Array(
	"http://www.southernutahhousefinder.com/properties/296W25S/123start.html",		
	"http://www.southernutahhousefinder.com/properties/4249SAmbassador/123start.html",
	"http://www.southernutahhousefinder.com/properties/7893NSapphireDr/123start.html",
	"http://www.southernutahhousefinder.com/properties/1320N1610W/123start.html",
	"http://www.southernutahhousefinder.com/properties/3566ChaletDr/123start.html",
	"http://www.southernutahhousefinder.com/properties/693_Pinion_Hills/123start.html"
);

var featuredcaptions = new Array(homephotos.length-1);
featuredcaptions[0]= "This Ivins home is like new. It has granite in the kitchen and bathrooms and upgraded lighting throughout the home.";
featuredcaptions[1]= "Located in Sun River, this home is very clean and shows like new. It has a covered rear patio and a nice back yard.";
featuredcaptions[2]= "This single owner home in Diamond Valley sits on almost an acre of land. It has tons of room and an 'out of town' feel while still being close to town.";
featuredcaptions[3]= "Great St. George home with lots of tile and a large master bedroom. There is a block wall on three sides of the home with a nice backyard that is fully landscaped.";
featuredcaptions[4]= "This 1,625 sq. ft. bank owned home is located in Santa Clara. It needs new carpet in 3 rooms, but is otherwise in good condition.";
featuredcaptions[5]= "This Sante Fe style home features 3 nice sized bedrooms with a second floor master suite that includes a large master bathroom and a wonderful sitting area. ";

	/*(Math.random() * max-min+1 +min) */
	var i = Math.floor(Math.random() * homephotos.length);
	document.slide.src=homephotos[i]+".jpg";
	document.slide.alt="Featured Property";
	document.slide.title="Featured Property";
	document.getElementById("captionprice").innerHTML= homeprices[i];
	document.getElementById("captionlink").href= homelinks[i];
	document.getElementById("caption").innerHTML =featuredcaptions[i];
}