
//<script type="text/javascript">
FeaturedData =  new Array();
FeaturedData[0] =  new Array();
FeaturedData[0][0] = "http://clarenproject.com/GLAR/listings/300/grtrlks204047.jpg";
FeaturedData[0][1] = "listing.cfm?MLS=204047&ln=204047";
FeaturedData[0][2] = "50 acres of partially wooded land with mature oak trees, excellent building site, offering great hunting and recreational activities in the heart of the lakes country.";
FeaturedData[0][3] = "$89,900";
FeaturedData[1] =  new Array();
FeaturedData[1][0] = "http://clarenproject.com/GLAR/listings/300/grtrlks194508.jpg";
FeaturedData[1][1] = "listing.cfm?MLS=194508&ln=194508";
FeaturedData[1][2] = "Unique business opportunity on Hwy#10 in Motley! The shop/garage has 2560 ft of square footage plus there is a split level attached home for you to live in or for rental income. Property is 4.50 acres with a highway frontage of 297 feet and a nice back yard.";
FeaturedData[1][3] = "$129,900";

FLRecordCount=FeaturedData.length;
FLIndex=randRange(1,FLRecordCount);
function FLNext(){
	if(FLIndex == FLRecordCount){
		FLIndex=1;
	} else {
		FLIndex++;
	}
	document.getElementById("propertyimage").style.backgroundImage="url("+FeaturedData[FLIndex-1][0]+")";
	document.getElementById("propertyimage").href=FeaturedData[FLIndex-1][1];
	document.getElementById("propertydescriptionlink").href=FeaturedData[FLIndex-1][1];
	document.getElementById("propertydescriptiontext").innerHTML=FeaturedData[FLIndex-1][2];
}
function FLPlay(){
	if(!window.oFLPlayer){
		FLNext();
		if(FLRecordCount > 1){
			oFLPlayer = window.setInterval(FLNext, 5000);
		}
	}
}
function randRange(a,b) {
	return a + Math.floor(Math.random()*(b-a+1));
}
if(FLRecordCount > 0){
	FLPlay();
}
//</script>
