	// IDX Broker Slideshow version 1.0
	// Copyright ©2009 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;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 14 - 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-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>');

	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-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>';
		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 >= 14)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 14 - 1;
	} // end genPrev

	var properties = new Array(14);
	properties[0] = new Array('899,900','4401 Atlantic Ave 0005 ','Ocean City, MD 21842 ','http://photos-12.idxco.com/233cc92de0cc722bd65e9a71d9be2bc1bdf449047','449047','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=449047&idxID=233','4','3','PRICE JUST SLASHED $100,000.  LIVE RIGHT ON THE OCEAN. This ...');
	properties[1] = new Array('650,000','6 62nd Street, 203 ','Ocean City, MD 21842 ','http://photos-12.idxco.com/2332cd45bd93ca5b4864f64c927f614669c461849','461849','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=461849&idxID=233','3','3','LUXURY AT ITS FINEST!  This almost Ocean Front condo was the...');
	properties[2] = new Array('599,500','301 14th St 0408 ','Ocean City, MD 21842 ','http://photos-12.idxco.com/233f7192306b9d183bd096ef01bd6a9eb90459337','459337','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=459337&idxID=233','3','3','SPECTACULAR WATERFRONT VIEWS FROM THIS 4TH FLOOR PENTHOUSE U...');
	properties[3] = new Array('599,500','301 14th St 0407 ','Ocean City, MD 21842 ','http://photos-12.idxco.com/233f7192306b9d183bd096ef01bd6a9eb90459328','459328','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=459328&idxID=233','3','3','SPECTACULAR WATERFRONT VIEWS FROM THIS 4TH FLOOR PENTHOUSE U...');
	properties[4] = new Array('585,000','11000 Coastal Hwy 611 ','Ocean City, MD 21842 ','http://photos-12.idxco.com/2332711cefd2691925e9e5fd050786e8e4a462174','462174','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=462174&idxID=233','3','2','HIGH END LUXURY DOESN\\\\\\\'T BEGIN TO COVER THIS UNIT.  Owners...');
	properties[5] = new Array('290,000','Maid At Arms-lot 81 Ln ','Berlin, MD 21811 ','http://photos-12.idxco.com/2333660a70fe5c4df503ef40a6921750a00452910','452910','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=452910&idxID=233','','','WATERFRONT LOTS IN EXCLUSIVE GLEN RIDDLE FOR UNDER $300,000?...');
	properties[6] = new Array('250,000','Maid At Arms-lot 80 Ln ','Berlin, MD 21811 ','http://photos-12.idxco.com/23322c16a9643019dd29ba7e004d05a9aeb452924','452924','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=452924&idxID=233','','','WATERFRONT LOTS IN EXCLUSIVE GLEN RIDDLE FOR UNDER $300,000?...');
	properties[7] = new Array('239,500','2 Ambleside Ct ','Ocean Pines, MD 21811 ','http://photos-12.idxco.com/23353559613a43f6be9684b81919c348a11457177','457177','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=457177&idxID=233','3','2','VERY AFFORDABLE &amp; COMFORTABLE HOME-CLOSE TO THE NORTH GA...');
	properties[8] = new Array('229,900','4711 Coastal Hwy 335 ','Ocean City, MD 21842 ','http://photos-12.idxco.com/23341df6e59491d5acd6efee113e907fcc9460021','460021','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=460021&idxID=233','2','2','2BR-2BA WATERFRONT CONDO IN OCEAN CITY FOR UNDER $230K??  YO...');
	properties[9] = new Array('195,000','Whispering Woods-lot 53 Dr ','Ocean City, MD 21842 ','http://photos-12.idxco.com/2330537ac1d8ff53b6ee1b9c08836fb23a7442692','442692','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=442692&idxID=233','','','YOULL LOVE THE TRANQUILL WATERFRONT SETTING OF THIS CLEARED ...');
	properties[10] = new Array('192,900','200 59th St-coconut Malorie 0408 ','Ocean City, MD 21842 ','http://photos-12.idxco.com/2330e2f4b973382d7a893d7f05c1c7f9347458734','458734','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=458734&idxID=233','1','1','LUXURY WATERFRONT CONDOMINIUM-DID WE SAY LUXURY??  Unusual o...');
	properties[11] = new Array('169,900','64th St 0206 ','Ocean City, MD 21842 ','http://photos-12.idxco.com/2339ea7a6b5f64776591974b9c7e225e3f3452207','452207','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=452207&idxID=233','1','1','JUST REDUCED!!  VERY AFFORDABLE OCEAN BLOCK.  AVAILABLE TO S...');
	properties[12] = new Array('6,900','13 136th St ','Ocean City, MD 21842 ','http://photos-12.idxco.com/233355371bfb6b689149d3c2e3d50c8f47c460511','460511','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=460511&idxID=233','2','2','WHAT A GREAT PLACE TO GO TO THE BEACH EACH YEAR!!  Convenien...');
	properties[13] = new Array('6,400','200 59th St ','Ocean City, MD 21842 ','http://photos-12.idxco.com/233499a7dbb99a227508b38418ec24c91a9460508','460508','233','http://relaxedliving.idxco.com/idx/3629/details.php?listingID=460508&idxID=233','1','1','This is an RCI Silver Crown Resort, and can be Traded as One...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
