	// IDX Broker Slideshow version 1.0
	// Copyright ©2010 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('#IDX-slideshow { width: 320px; height: 300px;  }');
	document.writeln('.IDX-image { width: 320px; height: 240px;  }');
	document.writeln('</style>');
	var next = 1;
	prev = 36 - 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 >= 36)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 36 - 1;
	} // end genPrev

	var properties = new Array(36);
	properties[0] = new Array('1,650,000','3416 DOVER HILL CT ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/394/07294394.jpg','07294394','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07294394&idxID=004','5','6','Masterfully crafted by Avondale Custom Homes with 11,000 squ...');
	properties[1] = new Array('1,100,000','5N847 SURREY RD ','WAYNE, IL 60184 ','http://www.mredllc.com/photos/property/711/07433711.jpg','07433711','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07433711&idxID=004','6','5','Magnificent private wooded setting including a 1 acre 30\\\\\\\\...');
	properties[2] = new Array('725,000','7N430 HAMPTON DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/484/07399484.jpg','07399484','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07399484&idxID=004','4','5','4000 square feet of immaculate plus a full finished basement...');
	properties[3] = new Array('675,000','40W210 FOX MILL BLVD ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-126100085433593','07221494','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07221494&idxID=004','5','4','Impressive Grand stately residence on premium lot backing to...');
	properties[4] = new Array('625,000','6N697 BROOKHAVEN LN ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/215/07403215.jpg','07403215','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07403215&idxID=004','4','4','Long private drive leads to this spectacular quiet retreat o...');
	properties[5] = new Array('600,000','4N428 KINGSWOOD CT ','WAYNE, IL 60184 ','http://www.mredllc.com/photos/property/215/07372215.jpg','07372215','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07372215&idxID=004','4','3','Pristine &amp; like new! Mostly brick exterior &amp; quality...');
	properties[6] = new Array('599,000','46W819 INDIAN CREEK (IC) TRL ','MAPLE PARK, IL 60151 ','http://www.mredllc.com/photos/property/449/07148449.jpg','07148449','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07148449&idxID=004','4','3','Endless possibilties on approximately 9 acres of all new fen...');
	properties[7] = new Array('550,000','3702 GREENWOOD LN ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-125857643341911','07328124','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07328124&idxID=004','4','5','Pristine residence in desirable Redgate of St Charles! Premi...');
	properties[8] = new Array('550,000','1474 HARMONY DR ','BARTLETT, IL 60103 ','http://www.mredllc.com/photos/property/841/07268841.jpg','07268841','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07268841&idxID=004','4','4','4600 square feet 4 bedroom, 4.5 bath newer custom home! Bric...');
	properties[9] = new Array('525,000','2225 SUTTON DR ','SOUTH ELGIN, IL 60177 ','http://www.mredllc.com/photos/property/537/07385537.jpg','07385537','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07385537&idxID=004','4','2','Superb premium lot overlooking sparkling private pond views!...');
	properties[10] = new Array('489,000','4N458 SCHOOL RD ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/013/07382013.jpg','07382013','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07382013&idxID=004','4','2','Premium Lot! Backs to open space! Enjoy your privacy with no...');
	properties[11] = new Array('485,000','39W064 FOXWOOD LN ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/999/07411999.jpg','07411999','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07411999&idxID=004','5','4','Are location, views and privacy important to you? Come see t...');
	properties[12] = new Array('450,000','206 WATER ST 401 ','BATAVIA, IL 60510 ','http://www.mredllc.com/photos/property/201/07427201.jpg','07427201','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07427201&idxID=004','2','2','Grand scale living with 2700 square feet and the best river ...');
	properties[13] = new Array('425,000','2057 BROOKWOOD CT ','SOUTH ELGIN, IL 60177 ','http://www.mredllc.com/photos/property/828/07384828.jpg','07384828','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07384828&idxID=004','4','4','Brick front beauty on half acre culdesac lot across from par...');
	properties[14] = new Array('414,900','39W315 SHELDON LN ','GENEVA, IL 60134 ','http://www.mredllc.com/photos/property/927/07407927.jpg','07407927','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07407927&idxID=004','4','3','3600 Square feet of Franklin model gorgeous! Spacious open f...');
	properties[15] = new Array('400,000','39W259 HILLTOP DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-125857057383770','07243133','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07243133&idxID=004','4','3','Gigantic 3500 square foot home with room to roam! Perfect fo...');
	properties[16] = new Array('389,900','34W532 COLLEY DR ','ST. CHARLES, IL 60174 ','http://supplemental.idxco.com/3019-125960627802701','07387598','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07387598&idxID=004','4','2','Executive style brick front home! High end amenities include...');
	properties[17] = new Array('369,900','40W142 JACK LONDON ST ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/515/07341515.jpg','07341515','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07341515&idxID=004','4','2','Best buy in Fox Mill! Appealing brick front Georgian with 3 ...');
	properties[18] = new Array('325,000','29 SOUTHGATE COURSE CT ','ST. CHARLES, IL 60174 ','http://supplemental.idxco.com/3019-125857061986893','07378527','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07378527&idxID=004','4','2','Great eastside location on a culdesac backing to open space ...');
	properties[19] = new Array('325,000','1005 FERN AVE ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/753/07327753.jpg','07327753','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07327753&idxID=004','6','4','3100 square feet! In town location! Wonderful ways to save i...');
	properties[20] = new Array('325,000','1005 FERN AVE ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/729/07327729.jpg','07327729','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07327729&idxID=004','','','3100 square feet! In town location! Great in law arrangement...');
	properties[21] = new Array('284,900','38W391 TOMS TRAIL DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/783/07425783.jpg','07425783','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07425783&idxID=004','3','2','Model like home wonderfully located on almost 3/4 acre priva...');
	properties[22] = new Array('275,000','419 12TH AVE ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/447/07388447.jpg','07388447','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07388447&idxID=004','4','3','Newer 3000 square foot of living space! Beautiful vaulted ce...');
	properties[23] = new Array('259,900','725 WESTFIELD ','GENEVA, IL 60134 ','http://www.mredllc.com/photos/property/789/07415789.jpg','07415789','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07415789&idxID=004','4','2','Here\\\\\\\'s your chance with a little TLC to have over 2100 sq...');
	properties[24] = new Array('239,900','1244 WISE ST ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/595/07311595.jpg','07311595','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07311595&idxID=004','4','3','Almost 3000 square feet or open floor plan and lots of upgra...');
	properties[25] = new Array('239,000','326 HICKORY LN ','SOUTH ELGIN, IL 60177 ','http://www.mredllc.com/photos/property/898/07401898.jpg','07401898','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07401898&idxID=004','3','3','Fabulous 2400 square foot luxurious townhome! 3 nice size be...');
	properties[26] = new Array('199,900','510 HERITAGE CT 510 ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/752/07423752.jpg','07423752','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07423752&idxID=004','3','2','Now\\\\\\\\\\\\\\\'s your chance to buy this hard to find popular Me...');
	properties[27] = new Array('175,000','289F NICOLE DR ','SOUTH ELGIN, IL 60177 ','http://www.mredllc.com/photos/property/804/07426804.jpg','07426804','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07426804&idxID=004','2','2','Rare meticulous maintained 1st floor ranch end unit! Well la...');
	properties[28] = new Array('175,000','288 TIMBER TRAILS ST ','GILBERTS, IL 60136 ','http://www.mredllc.com/photos/property/749/07321749.jpg','07321749','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07321749&idxID=004','3','2','Shows like a model! Spectacular upgraded Whitehall model end...');
	properties[29] = new Array('165,000','L0T 08 STONEBRIAR RD ','ELGIN, IL 60124 ','http://www.mredllc.com/photos/property/008/07387008.jpg','07387008','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07387008&idxID=004','','','WHAT A GREAT PRICE FOR THIS 1.37 ACRE LOT TUCKED AWAY IN THI...');
	properties[30] = new Array('164,900','LOT 7 EMILY LN ','HUNTLEY, IL 60142 ','http://www.mredllc.com/photos/property/241/07009241.jpg','07009241','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07009241&idxID=004','','','FABULOUS COUNTRY ACRE PLUS HOMESITE IN PRESTIGIOUS BELLE POI...');
	properties[31] = new Array('159,900','LOT 17 MELS WAY ','HUNTLEY, IL 60142 ','http://www.mredllc.com/photos/property/233/07009233.jpg','07009233','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07009233&idxID=004','','','FABULOUS COUNTRY ACRE PLUS HOMESITE IN PRESTIGIOUS BELLE POI...');
	properties[32] = new Array('109,900','417 13TH AVE ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/453/07274453.jpg','07274453','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07274453&idxID=004','','','HERE IS YOUR CHANCE TO HAVE NEW AND BUILD IN TOWN! MATURE SH...');
	properties[33] = new Array('79,900','LT1030 SETTLER AVE ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/520/06710520.jpg','06710520','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06710520&idxID=004','','','Build to Suit or Bring Your Own Builder! Nice Lot Available ...');
	properties[34] = new Array('79,900','LOT915 SOUDERS ST ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/476/06710476.jpg','06710476','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06710476&idxID=004','','','Build to Suit or Bring Your Own Builder! Nice Lot Available ...');
	properties[35] = new Array('6,000','300 Dunes Blvd 502 ','Naples, FL 23110 ','http://supplemental.idxco.com/3019-12091594728692737','IDX-1205503489','999','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=IDX-1205503489&supp=1','3','3','Million dollar condo in the popular Dunes complex. One block...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
