	// 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 = 5000;
	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: 12px;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 225px; height: 240px;  }');
	document.writeln('.IDX-image { width: 220px; height: 150px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 16 - 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 >= 16)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 16 - 1;
	} // end genPrev

	var properties = new Array(17);
	properties[0] = new Array('297,000','429 Lake View Lp NE ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/0415cb24c51ede7aa9e572258cafb2406a9301399','301399','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=301399&idxID=041','3','2','Custom Duck Lake Home. 76\\\\\\\' of waterfront. Master bedroom ...','Donna Jones','John L. Scott Ocean Shores');
	properties[1] = new Array('219,000','1099 Ocean Shores Blvd NW ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041436f3a8bfedee67eb7ff714ed467df0f295053','295053','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=295053&idxID=041','3','1.75','Ocean Front \\\\\\\' Boardwalk surrounds this Cedar Shake Home i...','Donna Jones','John L. Scott Ocean Shores');
	properties[2] = new Array('169,000','1031 S Sand Dune Ave SW ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041c8921f41533f542ad5b605ffe7ef18dc314423','314423','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=314423&idxID=041','3','1.75','Ocean Front Townhouse Condo. 3bd, 2ba, 1450 sqft &amp;amp; a...','Donna Jones','John L. Scott Ocean Shores');
	properties[3] = new Array('105,000','427 Lake View Lp NE ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041a37af802153dcce1cb50ca7a53f6a423301438','301438','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=301438&idxID=041','','','One-of-a-Kind. Ultra gorgeous Duck Lake lot has been selecti...','Donna Jones','John L. Scott Ocean Shores');
	properties[4] = new Array('75,000','778 Point Brown Ave SE ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/0415288331056cd6bd16bd39db99fc9253d206351','206351','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=206351&idxID=041','','','Canal Front Property with ALL UTILITIES. Large lot, circular...','Donna Jones','John L. Scott Ocean Shores');
	properties[5] = new Array('74,950','580 Weatherwax Lp','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041cc02b1ee212cc642efd905904f47318b310771','310771','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=310771&idxID=041','','','Secluded lake front lot, water &amp;amp; sewer already insta...','Donna Jones','John L. Scott Ocean Shores');
	properties[6] = new Array('70,000','848 Falls of Clyde Lp','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041c7a99a780609876bbe7335c510c48896260433','260433','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=260433&idxID=041','','','Bayou Canal Turn-Key RV Lot. Beautiful surroundings. Large s...','Donna Jones','John L. Scott Ocean Shores');
	properties[7] = new Array('65,000','557 Sand Dune Ave SW ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041a055bc961b15db0ef105b98c121c5656262683','262683','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=262683&idxID=041','','','OCEAN FRONT. Buildable. Feasibility approved. LIDs PAID. Loc...','Donna Jones','John L. Scott Ocean Shores');
	properties[8] = new Array('59,900','575 Chinook Ave SE ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041073ec6b032afe455efc466a6e3e0339a94619','94619','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=94619&idxID=041','','','Water &amp;amp; power are already on the property. A once cl...','Donna Jones','John L. Scott Ocean Shores');
	properties[9] = new Array('59,000','321 Otsego St','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/0418d3772bd15818504d0b352455ea1b499206135','206135','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=206135&idxID=041','','','Waterfront lot on the Bell Canal. Easy to clear for your cus...','Donna Jones','John L. Scott Ocean Shores');
	properties[10] = new Array('45,000','384 Olympic View Ave NE ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/0416e941087d931d5df8194373404c9e37e202924','202924','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=202924&idxID=041','','','Bay &amp;amp; Mtn Views. Located at the southern most end of...','Donna Jones','John L. Scott Ocean Shores');
	properties[11] = new Array('29,900','133 Sunrise Ave SE ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041d8b0214305f3b4942a53bb0de234bb78282616','282616','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=282616&idxID=041','','','Bay View property. This high corner lot is a perfect locatio...','Donna Jones','John L. Scott Ocean Shores');
	properties[12] = new Array('24,000','360 Erirdani Lp SE ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/04160df4cce29e412c51a09f6c5229892d3294715','294715','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=294715&idxID=041','','','The Rainforest is your Back Yard. This is an opportunity to ...','Donna Jones','John L. Scott Ocean Shores');
	properties[13] = new Array('23,000','126 Narwhal Lp SW ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/0418092a8eebf6cc2c342c9de4e52a4327d220618','220618','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=220618&idxID=041','','','Secluded park setting. Camp or RV while you decide to build ...','Donna Jones','John L. Scott Ocean Shores');
	properties[14] = new Array('15,500','331 S Wynoochee','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/04118123238125609fb1f81b51c86a5bd7a218058','218058','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=218058&idxID=041','','','Great lot at a great price. Easy to clear, all utilities are...','Donna Jones','John L. Scott Ocean Shores');
	properties[15] = new Array('11,000','409 Draconis Ave SE ','Ocean Shores, WA 98569 ','http://photos-3.idxco.com/041d3d29e3b4f14f041eec3fe42a1db2267296587','296587','041','http://www.ownoceanshores.idxco.com/idx/7695/details.php?listingID=296587&idxID=041','','','An affordable lot in the woods. Across the street from Duck ...','Donna Jones','John L. Scott Ocean Shores');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

