	// 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;
	
	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-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF;  }');
	document.writeln('#IDX-slideshow { text-align: center; background-color: #003366; border-width: 2px; border-style: solid; border-color: #000000; width: 240px; height: 210px;  }');
	document.writeln('.IDX-image { width: 240px; height: 150px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 13 - 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 >= 13)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 13 - 1;
	} // end genPrev

	var properties = new Array(14);
	properties[0] = new Array('499,000','11325 MONTEREY RD ','UNINCORPORATED, TN 38028 ','http://photos-11.idxco.com/219f3473a2fbbb76277126e38aefdb5bfc43231193','3231193','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3231193&idxID=219','4','3','Remodeled home. 10 acres, rebuilt barn and storage, blueberr...','Tommy Prest','InCity Realty');
	properties[1] = new Array('240,000','939 HARBOR VIEW DR ','MEMPHIS, TN 38103 ','http://photos-11.idxco.com/219fcc622c56ed81d552bf82433a53c2aab3230671','3230671','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3230671&idxID=219','2','2.1','Unique row house in Harbortown; end unit with hardwood floor...','Debbie Sowell','InCity Realty');
	properties[2] = new Array('225,000','1116 E ISLAND PL ','MEMPHIS, TN 38103 ','http://photos-11.idxco.com/21952b4921096f00ed29f802dcae5b3f9c33240485','3240485','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3240485&idxID=219','3','3.1','Master Suite Downstairs; Master Suite Upstairs; 3rd bedroom ...','Debbie Sowell','InCity Realty');
	properties[3] = new Array('209,000','1573 VANCE AVE ','MEMPHIS, TN 38104 ','http://photos-11.idxco.com/2196221270a8362c805f3b8df5e0cf8d46d3236537','3236537','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3236537&idxID=219','3','1.1','Classic Bungalow style with welcoming front porch, gleaming ...','Joe Spake','InCity Realty');
	properties[4] = new Array('204,990','2043 PEABODY AVE ','MEMPHIS, TN 38104 ','http://photos-11.idxco.com/21944b04b8716fee992e90347a6236233b93232152','3232152','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3232152&idxID=219','3','2.1','3BR2.5BA modern home in heart of Midtown. Built in 2003 fe...','Joe Spake','InCity Realty');
	properties[5] = new Array('189,000','3120 OUTLOOK CV ','BARTLETT, TN 38134 ','http://photos-11.idxco.com/21954c3967302693c75a47ac09482e639133232378','3232378','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3232378&idxID=219','4','2.1','$6500 in Buyer\\\\\\\'s CC!!!! - 4 Bedroom (split bedroom plan) ...','Debbie Sowell','InCity Realty');
	properties[6] = new Array('189,000','652 Third N THIRD ST ','MEMPHIS, TN 38107 ','http://photos-11.idxco.com/219ccb74a3b95f6d6c4ca768ee299cedff53238316','3238316','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3238316&idxID=219','','','Sold as-is. Zoned mixed-use. Historic fire station c. 1900. ...','Judith Johnson','InCity Realty');
	properties[7] = new Array('129,900','997 PHILADELPHIA ST ','MEMPHIS, TN 38104 ','http://photos-11.idxco.com/219e89ad89263f8413dabad290ebc8345773239439','3239439','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3239439&idxID=219','3','2','This home was completely rehabed 10 yrs ago but recentlyth...','Debbie Sowell','InCity Realty');
	properties[8] = new Array('79,900','1060 PHILADELPHIA ST ','MEMPHIS, TN 38104 ','http://photos-11.idxco.com/21933cc48da18cfe33f4ea8261de58d95a23227311','3227311','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3227311&idxID=219','2','1','Seller to help w/ CC!Nicely maintained 2 Bed/1 Bath home in ...','Debbie Sowell','InCity Realty');
	properties[9] = new Array('62,900','1643 JACKSON AVE ','MEMPHIS, TN 38107 ','http://photos-11.idxco.com/219d68347eb15d97686a96997ded786fa2b3234202','3234202','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3234202&idxID=219','3','1','Great Midtown investment property.Currently leased through...','Robert Grisham','InCity Realty');
	properties[10] = new Array('52,000','3080 WALNUT GROVE RD 305 ','MEMPHIS, TN 38111 ','http://photos-11.idxco.com/219538f57f0c0fd9786c0798fc7819f5e103240082','3240082','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3240082&idxID=219','1','1','Easy living in The Commodore!This neutrual 1 BR has been w...','Debbie Sowell','InCity Realty');
	properties[11] = new Array('49,900','1966 E MCLEMORE AVE ','MEMPHIS, TN 38114 ','http://photos-11.idxco.com/219e56ac9d9998631e4b0f2d4539ef80d4b3238505','3238505','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3238505&idxID=219','4','2','Well maintained home, Newer AC unit, house exterior recently...','Debbie Sowell','InCity Realty');
	properties[12] = new Array('39,000','346 BUNTYN ST ','MEMPHIS, TN 38111 ','http://photos-11.idxco.com/219198d9f51748498ded7fe9fd42a50f0403218541','3218541','219','http://www.incityrealty.idxco.com/idx/9137/details.php?listingID=3218541&idxID=219','3','2','Investor or family. Why pay rent?3 Br 2 Ba. Large rooms, s...','Stanley Johnson','InCity Realty');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

