	// 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-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; text-decoration: none; color: #002249;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 192px; height: 165px;  }');
	document.writeln('.IDX-image { width: 190px; height: 143px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 20 - 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-courtesyLine" 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-courtesyLine').innerHTML = urlVar+properties[cwi][10]+'</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 >= 20)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 20 - 1;
	} // end genPrev

	var properties = new Array(21);
	properties[0] = new Array('1,350,000','17 Driftwood Lane','San Juan Island, WA 98250 ','http://photos-3.idxco.com/0419ba4701491e33ba035c00ed77e560a01259404','259404','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=259404&idxID=041','2','2.5','Lovely home overlooking cattle Pass with a perfect beach. Th...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[1] = new Array('1,250,000','1550 Bailer Hill Rd','San Juan Island, WA 98250 ','http://photos-3.idxco.com/04190b764d172b6724d119112b84f1b24f5319255','319255','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=319255&idxID=041','3','3','OUTLOOK was inspired by Frank Lloyd Wright\\\\\\\'s &amp;quot;Fa...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[2] = new Array('995,000','217 Cameron Rd','Shaw Island, WA 98286 ','http://photos-3.idxco.com/041e7df4a4b54ba56d562624a7bdca622aa166480','166480','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=166480&idxID=041','2','1.75','Great south facing waterfront house with views to San Juan a...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[3] = new Array('975,000','228 Armadale Rd5 ','San Juan Island, WA 98250 ','http://photos-3.idxco.com/0418eb7116e813f079902d0de96ca5db596293905','293905','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=293905&idxID=041','3','2','Boaters Paradise! Lounge on the deck of your gorgeous remode...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[4] = new Array('741,000','23 Blue Water','San Juan Island, WA 98250 ','http://photos-3.idxco.com/04136db45588704bf127c0935bacf5cf161316454','316454','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=316454&idxID=041','3','2','Phenomenal buy on Pear Point contemporary home. Sited on 1.1...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[5] = new Array('549,000','149 Lost Wy','San Juan Island, WA 98250 ','http://photos-3.idxco.com/04158d142cea465373428d410186041dc28164639','164639','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=164639&idxID=041','3','3','Custom craftsman home on 10 ac! 2600+/- sf with tasteful fin...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[6] = new Array('459,000','475 Marble St','San Juan Island, WA 98250 ','http://photos-3.idxco.com/0412f3a47a94368159c1210beb39057bd69201071','201071','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=201071&idxID=041','3','1','1940\\\\\\\'s original home on 1/2 acre with 80\\\\\\\' of common ar...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[7] = new Array('449,000','Willows Lane','San Juan Island, WA 98250 ','http://photos-3.idxco.com/0418d3c0bbddbb2078ac1d7d617764cdedb260702','260702','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=260702&idxID=041','','','Spectacular views of San Juan &amp;amp; Presidents Channel, ...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[8] = new Array('399,000','Eagle Ridge Rd','Orcas Island, WA 98245 ','http://photos-3.idxco.com/041658e912137579f86e44754f9bde7d846216335','216335','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=216335&idxID=041','','','Beautiful site with views of sunsets over East Sound, Turtle...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[9] = new Array('399,000','4840 Pear Point Rd','San Juan Island, WA 98250 ','http://photos-3.idxco.com/0414ecdee340bee0022a83a3fe452a66737316414','316414','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=316414&idxID=041','5','3','South facing view home with MIL! Views over Griffin Bay to b...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[10] = new Array('360,000','111 Cordova Lane','San Juan Island, WA 98250 ','http://photos-3.idxco.com/041b42b24e9421289e2dc13f2eee03a8caf317647','317647','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=317647&idxID=041','3','2','If you like a lot of sunlight this home is worth a look! Sin...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[11] = new Array('350,000','134 Deer Fern Lane','San Juan Island, WA 98250 ','http://photos-3.idxco.com/041c7963e613541a7678825f3e5224bbb8e258074','258074','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=258074&idxID=041','3','2','Light filled home that feels like a tree house! Blt in 08 in...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[12] = new Array('339,000','475 Marble','San Juan Island, WA 98250 ','http://photos-3.idxco.com/041a6d16318cf5f05e6954432537424d62070985','70985','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=70985&idxID=041','','','1/2 acre waterfront town lots. 80\\\\\\\' common no bank waterfr...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[13] = new Array('329,000','475 Marble','San Juan Island, WA 98250 ','http://photos-3.idxco.com/041b1d01c0fd47475bfad317267b1507e9b71017','71017','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=71017&idxID=041','','','1/2 acre waterfront town lots. 80\\\\\\\' common no bank waterfr...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[14] = new Array('324,900','230 Skyview Dr','San Juan Island, WA 98250 ','http://photos-3.idxco.com/0416bb0ab5500bbe0f132f64d06c942356b66145','66145','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=66145&idxID=041','4','2.25','Well BELOW assessed value! An abundance of sq footage, 4 bdr...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[15] = new Array('169,000','1447 Cattle Point Rd','San Juan Island, WA 98250 ','http://photos-3.idxco.com/041d01295bdcf0e099f6829d02473647aea29082751','29082751','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=29082751&idxID=041','','','Good water views to Griffin Bay, Lopez Island &amp;amp; Mt. ...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[16] = new Array('164,900','530 Wold Rd','San Juan Island, WA 98250 ','http://photos-3.idxco.com/0419b1d8931ffcd67524fef1083f5045f91252246','252246','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=252246&idxID=041','','','Five Acre sunny lot with 2 gallon per minute well close to t...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[17] = new Array('159,000','Sylvan Rd','Shaw Island, WA 98286 ','http://photos-3.idxco.com/0410992146f2c8c41f2b5e58ff0defcf6bf229960','229960','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=229960&idxID=041','','','Great lot between Neck Point Cove pool and marina. Views to ...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[18] = new Array('120,000','Sylvan Rd','Shaw Island, WA 98286 ','http://photos-3.idxco.com/04132aaad9a13cf62c36d430a0b9d39563a139600','139600','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=139600&idxID=041','','','Great lot between Neck Point Cove pool and marina. Views to ...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	properties[19] = new Array('59,990','1785 Douglas Rd73 ','San Juan Island, WA 98250 ','http://photos-3.idxco.com/041f92fad8365eafd9fa4c89a008aebba55143762','143762','041','http://www.sanjuanrealestate.idxco.com/idx/3151/details.php?listingID=143762&idxID=041','2','2','A great opportunity for a handy person to purchase a home th...','Listing courtesy of Island Grp Sotheby\'s Int Rlty  ');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

