	// 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 = 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+'Baths: '+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('274,900','3802 NW 10th St ','Cape Coral, FL 33993 ','http://media.rapmls.com/fortmyersmls/listingpics/bigphoto/002/200910402.jpg','200910402','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=200910402&idxID=016','3','2','Outstanding Gulf Access Home with Intersecting Canal Views, ...');
	properties[1] = new Array('124,900','132 NE 7th Ave ','Cape Coral, FL 33909 ','http://media.rapmls.com/fortmyersmls/listingpics/bigphoto/093/200913093.jpg','200913093','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=200913093&idxID=016','3','2','This is a short sale and will require third party approval a...');
	properties[2] = new Array('84,000','3306 18th St ','Lehigh Acres, FL 33971 ','http://media.rapmls.com/fortmyersmls/listingpics/bigphoto/086/200863886.jpg','200863886','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=200863886&idxID=016','4','2','THIS IS A SHORT SALE. ALL OFFERS ARE SUBJECT TO LENDERS APPR...');
	properties[3] = new Array('18,000','1213 NE 37th Ter ','Cape Coral, FL 33909 ','http://www.allswflarealestate.idxco.com/images/noHousePhoto.png','200848127','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=200848127&idxID=016','','','This is a short sale and will require third party approval a...');
	properties[4] = new Array('7,000','2504 E 12th St ','Lehigh Acres, FL 33936 ','http://www.allswflarealestate.idxco.com/images/noHousePhoto.png','200841549','016','http://www.allswflarealestate.idxco.com/idx/3553/details.php?listingID=200841549&idxID=016','','','Oversized lot - listed to sell!!!...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
