	// IDX Broker Slideshow version 1.0
	// Copyright ©2008 All rights reserved.
	// This script exists soley for the purposes of allowinf 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 { text-align: center; width: 220px; height: 200px;  }');
	document.writeln('.IDX-image { width: 180px; height: 160px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 17 - 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 >= 17)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 17 - 1;
	} // end genPrev

	var properties = new Array(17);
	properties[0] = new Array('1,699,000','8422 NE Woodland Cove Dr ','Kirkland, WA 98034 ','http://photos-3.idxco.com/04149adc1e3301f573f6b93441a46c8761a28056788','28056788','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28056788&idxID=041');
	properties[1] = new Array('879,950','10925 NE 66th Pl ','Kirkland, WA 98033 ','http://photos-3.idxco.com/041dc6d1b4fc3fc403374a1baff1384c30227210184','27210184','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=27210184&idxID=041');
	properties[2] = new Array('819,500','2260 78th Ave SE ','Mercer Island, WA 98040 ','http://photos-3.idxco.com/041da3936a6c50f78d193254ae4c3c2da5028079048','28079048','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28079048&idxID=041');
	properties[3] = new Array('699,950','1207 NE Ravenna Blvd ','Seattle, WA 98105 ','http://photos-3.idxco.com/041e5bb975b033b2201af4396e175c9549028009967','28009967','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28009967&idxID=041');
	properties[4] = new Array('625,000','8602 W Lake Cochran Rd ','Monroe, WA 98272 ','http://photos-3.idxco.com/0414a7e695bd5c6adc5b829e5815a3bb1ab28007663','28007663','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28007663&idxID=041');
	properties[5] = new Array('619,600','14815 SE 9th Pl ','Bellevue, WA 98007 ','http://photos-3.idxco.com/041edfbdc6387cb9779bfe02f85dffadef728024609','28024609','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28024609&idxID=041');
	properties[6] = new Array('585,000','25921 SE 41st Ct ','Issaquah, WA 98029 ','http://photos-3.idxco.com/041f578082dfd5438e739fc5698ff42440928066864','28066864','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28066864&idxID=041');
	properties[7] = new Array('529,000','6221 35th Ave NE ','Seattle, WA 98115 ','http://photos-3.idxco.com/041c23aab4aedbd5a63491ffda35e7ebb6128043370','28043370','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28043370&idxID=041');
	properties[8] = new Array('335,000','401 100th Ave NE 112 ','Bellevue, WA 98004 ','http://photos-3.idxco.com/041c39b16da5de9c5139fea2b9442dd52e627208927','27208927','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=27208927&idxID=041');
	properties[9] = new Array('329,900','25429 213th Ave SE 39 ','Maple Valley, WA 98038 ','http://photos-3.idxco.com/04187395ffe538354abb360cf53a77a409d28065449','28065449','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28065449&idxID=041');
	properties[10] = new Array('324,950','10052 19th Ave SW ','Seattle, WA 98146 ','http://photos-3.idxco.com/041d64c1301e331862d6fbb578948c3c0e928044355','28044355','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28044355&idxID=041');
	properties[11] = new Array('324,950','10052 19th Ave SW ','Seattle, WA 98146 ','http://www.greaterseattlehome.idxco.com/images/noHousePhoto.png','28067384','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28067384&idxID=041');
	properties[12] = new Array('315,000','22917 SE 282nd St ','Maple Valley, WA 98038 ','http://photos-3.idxco.com/0410edba484282e08f8940c64ef091ba06328078418','28078418','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28078418&idxID=041');
	properties[13] = new Array('289,000','10642 20 th Ave S ','Seattle, WA 98168 ','http://photos-3.idxco.com/04156a36adad7e296959c72520840da847c28080161','28080161','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28080161&idxID=041');
	properties[14] = new Array('250,000','91xx NE 189th St ','Duvall, WA 98019 ','http://photos-3.idxco.com/0417e76f77f9107d017d253fd4d08961a3b28030959','28030959','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28030959&idxID=041');
	properties[15] = new Array('250,000','91xx NE 189th St ','Duvall, WA 98019 ','http://photos-3.idxco.com/041114912f365cec185a4e32b287a383eaf28031029','28031029','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=28031029&idxID=041');
	properties[16] = new Array('189,000','Sheldon Blvd ','Bremerton, WA 98337 ','http://photos-3.idxco.com/0413b41e2b6518735815427f45fd94478e727210718','27210718','041','http://www.greaterseattlehome.idxco.com/idx/2882/details.php?listingID=27210718&idxID=041');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
