	// 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: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; font-style: normal; text-decoration: none; color: #9E9477;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 180px; height: 160px;  }');
	document.writeln('.IDX-image { width: 180px; height: 120px;  }');
	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-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+'Baths: '+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 >= 10)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 10 - 1;
	} // end genPrev

	var properties = new Array(10);
	properties[0] = new Array('629,000','28423 Woodson\'s Lake Drive ','Spring, TX 77386 ','http://harpictures.marketlinx.com/MediaDisplay/75/hr2251575-1.jpg','IDX-1229888984','999','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=IDX-1229888984&supp=1','4','4','BEAUTIFUL FORMER SHOWCASE HOME BACK ON THE MARKET &amp; DRAS...');
	properties[1] = new Array('465,000','8903 Stone Oak Dr. ','Montgomery, TX 77316-6918 ','http://supplemental.idxco.com/3446-124595060661476','IDX-1245949485','999','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=IDX-1245949485&supp=1','4','4','Stunning custom home nestled in the peaceful neighborhood of...');
	properties[2] = new Array('190,000','1207 STEPPINSTONE WAY ','SPRING, TX 77379 ','http://photos-8.idxco.com/145ecdc38b98ca5fedb473e5f6cf3ff6b7071692030','71692030','145','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=71692030&idxID=145','3','2','HONEY, STOP THE CAR! This 3 bedroom 2 bath home features a s...');
	properties[3] = new Array('180,000','30619 GENEVA DR ','SPRING, TX 77386 ','http://photos-8.idxco.com/14583c847a1225d1b7acda3348cc6f0b7d54817898','4817898','145','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=4817898&idxID=145','3','2','JUST REDUCED 10k!!! Remodeled 3 bed 2 bath home in quiet nei...');
	properties[4] = new Array('164,000','27527 BENDERS LANDING BLVD ','SPRING, TX 77386 ','http://photos-8.idxco.com/145764b35bdf8101e75f842daaec70344438127549','8127549','145','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=8127549&idxID=145','','','TRUE WATERFRON LOT!! THIS IS A PERFECT PEICE OF PROPERTY IN ...');
	properties[5] = new Array('118,000','107 Dogwood Ln ','Goodrich, TX 77335 ','http://photos-8.idxco.com/145e369b499a46068f4add40f96e71780ba14090142','14090142','145','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=14090142&idxID=145','3','2','Charming lake escape/weekend home in Goodrich, just an hour ...');
	properties[6] = new Array('99,500','24290 DEERBROOK DR ','HOCKLEY, TX 77447 ','http://photos-8.idxco.com/145adc2a718430ceab65392d32c76cdfbdd14309106','14309106','145','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=14309106&idxID=145','3','2','3 acre lot with mature trees and lots of shade! This 3-Bed 2...');
	properties[7] = new Array('89,900','4426 Chateau Creek Way ','Spring, TX 77386 ','http://photos-8.idxco.com/1450a92e87b3e451fd8e3c1e2203af7e4e73709641','3709641','145','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=3709641&idxID=145','','','NOT IN 100 YEAR FLOOD PLAIN! VERY LOW TAXES (1.9209%) Come h...');
	properties[8] = new Array('25,000','10020 Honea Egypt ','Montgomery, TX 77316 ','http://photos-8.idxco.com/145b51dacc402b61111120372c35555580a89562748','89562748','145','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=89562748&idxID=145','','','Just back on the market! Nicely shaded one acre lot that has...');
	properties[9] = new Array('25,000','10024 Honea Egypt ','Montgomery, TX 77316 ','http://photos-8.idxco.com/145e22c8a6230a62e516d3ec902f0afc5b742947009','42947009','145','http://www.houstonicon.idxco.com/idx/3446/details.php?listingID=42947009&idxID=145','','','Back on the market! This beautiful one acre lot has been cle...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
