	// 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('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: 12px; font-weight: normal; font-style: normal;  }');
	document.writeln('#IDX-slideshow { width: 200px; height: 200px;  }');
	document.writeln('.IDX-image { width: 200px; height: 150px;  }');
	document.writeln('</style>');
	var next = 1;
	prev = 38 - 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 >= 38)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 38 - 1;
	} // end genPrev

	var properties = new Array(38);
	properties[0] = new Array('995,000','10937 STONEY POINT DR ','GREEN OAK TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/25561/F6610/255613F6610346/3A3BB42996344E.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29146927','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29146927&idxID=051','4','4','Stunning home w/magnificent views. Spectacular lakefront liv...');
	properties[1] = new Array('775,000','5278 ARBOR BAY DR ','GENOA TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/07BC4/241E4/07BC46241E4B4A/374A05239874F9.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29085024','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29085024&idxID=051','3','3','WONDERFULLY DESIGNED AND QUALITY BUILT lakefront home with g...');
	properties[2] = new Array('379,900','12365 PINEBROOK LN ','GREEN OAK TWP, MI 48178-8162 ','http://attach.realcomponline.com/?PATH=PROPERTY/121F8/9A720/121F869A720845/93604FBA4834D9.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210007730','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210007730&idxID=051','5','4','One of a kind, historic 5 bedroom Victorian home set on 7.7 ...');
	properties[3] = new Array('350,000','7971 RIVER RUN DR ','HAMBURG TWP, MI 48210-2220 ','http://attach.realcomponline.com/?PATH=PROPERTY/F738B/92F23/F738B392F23D45/0C50062A369476.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210009735','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210009735&idxID=051','4','3','Quality upgrades w/ decorator features incl. architectural c...');
	properties[4] = new Array('350,000','7350 PINE VISTA DR 16 ','GENOA TWP, MI 48122-2036 ','http://attach.realcomponline.com/?PATH=PROPERTY/15378/8BE8D/1537888BE8DF49/163263CEC6D4DB.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29084479','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29084479&idxID=051','2','2','QUALITY INSIDE &amp; OUT! Stunning Pine Creek detached, all ...');
	properties[5] = new Array('350,000','9929 ROSEMARY LN ','BRIGHTON TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/65964/29DF5/65964429DF5D47/E3DE9B09EA2477.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29060073','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29060073&idxID=051','4','3','Back up offers only.  Beautiful Victorian in popular Deer Cr...');
	properties[6] = new Array('325,000','4371 SAINT ANDREWS ST ','GENOA TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/7AE92/B5DE4/7AE921B5DE4947/23D83472C0D4E1.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210008277','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210008277&idxID=051','4','4','Oak Pointe Honors golf frontage on the 15th fairway. Beautif...');
	properties[7] = new Array('315,000','5772 EVERGREEN KNL  ','OCEOLA TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/9E336/E8D5A/9E3360E8D5AD49/3FC6CD585794DA.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210009315','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210009315&idxID=051','4','2','Rare find!  Brick and stone ranch on over 5 acres with gorge...');
	properties[8] = new Array('250,000','10530 RUNYAN LAKE CT ','TYRONE TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/00729/1E90E/0072951E90E642/71A5FC2444D44D.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210005438','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210005438&idxID=051','3','2','New and Newer! New roof, bathrooms, carpet, water heater, so...');
	properties[9] = new Array('229,900','5165 GLENWAY DR ','GENOA TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/9439C/FCEEF/9439CCFCEEF246/AAC5415200842A.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29140246','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29140246&idxID=051','4','3','BACK UP OFFERS ONLY AT THIS TIME.  Fabulous open ranch, perf...');
	properties[10] = new Array('215,000','9256 ROTONDO DR ','HARTLAND TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/AD931/95570/AD931F95570D4C/B8A7227B10146F.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29089256','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29089256&idxID=051','5','3','Back up offers only.  Beautiful 1 1/2 story with picturesque...');
	properties[11] = new Array('205,000','1933 PEAVY RD ','MARION TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/82E7C/49376/82E7C949376B44/CAA0DD66035438.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29152762','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29152762&idxID=051','3','2','Beautiful 2-story on nearly 3 1/2 acres situated just 1/2 mi...');
	properties[12] = new Array('205,000','4087 BROOKSTONE CT ','GENOA TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/137A1/16C35/137A1716C35046/5B7B962365949B.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210008252','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210008252&idxID=051','3','2','BEAUTIFUL 2-STORY BACKING TO NATURAL AREA. Situated on a cul...');
	properties[13] = new Array('205,000','8369 LEE RD ','BRIGHTON, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/BD6ED/D49CF/BD6EDED49CF642/AA388373F2F414.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210004834','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210004834&idxID=051','4','2','Beautiful Oak Ridge Meadows 2-story.  Impeccably maintained,...');
	properties[14] = new Array('199,900','333 N 1ST ST ','BRIGHTON, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/27F98/88240/27F9888824094B/6A87B706E5E47C.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210002594','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210002594&idxID=051','4','2','Downtown Brighton duplex.  Great condition.  All new windows...');
	properties[15] = new Array('199,900','333 N 1ST ST ','BRIGHTON, MI 48210-3118 ','http://attach.realcomponline.com/?PATH=PROPERTY/3CE1F/B69ED/3CE1F9B69EDE4E/510642B1425473.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210002496','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210002496&idxID=051','','','Downtown Brighton duplex.  Great condition.  All new windows...');
	properties[16] = new Array('189,900','1290 S HUGHES RD ','GENOA TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/49ECB/45E43/49ECB745E43448/B98815C68C7471.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210005985','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210005985&idxID=051','4','3','Bright &amp; sunny home with heated floors, Corian throughou...');
	properties[17] = new Array('185,000','5204 PINE HILL CIR ','GENOA TWP, MI 48164-9386 ','http://attach.realcomponline.com/?PATH=PROPERTY/F0504/31271/F0504031271C49/46D928251454FA.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210016331','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210016331&idxID=051','4','2','First time ever on the market - Original owners have maintai...');
	properties[18] = new Array('175,000','511 W MAIN ST ','BRIGHTON, MI 48122-2036 ','http://attach.realcomponline.com/?PATH=PROPERTY/61B0A/6C588/61B0AC6C58824B/5848FDEC6014ED.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210010778','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210010778&idxID=051','1','1','The BEST location in the building!  Corner work/live unit fa...');
	properties[19] = new Array('175,000','511 W MAIN ST ','BRIGHTON, MI 48173-9640 ','http://attach.realcomponline.com/?PATH=PROPERTY/17E03/7FD2D/17E0347FD2D646/006B312F296427.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210010753','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210010753&idxID=051','','','The BEST location in the building!  Corner work/live unit fa...');
	properties[20] = new Array('174,900','9270 ANACAPA BAY DR ','HAMBURG TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/6F1F3/8EF98/6F1F3C8EF98040/4AA91D26B644CC.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29126411','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29126411&idxID=051','4','2','Custom built in popular Moon Shadows Subdivision.  This brig...');
	properties[21] = new Array('174,900','877 DEL SHER DR ','GENOA TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/20884/5F239/2088485F239743/1188A2F8DBC4CC.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29139876','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29139876&idxID=051','3','2','Beautifully updated, all brick ranch on 1/2 acre lot.  All t...');
	properties[22] = new Array('174,900','2447 DORIS DR ','BRIGHTON TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/D63D7/7E6EE/D63D7D7E6EED4A/4078D92E0514E4.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29098248','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29098248&idxID=051','3','1','This is the house you have been waiting for. Beautiful, matu...');
	properties[23] = new Array('164,900','744 WINDEMERE DR ','BRIGHTON TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/5A6E4/4BC5E/5A6E454BC5E848/1159804B9EA47F.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210005375','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210005375&idxID=051','3','2','Spacious ranch on 2.37 acre wooded site.  Brighton mailing, ...');
	properties[24] = new Array('159,900','5764 WOODBINE  ','HAMBURG TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/59879/7F814/5987947F814F45/0BF5C9F4CAD44D.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210011999','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210011999&idxID=051','3','2','Gorgeous finish carpenter\\\\\\\'s home in move-in condition.  B...');
	properties[25] = new Array('159,900','7932 HOLLY ST ','GENOA TWP, MI 48164-9090 ','http://attach.realcomponline.com/?PATH=PROPERTY/60BDD/06862/60BDD206862145/9D7A17D33CA435.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210007696','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210007696&idxID=051','3','1','Beautiful ranch.  Walk to downtown but enjoy the low Genoa T...');
	properties[26] = new Array('154,900','2836 MONTE VISTA  ','GENOA TWP, MI 48188-3122 ','http://attach.realcomponline.com/?PATH=PROPERTY/9FEBE/35A6A/9FEBE335A6A64F/AAEEACD41D440D.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210001571','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210001571&idxID=051','3','3','Move right in to this Lake Edgewood townhome - An incredible...');
	properties[27] = new Array('139,900','13710 DUNHAM RD ','HARTLAND TWP, MI 48371-4474 ','http://attach.realcomponline.com/?PATH=PROPERTY/BA337/5ED0B/BA33755ED0BA4F/9408CD734DD4F9.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','210008866','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=210008866&idxID=051','3','2','UP NORTH atmosphere with gorgeous Dunham lake access and woo...');
	properties[28] = new Array('129,900','1071 CALLAWAY CT ','OCEOLA TWP, MI 48178-8162 ','http://attach.realcomponline.com/?PATH=PROPERTY/2CECE/DFB06/2CECE3DFB06447/EF1E2E445DD4DE.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29134048','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29134048&idxID=051','3','2','BACK UP OFFERS ONLY.  This lovely home backs to wooded area....');
	properties[29] = new Array('129,900','5355 LELAND ST ','BRIGHTON TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/A51BD/AC6AB/A51BDDAC6AB344/4FC9C4FD1704BC.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29136702','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29136702&idxID=051','3','1','Move in Condition for this ranch new to the market.  Recent ...');
	properties[30] = new Array('125,000','2624 CIRCLE PINE CT ','HOWELL TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/DBCAE/E3CD9/DBCAEAE3CD9C43/999EB3C5E824C3.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29129481','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29129481&idxID=051','3','2','Accepted short sale PA -Back-up offers only.Beautiful split ...');
	properties[31] = new Array('124,900','1123 OAKCREST RD ','OCEOLA TWP, MI 48114-4914 ','http://attach.realcomponline.com/?PATH=PROPERTY/C0E77/40AF2/C0E77340AF2E42/616516FF3EF440.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29156268','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29156268&idxID=051','3','2','Great neighborhood and house with formal living and dining r...');
	properties[32] = new Array('110,000','8127 MAJESTIC BLVD ','HANDY TWP, MI 48164-9090 ','http://attach.realcomponline.com/?PATH=PROPERTY/E8637/192EA/E86379192EA54A/114B84DD1324F8.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29148123','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29148123&idxID=051','3','2','New 2-story.  Why buy used when you can have new at this pri...');
	properties[33] = new Array('110,000','8151 MAJESTIC BLVD ','HANDY TWP, MI 48843-7509 ','http://attach.realcomponline.com/?PATH=PROPERTY/475AC/0C67A/475AC10C67A34C/D108EA0A1734D3.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29148072','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29148072&idxID=051','3','2','New ranch with beautiful open floor plan - Living room, kitc...');
	properties[34] = new Array('105,000','1578 MALLARD POND DR 8 ','OCEOLA TWP, MI 48122-2036 ','http://attach.realcomponline.com/?PATH=PROPERTY/B1D9D/C74EC/B1D9DBC74ECC41/A0ED8860F1747D.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29147088','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29147088&idxID=051','2','2','Full price offer already bank approved - just need buyer!  B...');
	properties[35] = new Array('75,000','1625 TOWN COMMONS DR ','HOWELL, MI 48855-6803 ','http://attach.realcomponline.com/?PATH=PROPERTY/B75C4/11466/B75C4711466E41/2BB416ACDD0480.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29037876','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29037876&idxID=051','3','2','CASH OFFERS ONLY.  Short Sale Approved.  Townhome with hardw...');
	properties[36] = new Array('69,900','8229 GLEN HAVEN DR ','HARTLAND TWP, MI 48126-1467 ','http://attach.realcomponline.com/?PATH=PROPERTY/83525/F117E/835257F117E145/079EB99EC584A5.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29037446','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29037446&idxID=051','','','2 acre cul-de-sac building site in Glen Haven - Within San M...');
	properties[37] = new Array('69,900','178 HAMBURG ST ','PINCKNEY VLG, MI 48164-9090 ','http://attach.realcomponline.com/?PATH=PROPERTY/ACAED/4FA14/ACAED04FA1404E/53BABB3CCFA4F5.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&1cf=0&w=320&h=240','29150715','051','http://www.buckleyjolley.idxco.com/idx/4088/details.php?listingID=29150715&idxID=051','2','1','Affordable living in the Village of Pinckney - not bank owne...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
