	// 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 = 5000;
	var cwi = 0;
	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-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 >= 8)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 8 - 1;
	} // end genPrev

	var properties = new Array(9);
	properties[0] = new Array('260,000','4461 SW 101st Drive ','Gainesville, FL 32608 ','http://www.gainesvillemls.com/gan/jpg/324365.jpg','324365','030','http://search.HSwanson.com/idx/4752/details.php?listingID=324365&idxID=030','4','3','Short Sale. An offer has been accepted by seller and has bee...','Heather Swanson','Matchmaker Realty Of Alachua County, Inc');
	properties[1] = new Array('135,000','855 NW State Road 45 ','Newberry, FL 32669 ','http://www.gainesvillemls.com/gan/jpg/324357.jpg','324357','030','http://search.HSwanson.com/idx/4752/details.php?listingID=324357&idxID=030','','','Commercial site with over 280 feet of Hwy 27/41 frontage Zon...','Heather Swanson','Matchmaker Realty Of Alachua County, Inc');
	properties[2] = new Array('109,000','5226 SW 97th Way ','Gainesville, FL 32608 ','http://www.gainesvillemls.com/gan/jpg/328126.jpg','328126','030','http://search.HSwanson.com/idx/4752/details.php?listingID=328126&idxID=030','2','2','Experience the community feeling of Haile Village just momen...','Heather Swanson','Matchmaker Realty Of Alachua County, Inc');
	properties[3] = new Array('89,000','11322 NW 129th Terrace ','Alachua, FL 32615 ','http://www.gainesvillemls.com/gan/jpg/316216.jpg','316216','030','http://search.HSwanson.com/idx/4752/details.php?listingID=316216&idxID=030','','','Beautiful open and partially wooded 3.21 acre homesite in Al...','Heather Swanson','Matchmaker Realty Of Alachua County, Inc');
	properties[4] = new Array('85,000','4100 NW 19 Drive ','Gainesville, FL 32605 ','http://www.gainesvillemls.com/gan/jpg/329400.jpg','329400','030','http://search.HSwanson.com/idx/4752/details.php?listingID=329400&idxID=030','3','1','Short Sale. Exceptionally maintained 3/1 with laminate floor...','Heather Swanson','Matchmaker Realty Of Alachua County, Inc');
	properties[5] = new Array('85,000','3103 NE 33rd Avenue ','Gainesville, FL 32609 ','http://www.gainesvillemls.com/gan/jpg/327750.jpg','327750','030','http://search.HSwanson.com/idx/4752/details.php?listingID=327750&idxID=030','','','Great Opportunity to aquire vacant land in established comme...','Heather Swanson','Matchmaker Realty Of Alachua County, Inc');
	properties[6] = new Array('71,500','1810 NW 23rd Boulevard 112 ','Gainesville, FL 32605 ','http://www.gainesvillemls.com/gan/jpg/326847.jpg','326847','030','http://search.HSwanson.com/idx/4752/details.php?listingID=326847&idxID=030','2','2','By far the best building in Creeks Edge, this unit in Buildi...','Heather Swanson','Matchmaker Realty Of Alachua County, Inc');
	properties[7] = new Array('59,000','2703 NE 10th Terrace ','Gainesville, FL 32609 ','http://www.gainesvillemls.com/gan/jpg/325436.jpg','325436','030','http://search.HSwanson.com/idx/4752/details.php?listingID=325436&idxID=030','3','1','SHORT SALE. \\\\\\&quot;An offer has been accepted by the selle...','Heather Swanson','Matchmaker Realty Of Alachua County, Inc');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

