	// 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-size: 14px;  }');
	document.writeln('#IDX-slideshow { text-align: center; width: 420px; height: 400px;  }');
	document.writeln('.IDX-image { width: 420px; height: 440px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 6 - 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 >= 6)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 6 - 1;
	} // end genPrev

	var properties = new Array(6);
	properties[0] = new Array('275,000','414 Jessamine Blvd. ','Daytona Beach, FL 32118 ','http://photos-1.idxco.com/0208aebffd24cc8b0f6614c2882c11a7ffc452156','452156','020','http://www.therealtyxperts.idxco.com/idx/3092/details.php?listingID=452156&idxID=020');
	properties[1] = new Array('259,000','120 N Peninsula Dr ','Daytona Beach, FL 32118 ','http://photos-1.idxco.com/0203c32feb9d6f8b217f7aac0719830f34d471082','471082','020','http://www.therealtyxperts.idxco.com/idx/3092/details.php?listingID=471082&idxID=020');
	properties[2] = new Array('142,900','623 S Seneca Blvd ','Daytona Beach, FL 32114 ','http://photos-1.idxco.com/020ac23fd09a8e44aae5579a655a6eba6b3477021','477021','020','http://www.therealtyxperts.idxco.com/idx/3092/details.php?listingID=477021&idxID=020');
	properties[3] = new Array('134,500','2301 S Atlantic Ave ','Daytona Beach Shores, FL 32118 ','http://photos-1.idxco.com/0207bab86fbc72763977dfbbb6210fe9018473079','473079','020','http://www.therealtyxperts.idxco.com/idx/3092/details.php?listingID=473079&idxID=020');
	properties[4] = new Array('121,900','1230 Essex Road ','Daytona Beach, FL 32117 ','http://photos-1.idxco.com/020fe888ce7fcbedcbb55f5d3085628eaae472422','472422','020','http://www.therealtyxperts.idxco.com/idx/3092/details.php?listingID=472422&idxID=020');
	properties[5] = new Array('109,900','935 S Atlantic Ave ','Daytona Beach, FL 32118 ','http://photos-1.idxco.com/0202d8a105d17ece1041e3d3b8272b6c3bd476564','476564','020','http://www.therealtyxperts.idxco.com/idx/3092/details.php?listingID=476564&idxID=020');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
