	// 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 = 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 = 20 - 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 >= 20)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 20 - 1;
	} // end genPrev

	var properties = new Array(20);
	properties[0] = new Array('240,600','14132 165th Ave NE ','Granite Ledge Twp, MN 56329 ','http://photos-4.idxco.com/063130cf07b96aa8a1d1a15124fc01e17ad3638865','3638865','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3638865&idxID=063','','','WONDERFUL OLD FARMSITE WITH POSSIBILITIES. HUGE PINE TREE LI...');
	properties[1] = 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[2] = new Array('159,900','235 Central Ave S ','Milaca, MN 56353 ','http://supplemental.idxco.com/2574-124535178108414','3699029','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3699029&idxID=063','4','2','Historical Milaca home offers many possibilities. Built in t...');
	properties[3] = 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[4] = new Array('149,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[5] = new Array('129,900','307 Pheasant Ln ','Foreston, MN 56330 ','http://photos-4.idxco.com/06323b058c99a4611b062129ecdf09644893847287','3847287','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3847287&idxID=063','3','1','Lovely split on acreage with new blacktop frontage, totally ...');
	properties[6] = new Array('125,000','30688 98th St NW ','Princeton, MN 55371 ','http://photos-4.idxco.com/063b4a9210b09a5a3bd1cc95c97d816477a3854250','3854250','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3854250&idxID=063','3','1','UPDATES INCLUDE NEWER FURNACE, WATER HEATER, SEPTIC, INTERIO...');
	properties[7] = new Array('124,900','1100 4th Ave NW ','Milaca, MN 56353 ','http://photos-4.idxco.com/06325808d71dd8eea6ef2cd5e950a673b183810181','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[8] = new Array('109,900','101 Veddars Ave ','Pease, MN 56353 ','http://photos-4.idxco.com/06342f6c23f006fd05a7bcbf12469ea96e63814002','3814002','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3814002&idxID=063','2','2','Handicap accessible, quality crafted, affordable one-level t...');
	properties[9] = new Array('99,900','430 3rd Ave SE ','Milaca, MN 56353 ','http://photos-4.idxco.com/0637405c430adf71f9f318024f859bce7d43838662','3838662','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3838662&idxID=063','3','2','Wonderful classic home with original woodwork, open front po...');
	properties[10] = new Array('94,900','660 2nd Ave SE ','Milaca, MN 56353 ','http://photos-4.idxco.com/0630a63342ca24493c38225d99832fc3bb63805590','3805590','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3805590&idxID=063','3','1','SPOTLESS RANCH STYLE TREASURE READY TO BE  DISCOVERED!! AMPL...');
	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('82,000','166xx 200th St ','Milaca, MN 56353 ','http://photos-4.idxco.com/0631e0f21143a437caa5e6ab5247b6046673629141','3629141','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3629141&idxID=063','','','40 ACRES WITH SMALL HAYFIELD BY ROAD, AND WOODS BEHIND.    B...');
	properties[13] = new Array('74,900','14192 N 160th ave N ','Foreston, MN 56330 ','http://photos-4.idxco.com/06387c3c998b3d1cb07faa4220536af292f3691065','3691065','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3691065&idxID=063','','','GREAT LAND FOR RV\\\\\\\'er, TRUCKER, OR BLDING SITE. METAL/STUC...');
	properties[14] = 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[15] = new Array('54,900','xxx 140th Ave ','Milaca, MN 56353 ','http://photos-4.idxco.com/063c76e651fd3b1cc19e160782af89f89db3623231','3623231','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3623231&idxID=063','','','Great fore hobby farm, with possible walk-out basement, plen...');
	properties[16] = 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[17] = 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[18] = 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...');
	properties[19] = new Array('15,000','210 3rd Ave SE ','Milaca, MN 56353 ','http://photos-4.idxco.com/0639bdebc2bbaecd49002ad7be8e8d80a2d3850267','3850267','063','http://www.jkleinrealty.idxco.com/idx/2574/details.php?listingID=3850267&idxID=063','1','1','Renovation Started, dirty work done! Plaster and lathe remov...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
