	// IDX Broker Slideshow version 1.0
	// Copyright ©2008 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 = 54 - 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>');

	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>';
		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 >= 54)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 54 - 1;
	} // end genPrev

	var properties = new Array(54);
	properties[0] = new Array('1,499,000','6N601 ROUTE 31 RD ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12137969963197857','06899440','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06899440&idxID=004');
	properties[1] = new Array('1,399,999','7N398 WINDSOR DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-1209159348866480','06814762','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06814762&idxID=004');
	properties[2] = new Array('1,195,000','1972 SHENANDOAH LN ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/017/06949017.jpg','06949017','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06949017&idxID=004');
	properties[3] = new Array('1,150,000','3704 ROYAL FOX DR ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/096/06955096.jpg','06955096','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06955096&idxID=004');
	properties[4] = new Array('999,900','36W750 WHISPERING TRAIL DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12120993319673336','06843431','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06843431&idxID=004');
	properties[5] = new Array('899,900','6N697 BROOKHAVEN LN ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/781/07006781.jpg','07006781','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07006781&idxID=004');
	properties[6] = new Array('750,000','681 RESERVE CT ','SOUTH ELGIN, IL 60177 ','http://www.mredllc.com/photos/property/947/06945947.jpg','06945947','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06945947&idxID=004');
	properties[7] = new Array('749,900','3N657 JAMES FENIMORE DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12131529497972171','06788129','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06788129&idxID=004');
	properties[8] = new Array('725,000','46W819 INDIAN CREEK (IC) TRL ','MAPLE PARK, IL 60151 ','http://www.mredllc.com/photos/property/131/07009131.jpg','07009131','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07009131&idxID=004');
	properties[9] = new Array('699,500','6N840 HASTINGS DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12121935731127189','06911151','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06911151&idxID=004');
	properties[10] = new Array('675,000','602 MEADOW VIEW DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/401/07015401.jpg','07015401','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=07015401&idxID=004');
	properties[11] = new Array('645,000','206 WATER ST 401 ','BATAVIA, IL 60510 ','http://www.mredllc.com/photos/property/043/06949043.jpg','06949043','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06949043&idxID=004');
	properties[12] = new Array('639,900','5N588 CREEKVIEW LN ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12132107770609881','06863133','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06863133&idxID=004');
	properties[13] = new Array('625,000','LOT 23 CAROLYN CT ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/865/06886865.jpg','06886865','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06886865&idxID=004');
	properties[14] = new Array('625,000','LOT 14 CAROLYN CT ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/826/06886826.jpg','06886826','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06886826&idxID=004');
	properties[15] = new Array('609,900','41W223 SADDLEBROOK DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/064/06949064.jpg','06949064','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06949064&idxID=004');
	properties[16] = new Array('575,000','LOT 27 CAROLYN CT ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/853/06886853.jpg','06886853','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06886853&idxID=004');
	properties[17] = new Array('575,000','LOT 12 CAROLYN CT ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/812/06886812.jpg','06886812','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06886812&idxID=004');
	properties[18] = new Array('569,500','4N836 WESTWOODS DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12126986680204644','06783532','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06783532&idxID=004');
	properties[19] = new Array('550,000','40W374 LAURA INGALLS DR ','ST. CHARLES, IL 60174 ','http://supplemental.idxco.com/3019-12131507137416171','06875584','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06875584&idxID=004');
	properties[20] = new Array('547,000','39W285 WOODGATE RD ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/151/06930151.jpg','06930151','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06930151&idxID=004');
	properties[21] = new Array('534,900','7N800 CLOVERFIELD RD ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/011/06934011.jpg','06934011','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06934011&idxID=004');
	properties[22] = new Array('498,500','843 HATHAWAY CT ','NORTH AURORA, IL 60542 ','http://supplemental.idxco.com/3019-12127174136407214','06780926','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06780926&idxID=004');
	properties[23] = new Array('489,900','39W315 SHELDON LN ','GENEVA, IL 60134 ','http://www.mredllc.com/photos/property/996/06997996.jpg','06997996','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06997996&idxID=004');
	properties[24] = new Array('475,000','4N275 BOOTH TARKINGTON ST ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12131524375329149','06846984','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06846984&idxID=004');
	properties[25] = new Array('475,000','6N850 PALOMINO DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12181341311635592','06968423','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06968423&idxID=004');
	properties[26] = new Array('449,900','39W259 HILLTOP DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/754/06995754.jpg','06995754','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06995754&idxID=004');
	properties[27] = new Array('439,900','1340 DODSON AVE ','ELBURN, IL 60119 ','http://supplemental.idxco.com/3019-12131513606787918','06891528','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06891528&idxID=004');
	properties[28] = new Array('399,999','15518 BOTTERMAN RD ','HUNTLEY, IL 60142 ','http://www.mredllc.com/photos/property/240/06946240.jpg','06946240','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06946240&idxID=004');
	properties[29] = new Array('389,900','3N582 BALKAN DR ','ST. CHARLES, IL 60175 ','http://supplemental.idxco.com/3019-12115908267663970','06905076','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06905076&idxID=004');
	properties[30] = new Array('379,900','1571 MELBOURNE ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/107/06949107.jpg','06949107','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06949107&idxID=004');
	properties[31] = new Array('349,900','LOT KENDALL RD ','ELGIN, IL 60123 ','http://www.mredllc.com/photos/property/443/06849443.jpg','06849443','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06849443&idxID=004');
	properties[32] = new Array('345,000','0N319 ELDON DR ','GENEVA, IL 60134 ','http://www.mredllc.com/photos/property/865/06982865.jpg','06982865','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06982865&idxID=004');
	properties[33] = new Array('329,900','1275 NEWTON AVE ','BATAVIA, IL 60510 ','http://www.mredllc.com/photos/property/048/06998048.jpg','06998048','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06998048&idxID=004');
	properties[34] = 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');
	properties[35] = 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');
	properties[36] = new Array('319,900','544 4TH AVE ','DES PLAINES, IL 60016 ','http://www.mredllc.com/photos/property/126/06949126.jpg','06949126','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06949126&idxID=004');
	properties[37] = new Array('319,900','930 FOREST AVE ','BATAVIA, IL 60510 ','http://www.mredllc.com/photos/property/175/06834175.jpg','06834175','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06834175&idxID=004');
	properties[38] = new Array('314,900','270 ISLEVIEW DR ','OSWEGO, IL 60543 ','http://www.mredllc.com/photos/property/761/06910761.jpg','06910761','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06910761&idxID=004');
	properties[39] = new Array('309,900','519 FOREST AVE ','BATAVIA, IL 60510 ','http://www.mredllc.com/photos/property/920/06976920.jpg','06976920','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06976920&idxID=004');
	properties[40] = new Array('289,900','7N030 GARY CT ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/862/06972862.jpg','06972862','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06972862&idxID=004');
	properties[41] = new Array('284,900','10 FORD ST 108 ','GENEVA, IL 60134 ','http://www.mredllc.com/photos/property/094/06949094.jpg','06949094','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06949094&idxID=004');
	properties[42] = new Array('219,900','3010 PLEASANT PLAINS DR 3010 ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/080/06949080.jpg','06949080','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06949080&idxID=004');
	properties[43] = new Array('199,900','649 PHEASANT TRL 649 ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/399/06941399.jpg','06941399','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06941399&idxID=004');
	properties[44] = new Array('199,250','64 WHITE OAK CIR 64 ','ST. CHARLES, IL 60174 ','http://www.mredllc.com/photos/property/673/06894673.jpg','06894673','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06894673&idxID=004');
	properties[45] = new Array('167,000','5N992 SUNSET VIEWS DR ','ST. CHARLES, IL 60175 ','http://www.mredllc.com/photos/property/343/06693343.jpg','06693343','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06693343&idxID=004');
	properties[46] = 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');
	properties[47] = 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');
	properties[48] = new Array('89,000','LOT901 BLACKBERRY CREEK DR ','ELBURN, IL 60119 ','http://www.mredllc.com/photos/property/218/06711218.jpg','06711218','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06711218&idxID=004');
	properties[49] = 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');
	properties[50] = 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');
	properties[51] = new Array('69,900','640 INVERNESS ST ','MAPLE PARK, IL 60151 ','http://www.mredllc.com/photos/property/305/06693305.jpg','06693305','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06693305&idxID=004');
	properties[52] = new Array('1,250','526 SUMMIT 526 ','GENEVA, IL 60134 ','http://www.mredllc.com/photos/property/085/06916085.jpg','06916085','004','http://stephaniedoherty.idxco.com/idx/3019/details.php?listingID=06916085&idxID=004');
	properties[53] = new Array('0','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');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
