	// IDX Broker Slideshow version 1.0
	// Copyright ©2009 All rights reserved.
	// This script exists soley for the purposes of allowing real estate professionals to display
	// their property information easily on their own web site. All other use prohibited.
	
	var c;
	var timeout = 3000;
	var cwi = 0;
	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('a.IDX-ssLinkText, a.IDX-ssLinkText:active, a.IDX-ssLinkText:link, a.IDX-ssLinkText:visited, a.IDX-ssLinkText:hover { font-family: Arial, Helvetica, sans-serif; color: #ffffff;  }');
	document.writeln('#IDX-slideshow { background-color: #003366; border-width: 1px; border-style: solid; border-color: #ffffff;  }');
	document.writeln('.IDX-image { width: 400px;  }');
	document.writeln('</style>');
	var next = 1;
	prev = 3 - 1;

	document.writeln('<div id="IDX-slideshow">');
	document.writeln('<div id="IDX-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-ssImageURL" class="IDX-ssLinkText"><img id="IDX-ssImage" name="ssImage" alt="Slideshow image" border="0"  class="IDX-image" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-priceLine"></div>');
	document.writeln('<div id="IDX-addressLine"></div>');
	document.writeln('<div id="IDX-cszLine"></div>');
	document.writeln('<div id="IDX-bedsLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-bathsLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-remarksLine" style="display:none;"></div>');

	document.writeln('</div>');

	function play()
	{
		urlVar = '<a href="'+properties[cwi][6]+'" class="IDX-ssLinkText">';
		document.images.ssImage.src = preLoad.src;
		document.getElementById('IDX-ssImageURL').href = properties[cwi][6];
		document.getElementById('IDX-priceLine').innerHTML = urlVar+'$'+properties[cwi][0]+'</a>';
		document.getElementById('IDX-addressLine').innerHTML =  urlVar+properties[cwi][1]+'</a>';
		document.getElementById('IDX-cszLine').innerHTML = urlVar+properties[cwi][2]+'</a>';
		document.getElementById('IDX-bedsLine').innerHTML = urlVar+'Beds: '+properties[cwi][7]+'</a>';
		document.getElementById('IDX-bathsLine').innerHTML = urlVar+'Baths: '+properties[cwi][8]+'</a>';
		document.getElementById('IDX-remarksLine').innerHTML = urlVar+properties[cwi][9]+'</a>';
		preLoad = new Image();
		preLoad.src = properties[next][3];
		update();
		c = setTimeout('play()', timeout)
	} // end play()
	function update()
	{
		cwi = next;
		genNext();
		genPrev();
	}
	function genNext()
	{
		next = cwi + 1;
		if (next >= 3)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 3 - 1;
	} // end genPrev

	var properties = new Array(3);
	properties[0] = new Array('695,000','','SARASOTA, FL 34241 ','http://photos-10.idxco.com/194c90e53fa7c431c4c112134cd25b3a8f4A3908223','A3908223','194','http://www.homesalessarasota.idxco.com/idx/3708/details.php?listingID=A3908223&idxID=194','3','3','SPECTACULAR 9.34 ACRES! tranquil.Serene.Private.The land, wi...');
	properties[1] = new Array('386,000','450 DOG KENNEL RD ','SARASOTA, FL 34240 ','http://photos-10.idxco.com/194a5c4c9eff73296167b3d11dabf324d71A3895406','A3895406','194','http://www.homesalessarasota.idxco.com/idx/3708/details.php?listingID=A3895406&idxID=194','6','3','Short sale.Very interesting &amp; versatile property.9.9 acr...');
	properties[2] = new Array('375,000','','SARASOTA, FL 34241 ','http://photos-10.idxco.com/1942fac9b03417cbd1311a01cd87753cc48A3910994','A3910994','194','http://www.homesalessarasota.idxco.com/idx/3708/details.php?listingID=A3910994&idxID=194','2','2','Located on the 4th fairway, this beautiful 2 bedrm, 2bath, d...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
