	// IDX Broker Slideshow version 1.0
	// Copyright ©2010 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 { text-align: center; background-color: #006633; border-width: 1px; border-style: solid; border-color: #ffffff;  }');
	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('383,000','3844 JASMINE LAKE CT # ','NAPLES, FL 34119-8041 ','http://photos-10.idxco.com/1886431435e6f911d858335b28fa7156035209042897','209042897','188','http://jonesnaplesrealty.idxco.com/idx/3776/details.php?listingID=209042897&idxID=188','3','2','Beautifully Decorated and Well Maintained TURNKEY Pool home ...');
	properties[1] = new Array('379,900','6010 HIGHWOOD PARK LN # ','NAPLES, FL 34110-2379 ','http://photos-10.idxco.com/188b6538c64532ca2da17b7b788a5fb1408210005393','210005393','188','http://jonesnaplesrealty.idxco.com/idx/3776/details.php?listingID=210005393&idxID=188','3','3','This must see Estate Home was the builderâ€™s model home.  S...');
	properties[2] = new Array('299,000','578 N 96TH AVE 45 ','NAPLES, FL 34108-2461 ','http://photos-10.idxco.com/1886d4b5344f5eb48174d6683c53998422d210001149','210001149','188','http://jonesnaplesrealty.idxco.com/idx/3776/details.php?listingID=210001149&idxID=188','','','Fabulous location in the most wanted  #500\\\\\\&quot;  block o...');
	properties[3] = new Array('168,000','109 TUSCANA CT #302 ','NAPLES, FL 34119-4709 ','http://photos-10.idxco.com/188905664246fd7b7264f0f0afbfa436d70209042223','209042223','188','http://jonesnaplesrealty.idxco.com/idx/3776/details.php?listingID=209042223&idxID=188','2','2','This Charming Two Bedroom Two Bathroom first floor residence...');
	properties[4] = new Array('132,500','3870 ESTERO BAY LN #12 ','NAPLES, FL 34112-6164 ','http://photos-10.idxco.com/188b7d656a122a73e4ce34f58261dcce811210001141','210001141','188','http://jonesnaplesrealty.idxco.com/idx/3776/details.php?listingID=210001141&idxID=188','2','2','Enjoy relaxing lake and golf course views from this privatel...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
