	// IDX Broker Slideshow version 1.0
	// Copyright ©2009 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-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; font-style: normal;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 192px; height: 181px;  }');
	document.writeln('.IDX-image { width: 192px; height: 127px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 4 - 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-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>');

	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-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>';
		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 >= 4)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 4 - 1;
	} // end genPrev

	var properties = new Array(4);
	properties[0] = new Array('2,495,000','5304 Scenic View Dr. ','Austin, TX 78746 ','http://photos-3.idxco.com/04335353f14f2ed99ecfdd7b7f6509094247745455','7745455','043','http://austinmodernliving.idxco.com/idx/2465/details.php?listingID=7745455&idxID=043','4','5','Also for lease. MLS# 5764497. Incredible views from every ro...');
	properties[1] = new Array('1,298,000','2011 Melridge Pl ','Austin, TX 78704 ','http://photos-3.idxco.com/043fdcb12600128475a670fd9b5de8e33256098109','6098109','043','http://austinmodernliving.idxco.com/idx/2465/details.php?listingID=6098109&idxID=043','3','3','Classic Santa Barbara style home comes FULLY FURNISHED inclu...');
	properties[2] = new Array('1,295,000','3704 Rivercrest Dr ','Austin, TX 78746 ','http://photos-3.idxco.com/043fe20e6cac254bceba1eead2cb521c9116193637','6193637','043','http://austinmodernliving.idxco.com/idx/2465/details.php?listingID=6193637&idxID=043','3','2','Now Reduced $300K off original list price! Idyllic second ho...');
	properties[3] = new Array('445,000','2016 Goodrich Ave # 2A ','Austin, TX 78704 ','http://photos-3.idxco.com/043878bd302c8f787cdc3d9bc8f41d2b8426131755','6131755','043','http://austinmodernliving.idxco.com/idx/2465/details.php?listingID=6131755&idxID=043','3','3','Green-star features in 78704!  Two-car garage and beautifull...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
