	// 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-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 = 8 - 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 >= 8)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 8 - 1;
	} // end genPrev

	var properties = new Array(8);
	properties[0] = new Array('292,500','3568 ISLANDWALK CIR ','Naples, FL 34119 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/83/209019761.jpg','209019761','115','http://www.youknowyouwanttobehere.idxco.com/idx/3530/details.php?listingID=209019761&idxID=115','3','2','LOADED WITH UPGRADES, this 3/2.5 town home with heated pool ...');
	properties[1] = new Array('269,900','6288 TOWNCENTER CIR ','Naples, FL 34119 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/46/209036482.jpg','209036482','115','http://www.youknowyouwanttobehere.idxco.com/idx/3530/details.php?listingID=209036482&idxID=115','3','2','Great location - great price!  This 2-story Aruba townhome f...');
	properties[2] = new Array('269,000','4672 OSSABAW WAY ','Naples, FL 34119 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/33/209035611.jpg','209035611','115','http://www.youknowyouwanttobehere.idxco.com/idx/3530/details.php?listingID=209035611&idxID=115','2','2','This one is pretty.  Great lake view, heated pool, and upgra...');
	properties[3] = new Array('262,900','4534 OSSABAW WAY ','Naples, FL 34119 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/35/209031345.jpg','209031345','115','http://www.youknowyouwanttobehere.idxco.com/idx/3530/details.php?listingID=209031345&idxID=115','2','2','Immaculate lake view 2/2+den in private gated community and ...');
	properties[4] = new Array('249,000','15370 UPWIND DR ','Bonita Springs, FL 34135 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/51/209039417.jpg','209039417','115','http://www.youknowyouwanttobehere.idxco.com/idx/3530/details.php?listingID=209039417&idxID=115','2','2','One of the best lake front locations in VillageWalk of Bonit...');
	properties[5] = new Array('239,900','28111 BOCCACCIO WAY ','Bonita Springs, FL 34135 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/65/209020655.jpg','209020655','115','http://www.youknowyouwanttobehere.idxco.com/idx/3530/details.php?listingID=209020655&idxID=115','2','2','This lovely and immaculate lake front 2/2+ den is set in a p...');
	properties[6] = new Array('239,000','4518 OSSABAW WAY ','Naples, FL 34119 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/48/209001016.jpg','209001016','115','http://www.youknowyouwanttobehere.idxco.com/idx/3530/details.php?listingID=209001016&idxID=115','2','2','BIG PRICE REDUCTION +  MOTIVATED OWNER WHO WANTS A SALE = YO...');
	properties[7] = new Array('39,000','837 CAPE HAZE ','Naples, FL 34104 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/61/209035587.jpg','209035587','115','http://www.youknowyouwanttobehere.idxco.com/idx/3530/details.php?listingID=209035587&idxID=115','2','2','OFFERED WITH TRAILER OR AS VACANT LOT - TRAILER IS IN NEED O...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
