	// 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: 300px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 3 - 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 >= 3)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 3 - 1;
	} // end genPrev

	var properties = new Array(3);
	properties[0] = new Array('89,900','4221 W SPRUCE ST # 1310 ','TAMPA, FL 33607 ','http://photos-10.idxco.com/19403ae0bf5511a9f0a6bd5decb6604d95eT2361230','T2361230','194','http://www.wingaterealtors.idxco.com/idx/3639/details.php?listingID=T2361230&idxID=194','1','1','Short Sale. Great floor plan with huge bedroom and walk-in c...');
	properties[1] = new Array('300,000','12401 TWIN BRANCH ACRES RD ','TAMP, FL 33626 ','http://photos-10.idxco.com/194b8d381aceebd4983ed68ce90c32d11e0T2345591','T2345591','194','http://www.wingaterealtors.idxco.com/idx/3639/details.php?listingID=T2345591&idxID=194','4','2','SHORT SALE APPROVED - QUICK CLOSING. Custom built, two-story...');
	properties[2] = new Array('825,000','505 So Orange Ave # 1003 ','Sarasota, FL 34236 ','http://photos-10.idxco.com/19412daaf1506296211a69ac160001a7555T2357450','T2357450','194','http://www.wingaterealtors.idxco.com/idx/3639/details.php?listingID=T2357450&idxID=194','3','3',' SHORT SALE: Gorgeous Views! Welcome to Kanaya 35 Luxury Res...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
