	// IDX Broker Slideshow version 1.0
	// Copyright ¿2012 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 = 3000;
	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-size: 14px;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 150px; height: 95px;  }');
	document.writeln('.IDX-image { width: 150px; height: 95px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 11 - 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-listingIdLine" style="display:none;"></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 id="IDX-listingAgent" style="display:none;"></div>');
	document.writeln('<div id="IDX-listingOffice" 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-listingIdLine').innerHTML = urlVar+'Listing #'+properties[cwi][4]+'</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>';
		document.getElementById('IDX-listingAgent').innerHTML = urlVar+properties[cwi][10]+'</a>';
		document.getElementById('IDX-listingOffice').innerHTML = urlVar+properties[cwi][11]+'</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 >= 11)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 11 - 1;
	} // end genPrev

	var properties = new Array(12);
	properties[0] = new Array('619,000','8680 SW MULEDEER DR ','Beaverton, OR 97007 ','http://app.rmlsweb.com/webphotos/12300000/50000/9000/12359062-1.jpg','12359062','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=12359062&idxID=037','5','3','8680 SW Muledeer Ave. Backing to greenspace. Elegant home w/...','Gary Potts','Meadows Group Inc., Realtors');
	properties[1] = new Array('399,500','15870 SW BRECCIA DR ','Beaverton, OR 97007 ','http://photos.rmlsweb.com/webphotos/11000000/30000/5000/11035633-1.jpg','11035633','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=11035633&idxID=037','5','3','Fabulous Murray Hill area location featuring open flowing fl...','Gary Potts','Meadows Group Inc., Realtors');
	properties[2] = new Array('314,200','12755 SW WINTERVIEW DR ','Tigard, OR 97224 ','http://app.rmlsweb.com/webphotos/12100000/60000/5000/12165693-1.jpg','12165693','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=12165693&idxID=037','4','2','Fabulous location! Light and bright home featuring gourmet k...','Gary Potts','Meadows Group Inc., Realtors');
	properties[3] = new Array('269,900','6163 SW 165TH AVE ','Beaverton, OR 97007 ','http://app.rmlsweb.com/webphotos/12600000/30000/1000/12631970-1.jpg','12631970','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=12631970&idxID=037','5','2','Outstanding location, light and bright open floor plan featu...','Gary Potts','Meadows Group Inc., Realtors');
	properties[4] = new Array('257,900','17454 SW WINONA LN ','Beaverton, OR 97007 ','http://app.rmlsweb.com/webphotos/12400000/30000/0000/12430769-1.jpg','12430769','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=12430769&idxID=037','4','2','Outstanding location! Gourmet kitchen w/gas range, lam floor...','Gary Potts','Meadows Group Inc., Realtors');
	properties[5] = new Array('249,000','17201 SW BANY RD ','Beaverton, OR 97007 ','http://app.rmlsweb.com/webphotos/11600000/20000/6000/11626601-1.jpg','11626601','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=11626601&idxID=037','3','2','Fabulous open 1 level hm featuring large open kitchen, famil...','Gary Potts','Meadows Group Inc., Realtors');
	properties[6] = new Array('224,900','1234 SW 18TH AVE #405 ','Portland, OR 97205 ','http://app.rmlsweb.com/webphotos/12100000/50000/7000/12157543-1.jpg','12157543','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=12157543&idxID=037','1','1','Great downtown location! In the heart of Portland\\\\\\\'s histo...','Gary Potts','Meadows Group Inc., Realtors');
	properties[7] = new Array('224,900','7250 SE JOHNSON ST ','Hillsboro, OR 97123 ','http://photos-2.idxco.com/0375bfcf658c8eb8b28096e8453d08542ec9079400','9079400','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=9079400&idxID=037','','','GOOD LOCATION PRELIMINARY PLAT APPROVAL FOR 6 LOTS (TOWNHHOM...','Gary Potts','Meadows Group Inc., Realtors');
	properties[8] = new Array('214,900','6135 SW 150TH AVE ','Beaverton, OR 97007 ','http://app.rmlsweb.com/webphotos/12200000/40000/2000/12242364-1.jpg','12242364','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=12242364&idxID=037','4','2','Four Season\\\\\\\'s location! Open flowing floor plan featuring...','Gary Potts','Meadows Group Inc., Realtors');
	properties[9] = new Array('175,000','6890 SW 208TH AVE ','Aloha, OR 97007 ','http://app.rmlsweb.com/webphotos/12600000/30000/4000/12634109-1.jpg','12634109','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=12634109&idxID=037','3','2','Fabulous location, Backs to open park area. Open floor plan ...','Gary Potts','Meadows Group Inc., Realtors');
	properties[10] = new Array('149,000','2570 NE 1ST DR ','Hillsboro, OR 97124 ','http://app.rmlsweb.com/webphotos/11500000/10000/9000/11519258-1.jpg','11519258','037','http://www.garypotts.idxco.com/idx/9352/details.php?listingID=11519258&idxID=037','3','2','Light and bright open flowing floor plan. 3 bedrooms, 2.5 ba...','Gary Potts','Meadows Group Inc., Realtors');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

