	// 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 = 12 - 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 >= 12)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 12 - 1;
	} // end genPrev

	var properties = new Array(12);
	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('679,000','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. WELL MAINTAINED AND CLEAN, SOLID BRICK T...');
	properties[3] = new Array('649,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','BACK ON MKT &amp; NOW A STEAL! BANK APPROVED SHORT SALE PRIC...');
	properties[4] = new Array('649,900','1961 RICHFIELD AVE ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/873/07193873.jpg','07193873','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07193873&idxID=004','4','2','SPACIOUS, SUNNY HOME, GREAT FLOOR PLAN, CONTEMPORARY WITH FA...');
	properties[5] = new Array('429,000','7045 WILLOW SPRING RD ','LONG GROVE, IL 60060 ','http://www.mredllc.com/photos/property/112/07152112.jpg','07152112','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07152112&idxID=004','3','2','LOOKING FOR SOMETHING COZY,SPOTLESS &amp; VERY SPECIAL? HERE...');
	properties[6] = new Array('299,000','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','BUYER WALKED FROM SHORT SALE.  REDUCED TO BANK\\\\\\\'S ACCEPTED...');
	properties[7] = new Array('275,000','207 RIVERSHIRE LN 205 ','LINCOLNSHIRE, IL 60069 ','http://www.mredllc.com/photos/property/710/07165710.jpg','07165710','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07165710&idxID=004','2','2','LIGHT,BRIGHT &amp; CONTEMP GEM! REMODELED WHITE KIT W/BLACK ...');
	properties[8] = new Array('269,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[9] = new Array('209,900','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','GREAT LOCATION ON DEEP, PRIVATE LOT IN POPULAR DEWEY AREA! 2...');
	properties[10] = new Array('205,000','340 SAGE BRUSH CIR ','ROUND LAKE, IL 60073 ','http://www.mredllc.com/photos/property/527/07162527.jpg','07162527','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07162527&idxID=004','3','2','PRIME CUL-DE-SAC LOCATION! SPARKLING COLONIAL WITH 2 STORY O...');
	properties[11] = new Array('5,000','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();
