	// IDX Broker Slideshow version 1.0
	// Copyright ©2010 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: 11px; font-weight: normal; text-decoration: underline;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 225px; height: 225px;  }');
	document.writeln('.IDX-image { width: 225px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 19 - 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 >= 19)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 19 - 1;
	} // end genPrev

	var properties = new Array(19);
	properties[0] = new Array('215,000','349 Rolling Hills ','Killeen, TX 76543 ','http://www.harkerheightstexashomes.idxco.com/images/noHousePhoto.png','156642','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=156642&idxID=224','3','2','...');
	properties[1] = new Array('210,000','802 Kachina Loop ','Harker Heights, TX 76548 ','http://photos-12.idxco.com/224f491d357261ff5f461c15c768470b05b155590','155590','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=155590&idxID=224','4','2','...');
	properties[2] = new Array('200,000','Tract 70 Orlan Drive ','Harker Heights, TX 76548 ','http://photos-12.idxco.com/22481447d611d284b1064de954a1aa20098153545','153545','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=153545&idxID=224','','','Great building site with approx 270 degree view of Lake Stil...');
	properties[3] = new Array('200,000','Tract 70  Orlan Drive ','Harker Heights, TX 76548 ','http://tbbormls.fnismls.com/Paragon/ListingPictures/TBBORMLS/2/TBBORMLS85772.jpg','85772','223','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=85772&idxID=223','','','...');
	properties[4] = new Array('189,900','6915 Aquamarine ','Killeen, TX 76542 ','http://photos-12.idxco.com/22480ed61e50f96cedce59dcb5e5ce1c806156395','156395','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=156395&idxID=224','4','2','...');
	properties[5] = new Array('179,000','4810 Platinum ','Killeen, TX 76542 ','http://photos-12.idxco.com/22416e1012497dc9f405192620cc9b2d546153632','153632','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=153632&idxID=224','4','2','...');
	properties[6] = new Array('177,000','105 E. Great Plains ','Harker Heights, TX 76548 ','http://photos-12.idxco.com/224d5ce1cc613300117d60797f147168e89155007','155007','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=155007&idxID=224','3','2','...');
	properties[7] = new Array('169,900','3408 Bull Run ','Killeen, TX 76549 ','http://photos-12.idxco.com/224f3ac40edfcf92f9ab676bb35d1d12a46153821','153821','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=153821&idxID=224','4','2','...');
	properties[8] = new Array('160,000','207 Laura Rd ','Killeen, TX 76549 ','http://photos-12.idxco.com/2240305502a7a40ddd4dfc7fb781f924822154075','154075','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=154075&idxID=224','3','2','...');
	properties[9] = new Array('139,000','3902 Split Oak Drive ','Killeen, TX 76542 ','http://photos-12.idxco.com/224bb7348e3a760113670ae8c472a8554f2156061','156061','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=156061&idxID=224','4','2','...');
	properties[10] = new Array('122,000','3220 Comanche Gap ','Harker Heights, TX 76548 ','http://photos-12.idxco.com/2242e40d9ecbb1565001e4194888a46fa90154918','154918','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=154918&idxID=224','','','Great property within walking distance to Lake Stillhouse , ...');
	properties[11] = new Array('112,000','3501 Woodlake ','Killeen, TX 76549 ','http://photos-12.idxco.com/224b0d5cdd687440b599dd989ede59c487e155263','155263','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=155263&idxID=224','3','2','...');
	properties[12] = new Array('110,000','3507 Northcrest ','Killeen, TX 76543 ','http://photos-12.idxco.com/22495b872434c7e3ee9d9541158eefc679e154569','154569','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=154569&idxID=224','4','2','...');
	properties[13] = new Array('90,000','1208 College ','Killeen, TX 76540 ','http://photos-12.idxco.com/22405281dedb64c57fbac7b031af2326056153258','153258','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=153258&idxID=224','3','2','...');
	properties[14] = new Array('75,000','3240 Comanche Gap ','Harker Heights, TX 76548 ','http://photos-12.idxco.com/2241e1f1da8e73765b306b5fe1fbee1c85d154937','154937','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=154937&idxID=224','','','Approx. .65 acres of 3220 Comanche Gap Rd. with block buildi...');
	properties[15] = new Array('70,000','817 & 819 Estelle ','Killeen, TX 76541 ','http://photos-12.idxco.com/224dcc761315c1cbaf82b27f144372416e0153464','153464','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=153464&idxID=224','','','Well maintained duplex with both units occupied, must have a...');
	properties[16] = new Array('69,000','604 W Dean Ave ','Killeen, TX 76543 ','http://photos-12.idxco.com/2249ae629f0e9e482d5d28a1ea33c5b965d153448','153448','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=153448&idxID=224','4','2','...');
	properties[17] = new Array('58,000','507 Crockett ','Killeen, TX 76543 ','http://photos-12.idxco.com/224ee05e945964cff4f5d450f1ddd3389a3155727','155727','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=155727&idxID=224','2','2','...');
	properties[18] = new Array('43,000','1605-7 Alamo ','Killeen, TX 76541 ','http://photos-12.idxco.com/2243cd975642c012a97606715489b27f64b155260','155260','224','http://killeen-homes.harkerheightstexashomes.com/idx/4358/details.php?listingID=155260&idxID=224','','','Great investment property Unit 1 is a 3 bedroom 1.75 bath an...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
