	// 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('#IDX-slideshow { width: 320px; height: 300px;  }');
	document.writeln('.IDX-image { width: 320px; height: 240px;  }');
	document.writeln('</style>');
	var next = 1;
	prev = 44 - 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 >= 44)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 44 - 1;
	} // end genPrev

	var properties = new Array(44);
	properties[0] = new Array('1,899,900','5N145 PRAIRIE ROSE DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/171/07179171.jpg','07179171','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07179171&idxID=004','6','7','Masterful touch of timeless architecture evident in this new...');
	properties[1] = new Array('995,000','205 BURR OAK CIR ','ELGIN, IL 60124 ','http://supplemental.idxco.com/3019-124206808238135','07021231','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07021231&idxID=004','4','5','Magnificent Sylvestri built masterpiece on a 3/4 acre irriga...');
	properties[2] = new Array('850,000','36W750 WHISPERING TRAIL DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/032/07216032.jpg','07216032','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07216032&idxID=004','4','4','The grand foyer offers a 20’ ceiling, an 8’ solid alder wood...');
	properties[3] = new Array('799,900','11N415 HUNTER TRL ','ELGIN, IL 60124 ','http://www.mredllc.com/photos/property/587/07245587.jpg','07245587','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07245587&idxID=004','4','5','Spectacular estate built in 2006 featuring gorgeous architec...');
	properties[4] = new Array('709,900','40W210 FOX MILL BLVD ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/494/07221494.jpg','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[5] = new Array('699,900','42W403 HUNTERS HILL DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-123802177473535','07168445','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07168445&idxID=004','5','4','Amazing TRUE Guest/inlaw private suite attached to this spec...');
	properties[6] = new Array('675,000','6N948 GILMORE DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-124413423022744','07180821','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07180821&idxID=004','4','4','Builders own newer home with all the extras! 6 car garage, 3...');
	properties[7] = new Array('650,000','6N697 BROOKHAVEN LN ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-123687004785464','07006781','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07006781&idxID=004','4','4','Long private drive leads to this spectacular quiet retreat o...');
	properties[8] = new Array('599,900','1474 HARMONY DR ','BARTLETT, IL 60103 ','http://www.mredllc.com/photos/property/021/07112021.jpg','07112021','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07112021&idxID=004','4','4','Growing family? How about 4600 square feet! Newer eye pleasi...');
	properties[9] = 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[10] = new Array('549,900','41W223 SADDLEBROOK DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-124206814543877','07153356','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07153356&idxID=004','4','2','Long winding drive leads to this striking 3 sided brick esta...');
	properties[11] = new Array('539,900','39W064 FOXWOOD LN ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/575/07172575.jpg','07172575','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07172575&idxID=004','5','4','Are location, views and privacy important to you? Come see t...');
	properties[12] = new Array('539,000','1547 OLD FORGE RD ','BARTLETT, IL 60103 ','http://supplemental.idxco.com/3019-124232821381545','07213405','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07213405&idxID=004','4','3','Great curb appeal brick front beauty on almost a 1/2 acre ba...');
	properties[13] = new Array('519,900','1181 WILLOWGATE RD 1181 ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/470/07257470.jpg','07257470','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07257470&idxID=004','3','3','ELEGANT TOWNHOME LOCATED IN PRESTIGIOUS WILLOWGATE COMMUNITY...');
	properties[14] = new Array('475,000','39W851 PRUNETREE LN ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/088/07218088.jpg','07218088','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07218088&idxID=004','4','2','Enjoy your summers relaxing by the private inground pool at ...');
	properties[15] = new Array('450,000','40W374 LAURA INGALLS DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/923/07097923.jpg','07097923','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07097923&idxID=004','4','4','ELEGANT BRICK FRONT RESIDENCE W/SO MANY UPGRADES! BRAZILIAN ...');
	properties[16] = new Array('449,900','39W315 SHELDON LN ','GENEVA, IL 60134 ','http://supplemental.idxco.com/3019-123686998607354','06997996','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06997996&idxID=004','4','3','3600 Square feet of Franklin model gorgeous! Spacious open f...');
	properties[17] = new Array('425,000','39W259 HILLTOP DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/133/07243133.jpg','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[18] = new Array('419,000','40W602 BLUE LAKE CIR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/920/07197920.jpg','07197920','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07197920&idxID=004','4','3','Three year new home in pristine condition! Executive stone &...');
	properties[19] = new Array('414,900','4N275 BOOTH TARKINGTON ST ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/078/07216078.jpg','07216078','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07216078&idxID=004','4','3','Paid 532k in 2006! Lots of extras! Open floor plan! Beautifu...');
	properties[20] = new Array('339,900','263 PLEASANT PLAINS DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/007/07181007.jpg','07181007','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07181007&idxID=004','4','2','Stunning Farnsworth model in newer family sub division! Over...');
	properties[21] = new Array('329,900','220 VALLEY VIEW DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/837/07248837.jpg','07248837','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07248837&idxID=004','4','2','Stunning Farnsworth model with 3000 square feet of living sp...');
	properties[22] = new Array('325,000','LOT 3 BROOKHAVEN LN ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/166/07007166.jpg','07007166','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07007166&idxID=004','','','LONG PRIVATE TREE LINED DRIVE LEADS YOU TO THE IDEAL HOMESIT...');
	properties[23] = new Array('325,000','LOT 2 BROOKHAVEN LN ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/161/07007161.jpg','07007161','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07007161&idxID=004','','','LONG PRIVATE TREE LINED DRIVE LEADS YOU TO THE IDEAL HOMESIT...');
	properties[24] = new Array('325,000','1811 WILLIAMSBURG AVE ','GENEVA, IL 60134 ','http://www.mredllc.com/photos/property/231/07203231.jpg','07203231','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07203231&idxID=004','3','2','You will be amazed when you enter this well maintained upgra...');
	properties[25] = new Array('325,000','LOT KENDALL RD ','ELGIN, IL 60123 ','http://www.mredllc.com/photos/property/605/07172605.jpg','07172605','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07172605&idxID=004','','','SPECTACULAR 5+ WOODED ACRES NOW AVAILABLE!! PERFECT PROPERTY...');
	properties[26] = new Array('299,000','1327 GARDEN CT ','BATAVIA, IL 60510 ','http://www.mredllc.com/photos/property/092/07195092.jpg','07195092','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07195092&idxID=004','4','2','Not your everyday 2 story! Situated on a half acre fenced in...');
	properties[27] = new Array('275,000','0N512 BAKER DR ','GENEVA, IL 60134 ','http://www.mredllc.com/photos/property/669/07219669.jpg','07219669','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07219669&idxID=004','2','2','Model-like expanded Denver model in the Pinehurst Village Ho...');
	properties[28] = new Array('259,900','7N030 GARY CT ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-123686991741241','06972862','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06972862&idxID=004','3','2','Wow..Almost an acre of private mature tree property located ...');
	properties[29] = new Array('254,900','269 LARSDOTTER LN 269 ','GENEVA, IL 60134 ','http://supplemental.idxco.com/3019-122892362266780','07044100','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07044100&idxID=004','3','2','Outstanding location just steps to Geneva Commons and Delnor...');
	properties[30] = new Array('230,000','1096 WISE ST ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/242/07179242.jpg','07179242','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07179242&idxID=004','3','2','Unbelievable deal! Newer home with upgraded porch elevation ...');
	properties[31] = new Array('229,900','275 TOWER HILL DR ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/699/07194699.jpg','07194699','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07194699&idxID=004','2','2','Perfect for 1st time home buyer or investor! The Savannah......');
	properties[32] = new Array('229,900','436 TIVERTON ST 436 ','ELGIN, IL 60123 ','http://www.mredllc.com/photos/property/930/07221930.jpg','07221930','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07221930&idxID=004','3','2','POPULAR 3 BDRM CHESAPEAKE MODEL BARELY LIVED IN AS SELLERS T...');
	properties[33] = new Array('215,000','510 HERITAGE CT 510 ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/211/07260211.jpg','07260211','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07260211&idxID=004','3','2','Now\\\\\\\'s your chance to buy this hard to find popular Meadow...');
	properties[34] = new Array('214,900','1146 MOTZ ST ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/921/07124921.jpg','07124921','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07124921&idxID=004','3','2','Unbelievable price! Sellers paid $291,459 in 12/05 new!Famil...');
	properties[35] = new Array('189,900','1436 7TH ST ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/381/07241381.jpg','07241381','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07241381&idxID=004','3','1','Beautiful in town well landscaped yard ranch home offers a s...');
	properties[36] = new Array('165,000','L0T 08 STONEBRIAR RD ','ELGIN, IL 60124 ','http://supplemental.idxco.com/3019-122842581999228','07033428','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07033428&idxID=004','','','What a great price for this 1.37 acre lot tucked away in thi...');
	properties[37] = 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[38] = 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[39] = new Array('139,900','1561 COUNTY FARM RD 1A ','WHEATON, IL 60187 ','http://www.mredllc.com/photos/property/704/07225704.jpg','07225704','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07225704&idxID=004','1','1','Sharp and super clean 1 bedroom 1st floor ranch unit in popu...');
	properties[40] = new Array('83,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[41] = new Array('73,000','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[42] = new Array('6,000','300 Dunes Blvd 502 ','Naples, 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...');
	properties[43] = new Array('2,500','1181 WILLOWGATE LN ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/506/07257506.jpg','07257506','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07257506&idxID=004','3','3','REMOVEABLE HANDICAP ACCESS TO 2ND FLOOR        ...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
