	// 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-family: Arial, Helvetica, sans-serif; font-size: 13px;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 220px; height: 210px;  }');
	document.writeln('.IDX-image { width: 220px; height: 150px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 18 - 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 >= 18)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 18 - 1;
	} // end genPrev

	var properties = new Array(19);
	properties[0] = new Array('575,000','1480 TURN LAKE DR ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B989465916E84AF6D88ACB8B0648370815C89566D8E','96519','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=96519&idxID=319','4','4','A Doug Cannon Construction Custom built home on Auburn Unive...','ROB SLOCUMB','MAGNOLIA REALTY, LLC');
	properties[1] = new Array('499,999','1554 MCCURRY LN ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B988C5F8C727B859C8A70B2B9908C70835A89586C8D66','100505','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=100505&idxID=319','4','3','Stone, cedar-shingle and lap siding combine to create this c...','BOB SLOCUMB','MAGNOLIA REALTY, LLC');
	properties[2] = new Array('498,000','2276 OXFORD CT ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B9894678F6E7CAF6D88ACB8B0648370815C89566D8E','98311','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=98311&idxID=319','5','3','Lovely, custom-built home with many wonderful features. The ...','ELLEN FAUROT','MAGNOLIA REALTY, LLC');
	properties[3] = new Array('495,000','8491 SOCIETY HILL RD ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B988C5F8C747D849C8A70B2B9908C70835A89586C8D66','100724','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=100724&idxID=319','4','3','3 acres custom home 4/3.5 with formal living,dining,den with...','JOHN WILLIAMSON','MAGNOLIA REALTY, LLC');
	properties[4] = new Array('425,000','LAKE ST ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B989465956D7EAF6D88ACB8B0648370815C89566D8E','96903','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=96903&idxID=319','','','Must have 48 hr. notice if house needs to be shown for any r...','BOBBIE HUEY','MAGNOLIA REALTY, LLC');
	properties[5] = new Array('425,000','1794 COVINGTON RIDGE 401 ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B98946892727CAF6D88ACB8B0648370815C89566D8E','99651','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=99651&idxID=319','4','3','Exclusive condo on the #4 fairway of Moore\\\\\\\'s Mill Club. F...','BOB SLOCUMB','MAGNOLIA REALTY, LLC');
	properties[6] = new Array('419,900','1794 COVINGTON RIDGE 301 ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B988C5F8C6D7C829C8A70B2B9908C70835A89586C8D66','100012','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=100012&idxID=319','4','3','This NOTTINGHAM unit overlooks the tee box on #4 hole of Moo...','BOB SLOCUMB','MAGNOLIA REALTY, LLC');
	properties[7] = new Array('419,900','1794 COVINGTON RIDGE 303 ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B988C5F8D6E83849C8A70B2B9908C70835A89586C8D66','101184','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=101184&idxID=319','4','3','Luxurious townhouse on Tee Box #4 of the Moore\\\\\\\'s Mill Gol...','ROB SLOCUMB','MAGNOLIA REALTY, LLC');
	properties[8] = new Array('313,000','614 WOOD VALLEY RD ','GREENVILLE, AL 36037 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B988C5F8C7481829C8A70B2B9908C70835A89586C8D66','100762','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=100762&idxID=319','7','3','Large brick home with 7 bedrooms, 3 full baths,and 2 half ba...','LINDA LEE','MAGNOLIA REALTY, LLC');
	properties[9] = new Array('299,000','LEE RD 0051 ','AUBURN, AL 36832 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B988C5F8D6D7F849C8A70B2B9908C70835A89586C8D66','101044','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=101044&idxID=319','','','Adjacent to Auburn city limits.CONTACT LISTING AGENT 334-590...','LINDA LEE','MAGNOLIA REALTY, LLC');
	properties[10] = new Array('249,000','1728 STONE POINTE DR ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B98946894717FAF6D88ACB8B0648370815C89566D8E','99844','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=99844&idxID=319','3','2','3 bedroom 2 bath home,quiet cul-de-sac,walk out unfinished b...','JOHN WILLIAMSON','MAGNOLIA REALTY, LLC');
	properties[11] = new Array('219,000','14719 AL HWY 0051 ','OPELIKA, AL 36804 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B988C5F8D6D7B809C8A70B2B9908C70835A89586C8D66','101000','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=101000&idxID=319','3','2','...','BOBBIE HUEY','MAGNOLIA REALTY, LLC');
	properties[12] = new Array('159,000','885 HOLLINS RD ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B989467917583AF6D88ACB8B0648370815C89566D8E','98588','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=98588&idxID=319','5','2','THIS IS A GREAT HOME IN LIKE NEW CONDITION.MASTER BEDROOM ...','BOB SLOCUMB','MAGNOLIA REALTY, LLC');
	properties[13] = new Array('155,500','2600 MILL CREEK RD ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B9894688E7381AF6D88ACB8B0648370815C89566D8E','99266','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=99266&idxID=319','2','2','THIS IS A GREAT COMMUNITY VERY CLOSE TO EXIT 51 OFF I-85, WA...','BOB SLOCUMB','MAGNOLIA REALTY, LLC');
	properties[14] = new Array('130,000','802 LONGLEAF DR 6 ','AUBURN, AL 36832 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B9894658E707DAF6D88ACB8B0648370815C89566D8E','96232','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=96232&idxID=319','4','4','Really nice condo on cul-de-sac features 4 BRs w/4 baths.P...','ELLEN FAUROT','MAGNOLIA REALTY, LLC');
	properties[15] = new Array('129,000','844 HARVARD DR ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B9894618D6E7CAF6D88ACB8B0648370815C89566D8E','92111','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=92111&idxID=319','2','2','Very nice and conveniently-located condo is near a professio...','ELLEN FAUROT','MAGNOLIA REALTY, LLC');
	properties[16] = new Array('104,500','1554 MCCURRY LN ','AUBURN, AL 36830 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B989468936D7FAF6D88ACB8B0648370815C89566D8E','99704','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=99704&idxID=319','0','','...','BOB SLOCUMB','MAGNOLIA REALTY, LLC');
	properties[17] = new Array('99,900','1611 JOLLIT AVE ','OPELIKA, AL 36801 ','http://tp.usamls.net/getMLPhoto.asp?l=8C565B989464907681AF6D88ACB8B0648370815C89566D8E','95496','319','http://idx.auburnalabamarealestatesupersite.com/idx/6862/details.php?listingID=95496&idxID=319','3','1','This is a great house with an excellent lot sitting on a nic...','ROB SLOCUMB','MAGNOLIA REALTY, LLC');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

