	// 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 = 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: Geneva, Arial, Helvetica, sans-serif; font-size: 16px; color: #ffffff;  }');
	document.writeln('#IDX-slideshow { text-align: center; border-width: 1px; border-style: solid; border-color: #ffffff; width: 370px; height: 350px;  }');
	document.writeln('.IDX-image { width: 370px; height: 290px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 1 - 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 >= 1)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 1 - 1;
	} // end genPrev

	var properties = new Array(1);
	properties[0] = new Array('1,499,000','4901 N GULF SHORE BLVD 1903 ','Naples, FL 34103 ','http://extimages2.living.net/ImagesHomeProd5/FL/idx/photos/naples/20/208018740.jpg','208018740','115','http://www.judyhansenhomes.idxco.com/idx/3303/details.php?listingID=208018740&idxID=115');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
