	// 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: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #FFFFFF;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 200px; height: 190px;  }');
	document.writeln('.IDX-image { width: 125px; height: 125px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 16 - 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 >= 16)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 16 - 1;
	} // end genPrev

	var properties = new Array(16);
	properties[0] = new Array('318,000','105xx St HWY 23 ','Milaca, MN 56353 ','http://photos-4.idxco.com/063b3e74a7fb48c7780de801cc179833d4a3867897','3867897','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3867897&idxID=063','','','HIGH TRAFFIC, GREAT EXPOSURE, CITY UTILITIES VERY CLOSE, PLE...');
	properties[1] = new Array('169,900','218 Meadow View Rd ','Foreston, MN 56330 ','http://photos-4.idxco.com/063500629ca2cbc179017a2c11b6db4088c3861055','3861055','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3861055&idxID=063','3','2','Fabulous for entertaining, lower level has a \\\\\\&quot;sweet\\...');
	properties[2] = new Array('160,000','41419 Jarvis St NW ','Milaca, MN 56353 ','http://photos-4.idxco.com/06312cd3ebe12fcd77ac074747abd47fd033855330','3855330','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3855330&idxID=063','3','2','PRIME HUNTING-RECREATIONAL LOCATION ADJ TO 400 ACRES OF MN L...');
	properties[3] = new Array('159,900','235 Central Ave S ','Milaca, MN 56353 ','http://photos-4.idxco.com/06397ec5bc2a4f58e42ef1cbaaf0b9db25d3864502','3864502','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3864502&idxID=063','4','2','Historical Milaca home offers many possibilities.  Built in ...');
	properties[4] = new Array('149,999','13374 170th Ave ','Foreston, MN 56330 ','http://photos-4.idxco.com/06304ed1abb1d50d2e8b03f818bbd75ba2b3805372','3805372','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3805372&idxID=063','4','2','Solar green room for the avid gardener. Mastr suite w/ sep d...');
	properties[5] = new Array('149,900','1529 125th Ave ','South Fork Twp, MN 56358 ','http://photos-4.idxco.com/0637f01805cb1096112b9de91a761a847243872242','3872242','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3872242&idxID=063','4','2','EMPTY NEST, LOVE BIRDZ HEADING SOUTH! READY FOR YOUR MOVE. E...');
	properties[6] = new Array('149,900','16207 80th Ave ','Milaca, MN 56353 ','http://photos-4.idxco.com/0631933b69398dd886b6dede229f9f89df53861263','3861263','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3861263&idxID=063','3','2','Easy, convenient, access to everything on one level with you...');
	properties[7] = new Array('139,900','425 2nd Ave NE ','Milaca, MN 56353 ','http://photos-4.idxco.com/0631f1593c0584d83da0780d61b2bb987bf3580457','3580457','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3580457&idxID=063','2','2','GRACIOUS LIVING! ONE LEVEL QUALITY WITH MARBLE SURROUND FIRE...');
	properties[8] = new Array('124,900','1100 4th Ave NW ','Milaca, MN 56353 ','http://photos-4.idxco.com/0632804ca8ee6785dc09a636b54670bd02b3810181','3810181','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3810181&idxID=063','2','1','Cozy Riverfront townhome for your enjoyment. Close to town, ...');
	properties[9] = new Array('114,900','1253 4th Ave NW ','Milaca, MN 56353 ','http://photos-4.idxco.com/0633d8dc9f4bb885bb19a1246e168b9011a3869067','3869067','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3869067&idxID=063','2','1','NICE HM W/ SKYLIGHTS, PATIO W/RETRACTABLE AWNING, OPEN FLOOR...');
	properties[10] = new Array('94,900','660 2nd Ave SE ','Milaca, MN 56353 ','http://photos-4.idxco.com/063aad8565d84c70aa5ccb38dd4a46c68cf3874071','3874071','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3874071&idxID=063','3','1','SPOTLESS RANCH STYLE TREASURE READY TO BE DISCOVERED!!  LARG...');
	properties[11] = new Array('85,900','171 2nd Ave SW ','Milaca, MN 56353 ','http://photos-4.idxco.com/0638c49521c6c3ed79e184f46ac34c6f6fd3840951','3840951','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3840951&idxID=063','','','HIGH TRAFFIC RETAIL SPACE MAIN LEVEL &amp; 2 UPPER LEVEL APT...');
	properties[12] = new Array('57,500','162xx 180th ','Foreston, MN 56330 ','http://photos-4.idxco.com/063582c22cde30443222255d4466f8e84e33679874','3679874','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3679874&idxID=063','','','Nice open 20 acres to start your country estate or hobby far...');
	properties[13] = new Array('29,900','11XXX 134TH St ','Milaca, MN 56353 ','http://photos-4.idxco.com/063271e2fc7dee1134091db2139eb1a4b703836063','3836063','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3836063&idxID=063','','','BEAUTIFUL BLDG SITE IN RURAL DEVELOPMENT OF 6 PROPERTIES. OT...');
	properties[14] = new Array('29,900','10xxx 134th St ','Milaca, MN 56353 ','http://photos-4.idxco.com/06355c9813962c4aafd9b5ef3f61833a5c73836046','3836046','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3836046&idxID=063','','','NICE BLDG SITES ON RURAL CUL DE SAC CLOSE TO TOWN. 6 LOTS IN...');
	properties[15] = new Array('24,900','16237 80th Ave ','Milaca, MN 56353 ','http://photos-4.idxco.com/063e942b4a755baef76702afa2f32f7fab33821526','3821526','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3821526&idxID=063','','','OPEN, LEVEL, DRY LOT READY FOR YOUR HOME PLANS, 1/2 MILE OFF...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
