	// 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 = 4000;
	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: 285px; height: 300px;  }');
	document.writeln('.IDX-image { width: 285px; height: 240px;  }');
	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('335,000','617 NW 38th Ave ','Cape Coral, FL 33993 ','http://mediall.rapmls.com/fortmyersmls/listingpics/bigphoto/092/201149092.jpg?','201149092','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=201149092&idxID=016','4','3','Stunning Courtyard Pool Home located on a Gulf Access Canal ...');
	properties[1] = new Array('199,900','2745 1st St 906 ','Fort Myers, FL 33916 ','http://mediall.rapmls.com/fortmyersmls/listingpics/bigphoto/012/201132212.jpg?','201132212','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=201132212&idxID=016','2','2','The epitome of luxurious waterfront high rise living! Welcom...');
	properties[2] = new Array('99,000','516 NW 26th St ','Cape Coral, FL 33993 ','http://mediall.rapmls.com/fortmyersmls/listingpics/bigphoto/069/201202869.jpg?','201202869','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=201202869&idxID=016','3','2','Your piece of Paradise awaits! This beautiful 3 bedroom, 2 b...');
	properties[3] = new Array('44,500','18577 Bartow Blvd ','Fort Myers, FL 33967 ','http://mediall.rapmls.com/fortmyersmls/listingpics/bigphoto/096/201202696.jpg?','201202696','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=201202696&idxID=016','2','2','Corporate owned and ready to be sold. 2 bed/2 bath stilt hom...');
	properties[4] = new Array('14,999','537 SE 4th Ter ','Cape Coral, FL 33990 ','http://mediall.rapmls.com/fortmyersmls/listingpics/bigphoto/061/201128561.jpg?','201128561','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=201128561&idxID=016','','','Least Expensive Listed 3 Lot waterfront site with access to ...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

