	// IDX Broker Slideshow version 2.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 timed862bd9449out = 3000;
	var cd862bd9449wi = 0;
	
	// id862bd9449sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var id862bd9449sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapd862bd9449fade setup function
	function swapd862bd9449fade()
	{
		//if the timer is not already going
		if(id862bd9449sf.clock == null)
		{
			//copy the image object 
			id862bd9449sf.obj = arguments[0];
			
			//copy the image src argument 
			id862bd9449sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof id862bd9449sf.obj.style.opacity != 'undefined')
			{
				id862bd9449sf.type = 'w3c';
			}
			else if(typeof id862bd9449sf.obj.style.MozOpacity != 'undefined')
			{
				id862bd9449sf.type = 'moz';
			}
			else if(typeof id862bd9449sf.obj.style.KhtmlOpacity != 'undefined')
			{
				id862bd9449sf.type = 'khtml';
			}
			else if(typeof id862bd9449sf.obj.filters == 'object')
			{
				//weed out win/ie5.0 by testing the length of the filters collection (where filters is an object with no data)
				//then weed out mac/ie5 by testing first the existence of the alpha object (to prevent errors in win/ie5.0)
				//then the returned value type, which should be a number, but in mac/ie5 is an empty string
				id862bd9449sf.type = (id862bd9449sf.obj.filters.length > 0 && typeof id862bd9449sf.obj.filters.alpha == 'object' && typeof id862bd9449sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				id862bd9449sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				id862bd9449sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(id862bd9449sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapd862bd9449fade is two distinct transitions
				id862bd9449sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				id862bd9449sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				id862bd9449sf.clock = setInterval('id862bd9449sf.swapd862bd9449fade()', id862bd9449sf.length/id862bd9449sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				id862bd9449sf.obj.src = id862bd9449sf.src;
			}
			
		}
	};
	
	
	//swapd862bd9449fade timer function
	id862bd9449sf.swapd862bd9449fade = function()
	{
		//increase or reduce the counter on an exponential scale
		id862bd9449sf.count = (id862bd9449sf.fade) ? id862bd9449sf.count * 0.9 : (id862bd9449sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(id862bd9449sf.count < (1 / id862bd9449sf.resolution))
		{
			//clear the timer
			clearInterval(id862bd9449sf.clock);
			id862bd9449sf.clock = null;
	
			//do the image swap
			id862bd9449sf.obj.src = id862bd9449sf.src;
	
			//reverse the fade direction flag
			id862bd9449sf.fade = false;
			
			//restart the timer
			id862bd9449sf.clock = setInterval('id862bd9449sf.swapd862bd9449fade()', id862bd9449sf.length/id862bd9449sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(id862bd9449sf.count > (1 - (1 / id862bd9449sf.resolution)))
		{
			//clear the timer
			clearInterval(id862bd9449sf.clock);
			id862bd9449sf.clock = null;
	
			//reset the fade direction flag
			id862bd9449sf.fade = true;
			
			//reset the counter
			id862bd9449sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(id862bd9449sf.type)
		{
			case 'ie' :
				id862bd9449sf.obj.filters.alpha.opacity = id862bd9449sf.count * 100;
				break;
				
			case 'khtml' :
				id862bd9449sf.obj.style.KhtmlOpacity = id862bd9449sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				id862bd9449sf.obj.style.MozOpacity = (id862bd9449sf.count == 1 ? 0.9999999 : id862bd9449sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				id862bd9449sf.obj.style.opacity = (id862bd9449sf.count == 1 ? 0.9999999 : id862bd9449sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-d862bd9449-slideshow { text-align: center;  }');
	document.writeln('#IDX-d862bd9449-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextd862bd9449 = 1;
	prevd862bd9449 = 5 - 1;

	document.writeln('<div id="IDX-d862bd9449-slideshow">');
	document.writeln('<div id="IDX-d862bd9449-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-d862bd9449-ssImageURL" class="IDX-d862bd9449-ssLinkText"><img id="IDX-d862bd9449-ssImage" name="d862bd9449-ssImage" alt="Slideshow image" border="0"  class="IDX-d862bd9449-image" src="http://photos-2.idxco.com/032fad4a73e404915cf31e9fa4189f80dfd2061995" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-d862bd9449-priceLine"></div>');
	document.writeln('<div id="IDX-d862bd9449-addressLine"></div>');
	document.writeln('<div id="IDX-d862bd9449-cszLine"></div>');
	document.writeln('<div id="IDX-d862bd9449-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-d862bd9449-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-d862bd9449-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playd862bd9449()
	{
		
		
		urlVard862bd9449 = '<a href="'+propertiesd862bd9449[cd862bd9449wi][6]+'" class="IDX-d862bd9449-ssLinkText">';
		swapd862bd9449fade(document.getElementById('IDX-d862bd9449-ssImage'), preLoadd862bd9449.src, '1', ' ');
		document.getElementById('IDX-d862bd9449-ssImageURL').href = propertiesd862bd9449[cd862bd9449wi][6];
		document.getElementById('IDX-d862bd9449-priceLine').innerHTML = urlVard862bd9449+'$'+propertiesd862bd9449[cd862bd9449wi][0]+'</a>';
		document.getElementById('IDX-d862bd9449-addressLine').innerHTML =  urlVard862bd9449+propertiesd862bd9449[cd862bd9449wi][1]+'</a>';
		document.getElementById('IDX-d862bd9449-cszLine').innerHTML = urlVard862bd9449+propertiesd862bd9449[cd862bd9449wi][2]+'</a>';
		document.getElementById('IDX-d862bd9449-bedLine').innerHTML = urlVard862bd9449+'Beds: '+propertiesd862bd9449[cd862bd9449wi][7]+'</a>';
		document.getElementById('IDX-d862bd9449-bathLine').innerHTML = urlVard862bd9449+'Baths: '+propertiesd862bd9449[cd862bd9449wi][8]+'</a>';
		document.getElementById('IDX-d862bd9449-remarkLine').innerHTML = urlVard862bd9449+propertiesd862bd9449[cd862bd9449wi][9]+'</a>';
		
		preLoadd862bd9449 = new Image();
		preLoadd862bd9449.src = propertiesd862bd9449[nextd862bd9449][3];
		
		updated862bd9449();
		
		cd862bd9449 = setTimeout('playd862bd9449()', timed862bd9449out);	
		
		
	} // end play()
	function updated862bd9449()
	{		
		cd862bd9449wi = nextd862bd9449;		
		genNextd862bd9449();
		genPrevd862bd9449();
		
	}
	function genNextd862bd9449()
	{
		nextd862bd9449 = cd862bd9449wi + 1;
		if (nextd862bd9449 >= 5)
			nextd862bd9449 = 0;
	} // end genNext
	function genPrevd862bd9449()
	{
		prevd862bd9449 = cd862bd9449wi - 1;
		if (prevd862bd9449 < 0)
			prevd862bd9449 = 5 - 1;
	} // end genPrev

	var propertiesd862bd9449 = new Array(5);
	propertiesd862bd9449[0] = new Array('2,995,000','6566 Oxfordshire Road','Weddington, NC 28104 ','http://photos-2.idxco.com/032fad4a73e404915cf31e9fa4189f80dfd2061995','2061995','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=2061995&idxID=032','7','7','Estate home rests on 2 lots at approx. 4.5 acres in a sought...');
	propertiesd862bd9449[1] = new Array('2,700,000','130 Bluebird Lane','Weddington, NC 28173 ','http://www.carolinaphotos.com/photos/887349.jpg','887349','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=887349&idxID=032','7','6','List price includes additional parcels: 06150035, 06150034, ...');
	propertiesd862bd9449[2] = new Array('1,799,000','7112 New Town Road','Weddington, NC 28173 ','http://www.carolinaphotos.com/photos/948484.jpg','948484','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=948484&idxID=032','4','2','REDUCED $450K. Bring all offers. Unique, tranquil, historica...');
	propertiesd862bd9449[3] = new Array('1,350,000','4027 Blossom Hill Drive','Weddington, NC 28104 ','http://www.carolinaphotos.com/photos/2028390.jpg','2028390','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=2028390&idxID=032','5','5','This 2003 HomeArama winner of Best Kitchen &amp; Past Presid...');
	propertiesd862bd9449[4] = new Array('1,250,000','9027 Pine Laurel Drive','Weddington, NC 28104 ','http://photos-2.idxco.com/032ce2a7e0199cb4d6b7b64d964ebd220202045108','2045108','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=2045108&idxID=032','6','5','Priced to Sell Beautiful Custom Home in Weddington\\\\\\\'s High...');
	var urlVard862bd9449;
	var preLoadd862bd9449 = new Image();
	preLoadd862bd9449.src = propertiesd862bd9449[cd862bd9449wi][3];
	onLoad = playd862bd9449();

