	// 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: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; font-style: normal; text-decoration: none; color: #98bcf0;  }');
	document.writeln('#IDX-slideshow { text-align: center; background-color: #000000; border-width: 3px; border-style: solid; border-color: #000000; 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+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('929,000','258 CLAIR VIEW CT ','LAKE ZURICH, IL 60047 ','http://www.mredllc.com/photos/property/451/07369451.jpg','07369451','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07369451&idxID=004','4','3','OVER 4000 SQ FT CUSTOM HM,RICH IN CHARACTER&amp; CHARM W/AMA...');
	properties[1] = new Array('623,750','23696 RALEIGH DR ','LINCOLNSHIRE, IL 60069 ','http://www.mredllc.com/photos/property/098/07252098.jpg','07252098','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07252098&idxID=004','3','3','CUST QUALITY BUILT CONTEMP 2STY OVR 4000 SQ FT W/FIN BSMT. P...');
	properties[2] = new Array('597,500','2685 PRISCILLA AVE ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/162/07252162.jpg','07252162','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07252162&idxID=004','4','3','PERFECTLY MAINTAINED 2STORY,PREMIUM FNCED LOT/CUL DE SAC LOC...');
	properties[3] = new Array('379,900','436 RED CEDAR RD ','LAKE VILLA, IL 60046 ','http://www.mredllc.com/photos/property/458/07119458.jpg','07119458','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07119458&idxID=004','4','2','CEDARS RIDGE ESTATES FINEST! PRIVATE CUL DE SAC LOCN BACKS T...');
	properties[4] = new Array('369,000','1249 GEORGETOWN WAY ','VERNON HILLS, IL 60061 ','http://www.mredllc.com/photos/property/789/07379789.jpg','07379789','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07379789&idxID=004','4','2','STUNNING EXECUTIVE TOWNHOME W/POND VIEWS. LITE,BRITE,OPEN FL...');
	properties[5] = new Array('339,900','991 WHITEHALL DR ','BUFFALO GROVE, IL 60089 ','http://www.mredllc.com/photos/property/699/07279699.jpg','07279699','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07279699&idxID=004','3','3','CUSTOM REDESIGNED, UPDATED &amp; EXPANDED-LG FAM RM/GREAT RM...');
	properties[6] = new Array('319,999','1771 MISSION HILLS RD 317 ','NORTHBROOK, IL 60062 ','http://www.mredllc.com/photos/property/979/07124979.jpg','07124979','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07124979&idxID=004','3','2','MISSION HILLS FINEST,CORNER UNIT-GORGEOUS GOLF COURSE VIEW O...');
	properties[7] = new Array('275,000','2828 SWEET CLOVER WAY ','WAUCONDA, IL 60084 ','http://www.mredllc.com/photos/property/007/07310007.jpg','07310007','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07310007&idxID=004','4','2','EXCELLENT VALUE!GREAT PRICE &amp; LOC\\\\\\\'N W/4 LRG BRS+2ND F...');
	properties[8] = new Array('269,000','1621 MISSION HILLS RD 103 ','NORTHBROOK, IL 60062 ','http://www.mredllc.com/photos/property/386/07369386.jpg','07369386','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07369386&idxID=004','3','3','NEARLY 2300 SQ FT, RARE \\\\\\&quot;G\\\\\\&quot; UNIT,6 PNL WHT D...');
	properties[9] = new Array('169,900','1095 MERRILL ST C2 ','WINNETKA, IL 60093 ','http://www.mredllc.com/photos/property/494/07153494.jpg','07153494','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07153494&idxID=004','1','1','CUSTOM TOP OF THE LINE CONDO-HUBBARD WOODS. GREAT LOC\\\\\\\'N &...');
	properties[10] = new Array('2,750','2685 PRISCILLA AVE ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/277/07377277.jpg','07377277','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07377277&idxID=004','4','3','PERFECTLY MAINTAINED 2STORY,PREMIUM FNCED LOT/CUL DE SAC LOC...');
	properties[11] = new Array('2,250','1249 GEORGETOWN WAY ','VERNON HILLS, IL 60061 ','http://www.mredllc.com/photos/property/737/07379737.jpg','07379737','004','http://www.juliannespilotro.idxco.com/idx/2469/details.php?listingID=07379737&idxID=004','4','2','STUNNING EXECUTIVE TOWNHOME W/POND VIEWS. LITE,BRITE,OPEN FL...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
