function changePict()
{
var homephotos = new Array("home27", "home1", "home4", "home9", "home10", "home11", "home14", "home15", "home16", "home2", "home33");

var homeprices= new Array(
"$285,000", "$529,800", "$245,000", "$8,000", "$8,000", "$8,000", "$259,900", "$259,900", "$259,900", "$359,000", "$249,900"
);

var homelinks = new Array(
	"http://www.southernutahhousefinder.com/properties/313DammeronValleyDrW/123start.html",
	"http://www.southernutahhousefinder.com/properties/346WCanyon/123start.html",
	"http://www.southernutahhousefinder.com/properties/62S1790WCircle/123start.html",
	"http://www.southernutahhousefinder.com/properties/LoopRoad60_Enterprise/123start.html",
	"http://www.southernutahhousefinder.com/properties/LoopRoad65_Enterprise/123start.html",
	"http://www.southernutahhousefinder.com/properties/LoopRoad73_Enterprise/123start.html",
	"http://www.southernutahhousefinder.com/properties/DammeronValleyHeights1/123start.html",
	"http://www.southernutahhousefinder.com/properties/DammeronValleyHeights2/123start.html",
	"http://www.southernutahhousefinder.com/properties/DammeronValleyHeights3/123start.html",
	"http://www.southernutahhousefinder.com/properties/2837S2350E/123start.html",
	"http://www.southernutahhousefinder.com/properties/149SPioneerCircle/123start.html"
);

var featuredcaptions = new Array(homephotos.length-1);
featuredcaptions[0]= "This Dammeron Valley home sits in seclusion on 5 acres. The home has been completely remodeled including the new roof, stucco exterior, paint and plaster inside, and new vinyl windows.";

featuredcaptions[1]= "This incredible custom home in Dammeron Valley has a gourmet kitchen, beautiful hardwood floors, almost 2400 sq. ft. of garage space and more.";

featuredcaptions[2]= "This nice St. George home has a large master suite and two other nice sized bedrooms. This home has granite countertops and an oversized 3 car garage.";

featuredcaptions[3]= "Affordable Enterprise lot with utilities in the road. Low impact fees make this a great lot for affordable housing. The owner will build to suit, or use your own builder.";

featuredcaptions[4]= "This affordable lot located in Enterprise, Utah has utilities in the road. Low impact fees make this a great lot for affordable housing. Owner will built to suit, or use your own builder.";

featuredcaptions[5]= "Low impact fees make this lot in Enterprise a great choice for afforable housing. This lot has utilities in the road. The owner will build to suit, or use your own builder.";

featuredcaptions[6]= "Great hillside view lot in Dammeron Valley with a great view of the valley. This is a secluded lot with room to roam.";

featuredcaptions[7]= "Incredible 5 acre view lot in Dammeron Valley. If you like views that won't be blocked this is the lot for you.";

featuredcaptions[8]= "Beautiful Dammeron Valley view lot with lava rock outcroppings. This lot has great views of the valley and surrounding mountains.";

featuredcaptions[9]= "Beautiful two story custom home in St. George. This home has a ton of upgrades including travertine tile, granite counter tops, central vac, an oversized garage and more.";

featuredcaptions[10]= "This solid brick home in Brookside sits on 2.42 acres and has incredible views in all directions. It comes with two shares of pressurized irrigation water and one culinary share.";

	/*(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];
}
