	// 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;
	
	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; background-color: #D7E1F1; border-width: 1px; border-style: solid; border-color: ##999; width: 600px; height: 460px;  }');
	document.writeln('.IDX-image { width: 600px; height: 400px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 10 - 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 >= 10)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 10 - 1;
	} // end genPrev

	var properties = new Array(11);
	properties[0] = new Array('189,900','','Athens, GA 30605 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989461916D83859C8A70B2B9908C70845A89586C8D66','925085','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=925085&idxID=363','5','3','...','Rose Sellers','Prudential Blanton Properties');
	properties[1] = new Array('144,900','323 SHADOW LAKE PLACE ','Arnoldsville, GA 30619 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C5898946190727B889C8A70B2B9908C70845A89586C8D66','924508','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=924508&idxID=363','4','3','...','Rose Sellers','Prudential Blanton Properties');
	properties[2] = new Array('139,000','','Athens, GA 30606 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989460926D7D849C8A70B2B9908C70845A89586C8D66','916024','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=916024&idxID=363','3','2','...','Rose Sellers','Prudential Blanton Properties');
	properties[3] = new Array('129,900','1431 ASHLAND DRIVE ','Statham, GA 30666 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989461917084879C8A70B2B9908C70845A89586C8D66','925397','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=925397&idxID=363','3','2','...','Rose Sellers','Prudential Blanton Properties');
	properties[4] = new Array('129,900','118 SOUTHCREEK PLACE ','Athens, GA 30606 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989461917280849C8A70B2B9908C70845A89586C8D66','925554','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=925554&idxID=363','3','2','...','Rose Sellers','Prudential Blanton Properties');
	properties[5] = new Array('125,900','114 S. Stratford Drive ','Athens, GA 30605 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C589894618E707D809C8A70B2B9908C70845A89586C8D66','922320','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=922320&idxID=363','3','2','...','Rose Sellers','Prudential Blanton Properties');
	properties[6] = new Array('95,095','','Winder, GA 30680 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C5898946191767B819C8A70B2B9908C70845A89586C8D66','925901','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=925901&idxID=363','4','2','...','Rose Sellers','Prudential Blanton Properties');
	properties[7] = new Array('82,900','746 MORRIS LANE ','Winder, GA 30680 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C5898946190747C809C8A70B2B9908C70845A89586C8D66','924710','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=924710&idxID=363','3','2','...','Rose Sellers','Prudential Blanton Properties');
	properties[8] = new Array('69,900','','Statham, GA 30666 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989461916D7E859C8A70B2B9908C70845A89586C8D66','925035','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=925035&idxID=363','3','2','...','Rose Sellers','Prudential Blanton Properties');
	properties[9] = new Array('45,000','','Winterville, GA 30683 ','http://tp.usamls.net/getMLPhoto.asp?l=8B5C58989461917280839C8A70B2B9908C70845A89586C8D66','925553','363','http://www.rosepetalshomes.idxco.com/idx/11055/details.php?listingID=925553&idxID=363','4','2','...','Rose Sellers','Prudential Blanton Properties');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

