	// 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 = 6000;
	var cwi = 0;
	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-slideshow { text-align: center; width: 200px; height: 200px;  }');
	document.writeln('.IDX-image { width: 180px; height: 135px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 5 - 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 >= 5)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 5 - 1;
	} // end genPrev

	var properties = new Array(5);
	properties[0] = new Array('1,743,695','451 Retta Esplanade ','Punta Gorda, ','http://supplemental.idxco.com/2982-12153645900246129','IDX-1201287143','999','http://www.realestatecharlottecounty.idxco.com/idx/2982/details.php?listingID=IDX-1201287143&supp=1','3','3','...');
	properties[1] = new Array('438,000','24406 Nicobar ','Punta Gorda, FL 33955 ','http://supplemental.idxco.com/2982-12153653137096567','IDX-1215365029','999','http://www.realestatecharlottecounty.idxco.com/idx/2982/details.php?listingID=IDX-1215365029&supp=1','4','2','...');
	properties[2] = new Array('390,000','306 KLISPIE DR ','PUNTA GORDA, FL 33950 ','http://photos-10.idxco.com/194a7fdcf3061bae44ca484959619681993C6999297','C6999297','194','http://www.realestatecharlottecounty.idxco.com/idx/2982/details.php?listingID=C6999297&idxID=194','','','Less than 100 yards to open water! Deep water canal. Dock, S...');
	properties[3] = new Array('299,999','509 Palm ave. ','Punta Gorda, ','http://www.realestatecharlottecounty.idxco.com/images/noHousePhoto.png','IDX-1201286824','999','http://www.realestatecharlottecounty.idxco.com/idx/2982/details.php?listingID=IDX-1201286824&supp=1','2','2','...');
	properties[4] = new Array('165,000','County Rd 769 (King\'s Highway) ','Peace River Heights, FL 33982 ','http://photos-10.idxco.com/19465a2705ac7c4ddcf8fd113aeb034fcffC6998774','C6998774','194','http://www.realestatecharlottecounty.idxco.com/idx/2982/details.php?listingID=C6998774&idxID=194','','','SALE INCLUDES 2 ADDITIONAL CONTIGUOUS LOTS PROPERTY HAS BEEN...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
