	// IDX Broker Slideshow version 1.0
	// Copyright ¿2012 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: Arial, Helvetica, sans-serif;  }');
	document.writeln('#IDX-slideshow { text-align: center; border-style: solid; width: 280px; height: 222px;  }');
	document.writeln('.IDX-image { width: 280px; height: 180px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 21 - 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-listingIdLine" style="display:none;"></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 id="IDX-listingAgent" style="display:none;"></div>');
	document.writeln('<div id="IDX-listingOffice" 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-listingIdLine').innerHTML = urlVar+'Listing #'+properties[cwi][4]+'</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>';
		document.getElementById('IDX-listingAgent').innerHTML = urlVar+properties[cwi][10]+'</a>';
		document.getElementById('IDX-listingOffice').innerHTML = urlVar+properties[cwi][11]+'</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 >= 21)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 21 - 1;
	} // end genPrev

	var properties = new Array(22);
	properties[0] = new Array('1,100,000','181 SKIPPERS POINT ','OAKLAND, MD 21550 ','http://photos-5.idxco.com/089f22675414ba413d0cce1048ce58e6483GA7677512','GA7677512','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7677512&idxID=089','0','','HUGE LAKE ACCESS INVESTMENT OPPORTUNITY. Engineer drawings, ...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[1] = new Array('995,000','461 DEEP CREEK HIGHLANDS RD ','MC HENRY, MD 21541 ','http://photos-5.idxco.com/089c56055b096a7168c14b9e78a2c1936edGA7561323','GA7561323','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7561323&idxID=089','5','5','For Discerning Buyers.. Top End Appointments &amp; Construct...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[2] = new Array('399,900','59 GLEN COVE RD ','SWANTON, MD 21561 ','http://photos-5.idxco.com/089119edab08c311e5c9030af9f91e43386GA7700052','GA7700052','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7700052&idxID=089','5','4','Great Deep Creek Lake location and genius floor plan offer 3...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[3] = new Array('350,000','12 BRAY RUN RD #12 ','OAKLAND, MD 21550 ','http://photos-5.idxco.com/089ef0505c848fec997c52504164453daa7GA7000895','GA7000895','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7000895&idxID=089','3','3','BUILD TO SUIT DESIGN YOUR DREAM HOME. Located In Bray Run Su...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[4] = new Array('329,000','76 LOWER CAMP RD ','MC HENRY, MD 21541 ','http://photos-5.idxco.com/089ecaf23e831c695f7226b76745edf20afGA7540593','GA7540593','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7540593&idxID=089','0','','Prime, level building lot at beautiful North Camp, on the sl...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[5] = new Array('225,000','67 MONTE VISTA RD ','OAKLAND, MD 21550 ','http://photos-5.idxco.com/089f28ad6ed4cad31f406814c30b9a8ddd5GA7605200','GA7605200','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7605200&idxID=089','0','','Great Opportunity for commercial minded buyer Currently Car ...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[6] = new Array('225,000','67 MONTE VISTA RD ','OAKLAND, MD 21550 ','http://photos-5.idxco.com/089251da03dad7ff6c1f115afc3b5b1e3ddGA7600109','GA7600109','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7600109&idxID=089','4','2','Great Opportunity for commercial minded buyer CurrentlyCar...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[7] = new Array('199,000','PAINTER SCHOOL RD ','SWANTON, MD 21561 ','http://photos-5.idxco.com/08907c07f26897c7b3070fdb4946e2f3640GA7462208','GA7462208','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7462208&idxID=089','0','','30 rolling wooded acres along hill crest with view of Deep C...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[8] = new Array('138,950','2350 DEVILS HALF ACRE COVE HILL SUB ','ACCIDENT, MD 21520 ','http://photos-5.idxco.com/089612a34b45a47c812b55fea3c89c9765cGA7636096','GA7636096','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7636096&idxID=089','0','','AMAZING VIEWS AMAZING VALUE 39.7 Acres of Country Mountain V...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[9] = new Array('120,000','20 LOCH GLADE ','SWANTON, MD 21561 ','http://photos-5.idxco.com/089efbfb9ade12a69a131dcc4392b00f0f2GA7639309','GA7639309','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7639309&idxID=089','0','','NOW WITH OWNER FINANCINGGreat building lot with passive ac...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[10] = new Array('110,000','10 BETHLEHAM ','DEER PARK, MD 21550 ','http://photos-5.idxco.com/0891411cbcf3f17cc784eb1c30e9f6e95a2GA7706070','GA7706070','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7706070&idxID=089','0','','50 Acres of Raw Land. Approved 3BR Perc.Ownership allows f...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[11] = new Array('99,000','MEMORIAL DRIVE ','OAKLAND, MD 21550 ','http://photos-5.idxco.com/089cabd41c5b2da8e1e2e8b1a9431ad009fGA7729838','GA7729838','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7729838&idxID=089','0','','Great parcel of raw land with public utilities. offers acces...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[12] = new Array('99,000','0 MEMORIAL DRIVE ','OAKLAND, MD 21550 ','http://photos-5.idxco.com/0895011776ca6b148856d05d355427adfebGA7729843','GA7729843','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7729843&idxID=089','0','','Great parcel of raw land with public utilities. offers acces...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[13] = new Array('95,000','82 GRANDVIEW DRIVE ','OAKLAND, MD 21550 ','http://photos-5.idxco.com/0894bf98b668dc50bb4ef34c1138b5fdcf9GA7717018','GA7717018','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7717018&idxID=089','0','','Premier 2AC building lot on top of Mountainside 800+ feet ab...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[14] = new Array('90,000','10 BETHLEHAM ','DEER PARK, MD 21550 ','http://photos-5.idxco.com/0891411cbcf3f17cc784eb1c30e9f6e95a2GA7706072','GA7706072','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7706072&idxID=089','0','','50 Acres of Raw Land. Approved for sand mound. Ownership all...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[15] = new Array('55,000','SPRINGS RD ','GRANTSVILLE, MD 21536 ','http://photos-5.idxco.com/0897463cde5e16b4de5e8aed887c288c093GA7346061','GA7346061','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7346061&idxID=089','0','','Sweeping Meadow &amp; Mountain views of Meadow Mtn &amp; Tow...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[16] = new Array('54,900','201 INDUSTRIAL BLVD ','CUMBERLAND, MD 21502 ','http://photos-5.idxco.com/0899ea8cc65afaf4c2227e79961a67c9d6aAL7545912','AL7545912','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=AL7545912&idxID=089','0','','Great Opportunity Large Over built Brick BuildingSome repa...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[17] = new Array('44,800','8 DEVILS HALF ACRE COVE HILL SUB ','ACCIDENT, MD 21520 ','http://photos-5.idxco.com/089612a34b45a47c812b55fea3c89c9765cGA7590023','GA7590023','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7590023&idxID=089','0','','AMAZING VIEWS AMAZING VALUE 12.8 Acres of Country Mountain V...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[18] = new Array('43,750','6 DEVILS HALF ACRE COVE HILL SUB ','ACCIDENT, MD 21520 ','http://photos-5.idxco.com/089612a34b45a47c812b55fea3c89c9765cGA7590010','GA7590010','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7590010&idxID=089','0','','AMAZING VIEWS AMAZING VALUE 12.5 Acres of Country Mountain V...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[19] = new Array('28,000','6 HOLLAND TR BETHLEHEM ','DEER PARK, MD 21550 ','http://photos-5.idxco.com/089c0f98aa9e010227af6c24546735f4e38GA7600051','GA7600051','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7600051&idxID=089','0','','Raw Land Opportunity. Stream on Property. Perfect spot for g...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	properties[20] = new Array('20,000','233 RHODODENDRON DR ','OAKLAND, MD 21550 ','http://photos-5.idxco.com/0899f8b9c5bf3e13e91271811454a94adbeGA7108115','GA7108115','089','http://sellingdeepcreek.idxco.com/idx/8340/details.php?listingID=GA7108115&idxID=089','0','','Approved Perc for 2BR2BA septic. Additional Br with sand mou...','Bradley Nesline','Long & Foster Real Estate, Inc.');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

