	// IDX Broker Slideshow version 1.0
	// Copyright ¿2012 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 = 21 - 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 >= 21)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 21 - 1;
	} // end genPrev

	var properties = new Array(21);
	properties[0] = new Array('1,200,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 OFDO...');
	properties[1] = new Array('699,000','2291 Hybernia DR ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/062/07668062.jpg','07668062','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07668062&idxID=004','5','5','NOW A SHORT SALE!HUGE HOME THAT NEEDS UPDATING &amp; EXTEN...');
	properties[2] = new Array('699,000','1079 GOLF AVE ','Highland Park, IL 60035 ','http://www.mredllc.com/photos/property/170/07822170.jpg','07822170','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07822170&idxID=004','4','4','IN TOWN LOCATION! ALL BRICK HOME HAS DRAMATIC STAIRCASE &amp...');
	properties[3] = new Array('575,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 ONLY BLOCKS FROM WRIGLEY FIELD! WELL MAIN...');
	properties[4] = new Array('548,900','1961 RICHFIELD AVE ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/451/07475451.jpg','07475451','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07475451&idxID=004','4','2','SPACIOUS, SUNNY HOME, GREAT FLOOR PLAN, CONTEMPORARY WITH FA...');
	properties[5] = new Array('525,000','2852 WHITE OAK CT ','BUFFALO GROVE, IL 60089 ','http://www.mredllc.com/photos/property/620/07978620.jpg','07978620','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07978620&idxID=004','4','2','PRIME LOCATION, MINT CONDITION &amp; HI-END UPGRADES! STUNNI...');
	properties[6] = new Array('350,000','1772 MC CRAREN ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/688/07388688.jpg','07388688','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07388688&idxID=004','4','2','MUST SELL!NEEDS WORK AND IF YOU CAN SEE BEYOND THE HOUSEKE...');
	properties[7] = new Array('219,900','1537 FALLBROOK DR ','ROUND LAKE, IL 60073 ','http://www.mredllc.com/photos/property/558/07974558.jpg','07974558','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07974558&idxID=004','3','2','SHOWS LIKE A MODEL! HI-END FINISHES INCLUDE 42\\\\\\\\\\\\\\&quot; ...');
	properties[8] = new Array('204,900','199 PRIMROSE LN ','ROUND LAKE, IL 60073 ','http://www.mredllc.com/photos/property/488/07475488.jpg','07475488','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07475488&idxID=004','4','2','ONLY AVAILABLE FOR INVESTORS!TENANT IN PROPERTY FOR ONE-YE...');
	properties[9] = new Array('184,900','212 TANGLEWOOD ','ROUND LAKE, IL 60073 ','http://www.mredllc.com/photos/property/604/07471604.jpg','07471604','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07471604&idxID=004','3','2','CURRENTLY RENTED AND ONLY AVAILABLE FOR AN INVESTOR!CURREN...');
	properties[10] = new Array('155,000','154 WILDFLOWER ','ROUND LAKE BEACH, IL 60073 ','http://www.mredllc.com/photos/property/027/07556027.jpg','07556027','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07556027&idxID=004','4','2','CURRENTLY TENANT OCCUPIED FOR $1550-1650 PER MONTH UNTIL 01/...');
	properties[11] = new Array('150,000','3032 VERMONT ','WAUKEGAN, IL 60085 ','http://www.mredllc.com/photos/property/032/07556032.jpg','07556032','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07556032&idxID=004','4','2','THIS HOME IS TENANT OCCUPIED RENTING FOR $1650 PER MONTH UNT...');
	properties[12] = new Array('145,000','870 WATERVIEW ','ROUND LAKE PARK, IL 60073 ','http://www.mredllc.com/photos/property/066/07556066.jpg','07556066','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07556066&idxID=004','3','2','CONTEMPORARY HOME RENTED UNTIL FEBRUARY 3/30/13 FOR $ 1,610W...');
	properties[13] = new Array('144,900','2546 LANCASTER ','ROUND LAKE BEACH, IL 60073 ','http://www.mredllc.com/photos/property/061/07556061.jpg','07556061','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07556061&idxID=004','4','2','TENANT OCCUPIED UNTIL 5/31/12, SO ALLOW AMPLE TIME FOR SHOWI...');
	properties[14] = new Array('135,000','2807 KEITH ','WAUKEGAN, IL 60085 ','http://www.mredllc.com/photos/property/050/07556050.jpg','07556050','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07556050&idxID=004','3','2','CURRENTLY TENANT OCCUPIED UNTIL 6/30/14 AND AVAILABLE FOR IN...');
	properties[15] = new Array('135,000','1162 LOMOND DR ','MUNDELEIN, IL 60060 ','http://www.mredllc.com/photos/property/068/07556068.jpg','07556068','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07556068&idxID=004','3','2','LOCATED ACROSS THE STREET FROM THE LAKE IN POPULAR LOCH LOMO...');
	properties[16] = new Array('135,000','3047 BURRIS ','WAUKEGAN, IL 60085 ','http://www.mredllc.com/photos/property/969/07712969.jpg','07712969','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07712969&idxID=004','3','2','TWO-STORY FAMILY ROOM W/OPEN STAIRCASE TO 2ND FLOOR. WIDE-PL...');
	properties[17] = new Array('135,000','680 Huron Hills Trail ','ROUND LAKE HEIGHTS, IL 60073 ','http://www.mredllc.com/photos/property/996/07712996.jpg','07712996','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07712996&idxID=004','3','2','NOW RENTED AND SUBJECT TO THE ONE YEAR LEASE STARTING MARCH1...');
	properties[18] = new Array('69,900','1617 BELLE PLAINE AVE ','GURNEE, IL 60031 ','http://www.mredllc.com/photos/property/558/07865558.jpg','07865558','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07865558&idxID=004','2','1','SHORT SALE PRICED TO SELL!2-BEDROOM HOME ALSO USED AS A 3-...');
	properties[19] = new Array('1,350','1162 LOMOND DR ','MUNDELEIN, IL 60060 ','http://www.mredllc.com/photos/property/836/07913836.jpg','07913836','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07913836&idxID=004','3','2','LOCATED ACROSS THE STREET FROM LOCH LOMOND LAKE!UPDATED RA...');
	properties[20] = new Array('1,250','3448 Grandville AVE ','GURNEE, IL 60031 ','http://www.mredllc.com/photos/property/950/07915950.jpg','07915950','004','http://www.fran-ira.idxco.com/idx/2887/details.php?listingID=07915950&idxID=004','3','2','IMMEDIATE OCCUPANCY!FRESHLY PAINTED BRIGHT AND SUNNY 1/2 D...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

