	// 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: Arial, Helvetica, sans-serif; font-weight: bold; color: #000000;  }');
	document.writeln('#IDX-slideshow { text-align: center; background-color: #a9a9a9; border-style: solid; width: 320px; height: 300px;  }');
	document.writeln('.IDX-image { width: 320px; height: 240px;  }');
	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+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('1,500,000','6259 HIGHWAY 57 ','JACKSONPORT, WI 54235 ','http://www.mredllc.com/photos/property/777/06364777.jpg','06364777','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=06364777&idxID=004','','','RESTAURANT/MOTEL OPPORTUNITY IN THE VACATION WONDERLAND OF  ...');
	properties[1] = new Array('1,045,000','1079 GOLF AVE ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/638/07155638.jpg','07155638','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07155638&idxID=004','4','4','IN TOWN LOCATION ON PRIVATE DEAD END STREET.ALL BRK HOME HAS...');
	properties[2] = new Array('649,900','1616 ADDISON ST ','CHICAGO, IL 60613 ','http://www.mredllc.com/photos/property/032/07194032.jpg','07194032','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07194032&idxID=004','','','LOCATION, LOCATION ONLY BLOCKS FROM WRIGLEY FIELD! WELL MAIN...');
	properties[3] = new Array('599,900','28968 SKY CREST DR ','IVANHOE, IL 60060 ','http://www.mredllc.com/photos/property/170/06843170.jpg','06843170','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=06843170&idxID=004','5','5','SHORT SALE NOW BACK ON THE MARKET! NO SURVEY. BUYER RESPONSI...');
	properties[4] = new Array('269,900','603 BORDEAUX CT 603 ','BUFFALO GROVE, IL 60089 ','http://www.mredllc.com/photos/property/787/07379787.jpg','07379787','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07379787&idxID=004','3','2','CONTEMPORARY  W/2 STORY ENTRY.CATHEDRAL CEILING &amp; OPEN S...');
	properties[5] = new Array('259,900','500 CHERRY CIR ','GLENVIEW, IL 60025 ','http://www.mredllc.com/photos/property/606/07161606.jpg','07161606','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07161606&idxID=004','3','2','BRIGHT &amp; COZY RANCH IN MOVE-IN CONDITION WITH FLEXIBLE F...');
	properties[6] = new Array('199,900','4545 TOUHY AVE 616 ','LINCOLNWOOD, IL 60712 ','http://www.mredllc.com/photos/property/083/06843083.jpg','06843083','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=06843083&idxID=004','3','2','SHORT SALE AT LUXURIOUS BARCLAY PLACE! PRICE REDUCED TO REFL...');
	properties[7] = new Array('174,500','1715 GREENWOOD ST ','EVANSTON, IL 60201 ','http://www.mredllc.com/photos/property/651/07219651.jpg','07219651','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07219651&idxID=004','3','2','EASY TO SHOW! RECENT RENOVATIONS INCL SS APPL, REMODEL KITCH...');
	properties[8] = new Array('94,900','918 WINONA AVE 503 ','CHICAGO, IL 60640 ','http://www.mredllc.com/photos/property/225/07352225.jpg','07352225','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07352225&idxID=004','0','1','BEAUTIFULLY UPDATED AND DECORATED UNIT ON HIGH FLR W/ VIEW A...');
	properties[9] = new Array('5,400','1079 GOLF AVE ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/688/07155688.jpg','07155688','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07155688&idxID=004','4','4','IN-TOWN LOCATION! NEWER HM EAST OF XPRSSWAY,ONLY BLOCKS TO D...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
