	// IDX Broker Slideshow version 1.0
	// Copyright ¿2012 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 = 15000;
	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-size: 14px;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 320px; height: 300px;  }');
	document.writeln('.IDX-image { width: 320px; height: 240px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 7 - 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-listingIdLine" style="display:none;"></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 id="IDX-listingAgent" style="display:none;"></div>');
	document.writeln('<div id="IDX-listingOffice" 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-listingIdLine').innerHTML = urlVar+'Listing #'+properties[cwi][4]+'</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>';
		document.getElementById('IDX-listingAgent').innerHTML = urlVar+properties[cwi][10]+'</a>';
		document.getElementById('IDX-listingOffice').innerHTML = urlVar+properties[cwi][11]+'</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 >= 7)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 7 - 1;
	} // end genPrev

	var properties = new Array(8);
	properties[0] = new Array('1,495,000','1920 CRAYTON RD ','NAPLES, FL 34102-5023 ','http://images2.living.net/ImagesHomeProd5/FL/idx/photos/naples/19/211506873.jpg','211506873','188','http://www.realestateinswfl.idxco.com/idx/7413/details.php?listingID=211506873&idxID=188','5','5','Your dream home awaits!!This Old Florida style home is you...','Mindy S Sylvester','Downing Frye Realty Inc.');
	properties[1] = new Array('1,224,900','1491 MUREX DR ','NAPLES, FL 34102-5145 ','http://photos-10.idxco.com/1883b3e5180642879ee39baf1223cdf7b06211520869','211520869','188','http://www.realestateinswfl.idxco.com/idx/7413/details.php?listingID=211520869&idxID=188','3','4','2 Blks to Beach and Lowdermilk Park! Who could ask for more!...','Cynthia A Swamer','Downing Frye Realty Inc.');
	properties[2] = new Array('895,000','4869 REGAL DR ','BONITA SPRINGS, FL 34134-3926 ','http://photos-10.idxco.com/1889dd6912e8c1e9f1da0cc1a94044cce16211507372','211507372','188','http://www.realestateinswfl.idxco.com/idx/7413/details.php?listingID=211507372&idxID=188','3','3','H.5970 - Boater\\\\\\\'s Dream with access to the Gulf from your...','Bunny Caravello','John R. Wood Inc. REALTORS');
	properties[3] = new Array('499,900','236 SILVERADO DR ','NAPLES, FL 34119-4651 ','http://images2.living.net/ImagesHomeProd5/FL/idx/photos/naples/00/211511700.jpg','211511700','188','http://www.realestateinswfl.idxco.com/idx/7413/details.php?listingID=211511700&idxID=188','4','2','H.6038 - Panoramic golf course view comes with this well pla...','Sharon A Worley','John R. Wood REALTORS');
	properties[4] = new Array('499,000','2217 REGAL WAY ','NAPLES, FL 34110-1020 ','http://photos-10.idxco.com/188619d6a3fdfc199a0f96f2401b2bc94bd211001554','211001554','188','http://www.realestateinswfl.idxco.com/idx/7413/details.php?listingID=211001554&idxID=188','3','2','Just reduced!!Located on very popular Regal Way. Terrific...','Rhonda L Kershaw','Premiere Plus Realty Co.');
	properties[5] = new Array('361,000','2864 E TIBURON BLVD #101 ','NAPLES, FL 34109 ','http://images2.living.net/ImagesHomeProd5/FL/idx/photos/naples/77/211508959.jpg','211508959','188','http://www.realestateinswfl.idxco.com/idx/7413/details.php?listingID=211508959&idxID=188','2','2','C.7293 -Buyer Walked 2 weeks prior to Closing!Back on Ma...','Cynthia L Miles','John R. Wood REALTORS');
	properties[6] = new Array('249,000','10306 N HERITAGE BAY BLVD #2916 ','NAPLES, FL 34120 ','http://photos-10.idxco.com/188f4bc8b3278816dfd3e9aec8861cdca6f211504148','211504148','188','http://www.realestateinswfl.idxco.com/idx/7413/details.php?listingID=211504148&idxID=188','2','2','Must see, beautiful condo with a spectacular view! This awes...','Bill Sontag','Prudential Florida Realty');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

