	// 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 = 3000;
	var cwi = 0;
	var next = 1;
	prev = 21 - 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 >= 21)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 21 - 1;
	} // end genPrev

	var properties = new Array(22);
	properties[0] = new Array('220,000','','Athens, GA 30606 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618E7383859C8A70B2B9908C70835A89586C8D66','922685','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=922685&idxID=363','4','3','...','Mable Mitchell','Prudential Blanton Properties');
	properties[1] = new Array('202,000','1185 West Hancock Ave ','Athens, GA 30606 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C5898945F917280839C8A70B2B9908C70835A89586C8D66','905553','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=905553&idxID=363','5','3','...','Mable Mitchell','Prudential Blanton Properties');
	properties[2] = new Array('133,000','','Athens, GA 30606 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618F747D869C8A70B2B9908C70835A89586C8D66','923726','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=923726&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[3] = new Array('125,999','136 Fairview Street ','Athens, GA 30601 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C5898946092737D869C8A70B2B9908C70835A89586C8D66','916626','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=916626&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[4] = new Array('119,900','','Athens, GA 30606 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894608C6F7D839C8A70B2B9908C70835A89586C8D66','910223','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=910223&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[5] = new Array('119,000','','Athens, GA 30601 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894608C747C879C8A70B2B9908C70835A89586C8D66','910717','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=910717&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[6] = new Array('110,000','','Athens, GA 60601 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894608C6D80819C8A70B2B9908C70835A89586C8D66','910051','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=910051&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[7] = new Array('109,000','','Athens, GA 30605 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618E707F809C8A70B2B9908C70835A89586C8D66','922340','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=922340&idxID=363','4','1','...','Mable Mitchell','Prudential Blanton Properties');
	properties[8] = new Array('103,000','1157 West Hancock Ave ','Athens, GA 30606 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618F7584859C8A70B2B9908C70835A89586C8D66','923895','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=923895&idxID=363','4','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[9] = new Array('100,000','','Athens, GA 30601 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989461906F7F819C8A70B2B9908C70835A89586C8D66','924241','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=924241&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[10] = new Array('89,900','','Winder, GA 30680 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989461916E84839C8A70B2B9908C70835A89586C8D66','925193','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=925193&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[11] = new Array('82,000','','Athens, GA 30607 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618F7582849C8A70B2B9908C70835A89586C8D66','923874','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=923874&idxID=363','2','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[12] = new Array('79,000','','Hull, GA 30628 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618F737C869C8A70B2B9908C70835A89586C8D66','923616','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=923616&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[13] = new Array('75,000','','Carlton, GA 30627 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618D7383859C8A70B2B9908C70835A89586C8D66','921685','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=921685&idxID=363','4','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[14] = new Array('69,900','00 Meadow Creek Drive ','Arnoldsville, GA 30619 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894608F6E7D809C8A70B2B9908C70835A89586C8D66','913120','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=913120&idxID=363','','','...','Mable Mitchell','Prudential Blanton Properties');
	properties[15] = new Array('34,900','','Colbert, GA 30628 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C5898946190757D869C8A70B2B9908C70835A89586C8D66','924826','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=924826&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[16] = new Array('29,400','','Athens, GA 30601 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618C7480819C8A70B2B9908C70835A89586C8D66','920751','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=920751&idxID=363','','','...','Mable Mitchell','Prudential Blanton Properties');
	properties[17] = new Array('25,000','215 Gillieland Drive ','Athens, GA 30607 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618F717D819C8A70B2B9908C70835A89586C8D66','923421','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=923421&idxID=363','','','...','Mable Mitchell','Prudential Blanton Properties');
	properties[18] = new Array('25,000','385 Rear First street ','Athens, GA 30601 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989461906F84839C8A70B2B9908C70835A89586C8D66','924293','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=924293&idxID=363','','','...','Mable Mitchell','Prudential Blanton Properties');
	properties[19] = new Array('24,900','','Comer, GA 30629 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C5898946191747E819C8A70B2B9908C70835A89586C8D66','925731','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=925731&idxID=363','3','2','...','Mable Mitchell','Prudential Blanton Properties');
	properties[20] = new Array('24,000','','Athens, GA 30601 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989460927082819C8A70B2B9908C70835A89586C8D66','916371','363','http://athensrealestate.mablemitchell.com/idx/11343/details.php?listingID=916371&idxID=363','','','...','Mable Mitchell','Prudential Blanton Properties');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

