	// IDX Broker Slideshow version 1.0
	// Copyright ©2008 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('#IDX-slideshow { text-align: center; width: 156px; height: 134px;  }');
	document.writeln('.IDX-image { width: 140px; height: 100px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 10 - 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 >= 10)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 10 - 1;
	} // end genPrev

	var properties = new Array(10);
	properties[0] = new Array('899,000','836 Kirkland Ave ','Kirkland, WA 98033 ','http://photos-3.idxco.com/0416930e16d595a2a174c76f4e5a7de9b2228056955','28056955','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28056955&idxID=041');
	properties[1] = new Array('629,900','18509 NE 100th Ct ','Redmond, WA 98052 ','http://supplemental.idxco.com/2538-12136394213393453','28103370','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28103370&idxID=041');
	properties[2] = new Array('429,999','410 W Roy St 309E ','Seattle, WA 98119 ','http://photos-3.idxco.com/041c3b3d27aaf6f06cad13861fdbf838a3628099540','28099540','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28099540&idxID=041');
	properties[3] = new Array('370,000','14034 169th Ave SE ','Renton, WA 98059 ','http://photos-3.idxco.com/041d258f036ca7132df742c642ac8e079e128017087','28017087','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28017087&idxID=041');
	properties[4] = new Array('327,000','26815 225th Pl SE ','Maple Valley, WA 98038 ','http://photos-3.idxco.com/0413b75e11b8d7f950b44fdf0ebd7cf7aaa28097136','28097136','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28097136&idxID=041');
	properties[5] = new Array('289,990','11307 NE 128th St G203 ','Kirkland, WA 98034 ','http://photos-3.idxco.com/041f77dae9e9f0887e2d855685ca6f7c11628113940','28113940','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28113940&idxID=041');
	properties[6] = new Array('268,000','11115 NE 124th Ln C210 ','Kirkland, WA 98034 ','http://photos-3.idxco.com/041ae952f7b6e9ae8c2bf18a993f825aaa628092381','28092381','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28092381&idxID=041');
	properties[7] = new Array('235,500','10036 NE 138th Pl L2 ','Kirkland, WA 98034 ','http://photos-3.idxco.com/041d78c03db335f9d56fcec6e7bd701fe0928091659','28091659','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28091659&idxID=041');
	properties[8] = new Array('229,000','12450 NE 130th Ct F204 ','Kirkland, WA 98034 ','http://photos-3.idxco.com/041139827ca1eb8b2ecf4a5ac508bdaa65c28124210','28124210','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28124210&idxID=041');
	properties[9] = new Array('195,000','403 Terry Ave 307 ','Seattle, WA 98104 ','http://photos-3.idxco.com/04114585d159bcce0d8a1f48c831404fe2d28067300','28067300','041','http://ezdigs.idxco.com/idx/2538/details.php?listingID=28067300&idxID=041');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
