	// IDX Broker Slideshow version 2.0
	// Copyright ©2010 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 time2e16b2d812out = 3000;
	var c2e16b2d812wi = 0;
	
	// i2e16b2d812sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i2e16b2d812sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap2e16b2d812fade setup function
	function swap2e16b2d812fade()
	{
		//if the timer is not already going
		if(i2e16b2d812sf.clock == null)
		{
			//copy the image object 
			i2e16b2d812sf.obj = arguments[0];
			
			//copy the image src argument 
			i2e16b2d812sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i2e16b2d812sf.obj.style.opacity != 'undefined')
			{
				i2e16b2d812sf.type = 'w3c';
			}
			else if(typeof i2e16b2d812sf.obj.style.MozOpacity != 'undefined')
			{
				i2e16b2d812sf.type = 'moz';
			}
			else if(typeof i2e16b2d812sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i2e16b2d812sf.type = 'khtml';
			}
			else if(typeof i2e16b2d812sf.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
				i2e16b2d812sf.type = (i2e16b2d812sf.obj.filters.length > 0 && typeof i2e16b2d812sf.obj.filters.alpha == 'object' && typeof i2e16b2d812sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i2e16b2d812sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i2e16b2d812sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i2e16b2d812sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap2e16b2d812fade is two distinct transitions
				i2e16b2d812sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i2e16b2d812sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i2e16b2d812sf.clock = setInterval('i2e16b2d812sf.swap2e16b2d812fade()', i2e16b2d812sf.length/i2e16b2d812sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i2e16b2d812sf.obj.src = i2e16b2d812sf.src;
			}
			
		}
	};
	
	
	//swap2e16b2d812fade timer function
	i2e16b2d812sf.swap2e16b2d812fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i2e16b2d812sf.count = (i2e16b2d812sf.fade) ? i2e16b2d812sf.count * 0.9 : (i2e16b2d812sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i2e16b2d812sf.count < (1 / i2e16b2d812sf.resolution))
		{
			//clear the timer
			clearInterval(i2e16b2d812sf.clock);
			i2e16b2d812sf.clock = null;
	
			//do the image swap
			i2e16b2d812sf.obj.src = i2e16b2d812sf.src;
	
			//reverse the fade direction flag
			i2e16b2d812sf.fade = false;
			
			//restart the timer
			i2e16b2d812sf.clock = setInterval('i2e16b2d812sf.swap2e16b2d812fade()', i2e16b2d812sf.length/i2e16b2d812sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i2e16b2d812sf.count > (1 - (1 / i2e16b2d812sf.resolution)))
		{
			//clear the timer
			clearInterval(i2e16b2d812sf.clock);
			i2e16b2d812sf.clock = null;
	
			//reset the fade direction flag
			i2e16b2d812sf.fade = true;
			
			//reset the counter
			i2e16b2d812sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i2e16b2d812sf.type)
		{
			case 'ie' :
				i2e16b2d812sf.obj.filters.alpha.opacity = i2e16b2d812sf.count * 100;
				break;
				
			case 'khtml' :
				i2e16b2d812sf.obj.style.KhtmlOpacity = i2e16b2d812sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i2e16b2d812sf.obj.style.MozOpacity = (i2e16b2d812sf.count == 1 ? 0.9999999 : i2e16b2d812sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i2e16b2d812sf.obj.style.opacity = (i2e16b2d812sf.count == 1 ? 0.9999999 : i2e16b2d812sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-2e16b2d812-slideshow { text-align: center; width: 300px;  }');
	document.writeln('.IDX-2e16b2d812-image { width: 300px; height: 200px;  }');
	document.writeln('#IDX-2e16b2d812-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next2e16b2d812 = 1;
	prev2e16b2d812 = 25 - 1;

	document.writeln('<div id="IDX-2e16b2d812-slideshow">');
	document.writeln('<div id="IDX-2e16b2d812-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-2e16b2d812-ssImageURL" class="IDX-2e16b2d812-ssLinkText"><img id="IDX-2e16b2d812-ssImage" name="2e16b2d812-ssImage" alt="Slideshow image" border="0"  class="IDX-2e16b2d812-image" src="http://www.carolinaphotos.com/photos/922193.jpg" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-2e16b2d812-priceLine"></div>');
	document.writeln('<div id="IDX-2e16b2d812-addressLine"></div>');
	document.writeln('<div id="IDX-2e16b2d812-cszLine"></div>');
	document.writeln('<div id="IDX-2e16b2d812-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-2e16b2d812-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-2e16b2d812-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play2e16b2d812()
	{
		
		
		urlVar2e16b2d812 = '<a href="'+properties2e16b2d812[c2e16b2d812wi][6]+'" class="IDX-2e16b2d812-ssLinkText">';
		swap2e16b2d812fade(document.getElementById('IDX-2e16b2d812-ssImage'), preLoad2e16b2d812.src, '1', ' ');
		document.getElementById('IDX-2e16b2d812-ssImageURL').href = properties2e16b2d812[c2e16b2d812wi][6];
		document.getElementById('IDX-2e16b2d812-priceLine').innerHTML = urlVar2e16b2d812+'$'+properties2e16b2d812[c2e16b2d812wi][0]+'</a>';
		document.getElementById('IDX-2e16b2d812-addressLine').innerHTML =  urlVar2e16b2d812+properties2e16b2d812[c2e16b2d812wi][1]+'</a>';
		document.getElementById('IDX-2e16b2d812-cszLine').innerHTML = urlVar2e16b2d812+properties2e16b2d812[c2e16b2d812wi][2]+'</a>';
		document.getElementById('IDX-2e16b2d812-bedLine').innerHTML = urlVar2e16b2d812+'Beds: '+properties2e16b2d812[c2e16b2d812wi][7]+'</a>';
		document.getElementById('IDX-2e16b2d812-bathLine').innerHTML = urlVar2e16b2d812+'Baths: '+properties2e16b2d812[c2e16b2d812wi][8]+'</a>';
		document.getElementById('IDX-2e16b2d812-remarkLine').innerHTML = urlVar2e16b2d812+properties2e16b2d812[c2e16b2d812wi][9]+'</a>';
		
		preLoad2e16b2d812 = new Image();
		preLoad2e16b2d812.src = properties2e16b2d812[next2e16b2d812][3];
		
		update2e16b2d812();
		
		c2e16b2d812 = setTimeout('play2e16b2d812()', time2e16b2d812out);	
		
		
	} // end play()
	function update2e16b2d812()
	{		
		c2e16b2d812wi = next2e16b2d812;		
		genNext2e16b2d812();
		genPrev2e16b2d812();
		
	}
	function genNext2e16b2d812()
	{
		next2e16b2d812 = c2e16b2d812wi + 1;
		if (next2e16b2d812 >= 25)
			next2e16b2d812 = 0;
	} // end genNext
	function genPrev2e16b2d812()
	{
		prev2e16b2d812 = c2e16b2d812wi - 1;
		if (prev2e16b2d812 < 0)
			prev2e16b2d812 = 25 - 1;
	} // end genPrev

	var properties2e16b2d812 = new Array(25);
	properties2e16b2d812[0] = new Array('3,850,000','16921  Jetton RD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/922193.jpg','922193','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=922193&idxID=032','6','7','This magnificent lakefront estate built by Patrick Joseph ha...');
	properties2e16b2d812[1] = new Array('3,695,000','19135  Peninsula Point DR','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/950528.jpg','950528','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=950528&idxID=032','5','6','Gorgeous estate on almost an acre of land. Fabulous house fo...');
	properties2e16b2d812[2] = new Array('3,650,000','17324  Wavecrest CT','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/848207.jpg','848207','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=848207&idxID=032','6','6','Fabulous 3 level, 4-car Garage, Mediterranean Waterfront Est...');
	properties2e16b2d812[3] = new Array('3,595,000','18925  Kyle LN','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/902715.jpg','902715','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=902715&idxID=032','4','5','Stunning Lakefront 10,340 HLA home with elevator, three floo...');
	properties2e16b2d812[4] = new Array('3,499,000','20107  Bascom Ridge DR','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/936852.jpg','936852','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=936852&idxID=032','4','5','Beautiful, spacious, all brick waterfront home with much sou...');
	properties2e16b2d812[5] = new Array('3,300,000','18011  Mollypop LN','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/899921.jpg','899921','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=899921&idxID=032','5','5','Waterfront new construction on 1.11 acres.Over 7,000 sq ft H...');
	properties2e16b2d812[6] = new Array('3,300,000','20305  Enclave Oaks CT','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/927438.jpg','927438','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=927438&idxID=032','5','6','This spectacular residence is the epitome of perfection. Cus...');
	properties2e16b2d812[7] = new Array('2,995,000','17224  Connor Quay CT','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/964915.jpg','964915','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=964915&idxID=032','5','5','This beautiful home was built by the Number 1 Builder for hi...');
	properties2e16b2d812[8] = new Array('2,995,000','21600  Norman Shores DR','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/965813.jpg','965813','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=965813&idxID=032','5','5','Classic Augusta built craftsman style waterfront home. Casua...');
	properties2e16b2d812[9] = new Array('2,925,000','16527  Green Dolphin LN','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/892830.jpg','892830','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=892830&idxID=032','5','5','This beautiful waterfront home will impress you with it\\\\\\\'s...');
	properties2e16b2d812[10] = new Array('2,900,000','16339  Jetton RD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/962385.jpg','962385','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=962385&idxID=032','4','3','Fantastic open water view, old world European custom built b...');
	properties2e16b2d812[11] = new Array('2,890,000','16340  Belle Isle DR','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/758136.jpg','758136','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=758136&idxID=032','5','5','Dramatically perched on a gently sloping ridge above Lake No...');
	properties2e16b2d812[12] = new Array('2,795,000','19011  Mountainview DR','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/910027.jpg','910027','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=910027&idxID=032','6','6','Exquisite waterfront home grand in design, yet warm &amp; in...');
	properties2e16b2d812[13] = new Array('2,699,000','18619  Peninsula Club DR','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/918382.jpg','918382','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=918382&idxID=032','5','5','This better than new custom waterfront home in The Peninsula...');
	properties2e16b2d812[14] = new Array('2,699,000','16607  Flying Jib RD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/837221.jpg','837221','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=837221&idxID=032','6','7','Artisan Custom Home w/understated elegance at every turn.Old...');
	properties2e16b2d812[15] = new Array('2,599,000','18418  Balmore Pines LN','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/769127.jpg','769127','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=769127&idxID=032','5','5','This home has been completely renovated by Bonn-A Inc Builde...');
	properties2e16b2d812[16] = new Array('2,445,000','22531  Torrence Chapel RD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/895381.jpg','895381','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=895381&idxID=032','6','6','HOME PRICED BELOW 2010 APPRAISAL!! MOTIATED SELLERS. Breatht...');
	properties2e16b2d812[17] = new Array('2,300,000','19434  Peninsula Shores DR','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/947694.jpg','947694','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=947694&idxID=032','6','4','Majestic, 3story Mediterranean home w/courtyard driveway &am...');
	properties2e16b2d812[18] = new Array('2,295,000','18210  Harbor Light BLVD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/881541.jpg','881541','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=881541&idxID=032','6','6','Totally renovated by Augusta Homes- new kitchen, mstr bath, ...');
	properties2e16b2d812[19] = new Array('2,200,000','18010  Harbor Light BLVD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/849009.jpg','849009','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=849009&idxID=032','4','3','This beautiful builders home is filled with upgrades and ext...');
	properties2e16b2d812[20] = new Array('2,200,000','20601  Bethel Church RD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/941910.jpg','941910','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=941910&idxID=032','6','6','3.26acre W.F. estate has 150 feet on the water. Calm wide co...');
	properties2e16b2d812[21] = new Array('2,200,000','18007  Harbor Light BLVD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/944007.jpg','944007','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=944007&idxID=032','5','4','Gorgeous cedar shake and stone home!  Magnificent Lake Norma...');
	properties2e16b2d812[22] = new Array('2,149,000','16900  Shipswatch Place PL','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/970271.jpg','970271','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=970271&idxID=032','5','4','Arguably the BEST main channel views of any home at the Peni...');
	properties2e16b2d812[23] = new Array('2,000,000','17429  Staysail CT','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/965727.jpg','965727','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=965727&idxID=032','7','7','Stunning! A true mansion! Impressive foyer with winding stai...');
	properties2e16b2d812[24] = new Array('1,999,000','18424  Nantz RD','Cornelius, NC 28031 ','http://www.carolinaphotos.com/photos/900332.jpg','900332','032','http://idx.lakenormanhomeconnection.com/idx/4061/details.php?listingID=900332&idxID=032','7','9','We will consider trades.  Vacant Lot next door is owned by D...');
	var urlVar2e16b2d812;
	var preLoad2e16b2d812 = new Image();
	preLoad2e16b2d812.src = properties2e16b2d812[c2e16b2d812wi][3];
	onLoad = play2e16b2d812();
