	// IDX Broker Slideshow version 2.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 timeNewSlideShowNameout = 3000;
	var cNewSlideShowNamewi = 0;
	
	// iNewSlideShowNamesf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var iNewSlideShowNamesf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapNewSlideShowNamefade setup function
	function swapNewSlideShowNamefade()
	{
		//if the timer is not already going
		if(iNewSlideShowNamesf.clock == null)
		{
			//copy the image object 
			iNewSlideShowNamesf.obj = arguments[0];
			
			//copy the image src argument 
			iNewSlideShowNamesf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof iNewSlideShowNamesf.obj.style.opacity != 'undefined')
			{
				iNewSlideShowNamesf.type = 'w3c';
			}
			else if(typeof iNewSlideShowNamesf.obj.style.MozOpacity != 'undefined')
			{
				iNewSlideShowNamesf.type = 'moz';
			}
			else if(typeof iNewSlideShowNamesf.obj.style.KhtmlOpacity != 'undefined')
			{
				iNewSlideShowNamesf.type = 'khtml';
			}
			else if(typeof iNewSlideShowNamesf.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
				iNewSlideShowNamesf.type = (iNewSlideShowNamesf.obj.filters.length > 0 && typeof iNewSlideShowNamesf.obj.filters.alpha == 'object' && typeof iNewSlideShowNamesf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				iNewSlideShowNamesf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				iNewSlideShowNamesf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(iNewSlideShowNamesf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapNewSlideShowNamefade is two distinct transitions
				iNewSlideShowNamesf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				iNewSlideShowNamesf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				iNewSlideShowNamesf.clock = setInterval('iNewSlideShowNamesf.swapNewSlideShowNamefade()', iNewSlideShowNamesf.length/iNewSlideShowNamesf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				iNewSlideShowNamesf.obj.src = iNewSlideShowNamesf.src;
			}
			
		}
	};
	
	
	//swapNewSlideShowNamefade timer function
	iNewSlideShowNamesf.swapNewSlideShowNamefade = function()
	{
		//increase or reduce the counter on an exponential scale
		iNewSlideShowNamesf.count = (iNewSlideShowNamesf.fade) ? iNewSlideShowNamesf.count * 0.9 : (iNewSlideShowNamesf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(iNewSlideShowNamesf.count < (1 / iNewSlideShowNamesf.resolution))
		{
			//clear the timer
			clearInterval(iNewSlideShowNamesf.clock);
			iNewSlideShowNamesf.clock = null;
	
			//do the image swap
			iNewSlideShowNamesf.obj.src = iNewSlideShowNamesf.src;
	
			//reverse the fade direction flag
			iNewSlideShowNamesf.fade = false;
			
			//restart the timer
			iNewSlideShowNamesf.clock = setInterval('iNewSlideShowNamesf.swapNewSlideShowNamefade()', iNewSlideShowNamesf.length/iNewSlideShowNamesf.resolution);
	
		}
		
		//if the counter has reached the top
		if(iNewSlideShowNamesf.count > (1 - (1 / iNewSlideShowNamesf.resolution)))
		{
			//clear the timer
			clearInterval(iNewSlideShowNamesf.clock);
			iNewSlideShowNamesf.clock = null;
	
			//reset the fade direction flag
			iNewSlideShowNamesf.fade = true;
			
			//reset the counter
			iNewSlideShowNamesf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(iNewSlideShowNamesf.type)
		{
			case 'ie' :
				iNewSlideShowNamesf.obj.filters.alpha.opacity = iNewSlideShowNamesf.count * 100;
				break;
				
			case 'khtml' :
				iNewSlideShowNamesf.obj.style.KhtmlOpacity = iNewSlideShowNamesf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				iNewSlideShowNamesf.obj.style.MozOpacity = (iNewSlideShowNamesf.count == 1 ? 0.9999999 : iNewSlideShowNamesf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				iNewSlideShowNamesf.obj.style.opacity = (iNewSlideShowNamesf.count == 1 ? 0.9999999 : iNewSlideShowNamesf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-NewSlideShowName-slideshow { text-align: center; border-width: 5px; border-style: double; border-color: #green; width: 240px;  }');
	document.writeln('.IDX-NewSlideShowName-image { width: 240px; height: 200px;  }');
	document.writeln('#IDX-NewSlideShowName-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextNewSlideShowName = 1;
	prevNewSlideShowName = 25 - 1;

	document.writeln('<div id="IDX-NewSlideShowName-slideshow">');
	document.writeln('<div id="IDX-NewSlideShowName-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-NewSlideShowName-ssImageURL" class="IDX-NewSlideShowName-ssLinkText"><img id="IDX-NewSlideShowName-ssImage" name="NewSlideShowName-ssImage" alt="Slideshow image" border="0"  class="IDX-NewSlideShowName-image" src="http://photos-16.idxco.com/301ebfd97fdc4edc99afb152cd3531f480a899944" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-NewSlideShowName-priceLine"></div>');
	document.writeln('<div id="IDX-NewSlideShowName-addressLine"></div>');
	document.writeln('<div id="IDX-NewSlideShowName-cszLine"></div>');
	document.writeln('<div id="IDX-NewSlideShowName-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-NewSlideShowName-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-NewSlideShowName-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playNewSlideShowName()
	{
		
		
		urlVarNewSlideShowName = '<a href="'+propertiesNewSlideShowName[cNewSlideShowNamewi][6]+'" class="IDX-NewSlideShowName-ssLinkText">';
		swapNewSlideShowNamefade(document.getElementById('IDX-NewSlideShowName-ssImage'), preLoadNewSlideShowName.src, '1', ' ');
		document.getElementById('IDX-NewSlideShowName-ssImageURL').href = propertiesNewSlideShowName[cNewSlideShowNamewi][6];
		document.getElementById('IDX-NewSlideShowName-priceLine').innerHTML = urlVarNewSlideShowName+'$'+propertiesNewSlideShowName[cNewSlideShowNamewi][0]+'</a>';
		document.getElementById('IDX-NewSlideShowName-addressLine').innerHTML =  urlVarNewSlideShowName+propertiesNewSlideShowName[cNewSlideShowNamewi][1]+'</a>';
		document.getElementById('IDX-NewSlideShowName-cszLine').innerHTML = urlVarNewSlideShowName+propertiesNewSlideShowName[cNewSlideShowNamewi][2]+'</a>';
		document.getElementById('IDX-NewSlideShowName-bedLine').innerHTML = urlVarNewSlideShowName+'Beds: '+propertiesNewSlideShowName[cNewSlideShowNamewi][7]+'</a>';
		document.getElementById('IDX-NewSlideShowName-bathLine').innerHTML = urlVarNewSlideShowName+'Baths: '+propertiesNewSlideShowName[cNewSlideShowNamewi][8]+'</a>';
		document.getElementById('IDX-NewSlideShowName-remarkLine').innerHTML = urlVarNewSlideShowName+propertiesNewSlideShowName[cNewSlideShowNamewi][9]+'</a>';
		
		preLoadNewSlideShowName = new Image();
		preLoadNewSlideShowName.src = propertiesNewSlideShowName[nextNewSlideShowName][3];
		
		updateNewSlideShowName();
		
		cNewSlideShowName = setTimeout('playNewSlideShowName()', timeNewSlideShowNameout);	
		
		
	} // end play()
	function updateNewSlideShowName()
	{		
		cNewSlideShowNamewi = nextNewSlideShowName;		
		genNextNewSlideShowName();
		genPrevNewSlideShowName();
		
	}
	function genNextNewSlideShowName()
	{
		nextNewSlideShowName = cNewSlideShowNamewi + 1;
		if (nextNewSlideShowName >= 25)
			nextNewSlideShowName = 0;
	} // end genNext
	function genPrevNewSlideShowName()
	{
		prevNewSlideShowName = cNewSlideShowNamewi - 1;
		if (prevNewSlideShowName < 0)
			prevNewSlideShowName = 25 - 1;
	} // end genPrev

	var propertiesNewSlideShowName = new Array(25);
	propertiesNewSlideShowName[0] = new Array('105,000','403 SHADY LANE','Thomasville, GA 31792 ','http://photos-16.idxco.com/301ebfd97fdc4edc99afb152cd3531f480a899944','899944','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=899944&idxID=301','3','2','Almost 5 acres and a beautiful stocked pond with dock perfec...');
	propertiesNewSlideShowName[1] = new Array('105,900','1014 Oriole','Thomasville, GA 31792 ','http://photos-16.idxco.com/301efd48e3136f5d4457e71874281cc5d01557375','557375','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=557375&idxID=301','3','1','Cute - Clean - Comfortable!  Simple living on quiet street w...');
	propertiesNewSlideShowName[2] = new Array('109,900','101 Bradford Road','Thomasville, GA 31757 ','http://photos-16.idxco.com/3016f2e7a0635e057b4c4f0be8b1dd3fc31523440','523440','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=523440&idxID=301','3','2','PROPERTY IS UNDER A SHORT SALE. Price subject to bank approv...');
	propertiesNewSlideShowName[3] = new Array('109,900','404 Tanglewood Drive','Thomasville, GA 31792 ','http://photos-16.idxco.com/301f231533176f6e9724b6edb05ce2f42cc873081','873081','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=873081&idxID=301','3','2','This well kept 3 Bedroom, 2 Bath home inside the city limits...');
	propertiesNewSlideShowName[4] = new Array('109,900','127 Highland Street','Thomasville, GA 31792 ','http://photos-16.idxco.com/301d812cbb656c9a411ab5b9e311788b1fa544483','544483','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=544483&idxID=301','3','1','This home is offered by motivated sellers and is priced to s...');
	propertiesNewSlideShowName[5] = new Array('110,000','411 Briarwood Drive','Thomasville, GA 31792 ','http://photos-16.idxco.com/301ff7f52038bdcefbc6f36c13ecba52458768467','768467','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=768467&idxID=301','3','2','Very cute 3 bedroom 2 bath with family room and fireplace.  ...');
	propertiesNewSlideShowName[6] = new Array('110,000','212 Fontaine','Thomasville, GA 31792 ','http://photos-16.idxco.com/301ce2e99aad4c079010e9eb7fdaff142a6764399','764399','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=764399&idxID=301','3','2','Transferring couple have loved the location and convenience ...');
	propertiesNewSlideShowName[7] = new Array('110,000','310 Myrtle Drive','Thomasville, GA 31792 ','http://photos-16.idxco.com/3010f1d74fc110a4edd9cd27d554d964178900225','900225','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=900225&idxID=301','2','2','Home is located in nice neighborhood near park and schools. ...');
	propertiesNewSlideShowName[8] = new Array('112,900','164 Williamsburg Avenue','Thomasville, GA 31757 ','http://photos-16.idxco.com/301218a0ddf739a8e25ab38da069fd3afc1672156','672156','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=672156&idxID=301','3','2','Nice home at great price-good rental property or space for f...');
	propertiesNewSlideShowName[9] = new Array('114,000','2403 Coffee Road','Thomasville, GA 31757 ','http://photos-16.idxco.com/3017aa8b0051016186fd076ddad37b56757559251','559251','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=559251&idxID=301','3','1','Take me home country roads. As you travel home from town out...');
	propertiesNewSlideShowName[10] = new Array('114,500','105 Highland St.','Thomasville, GA 31792 ','http://Thomasville.1st-place.com/photos/53/677053-1.jpg','677053','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=677053&idxID=301','3','2','Spacious brick 3 bedroom 2 bath recently remodeled. Hardwood...');
	propertiesNewSlideShowName[11] = new Array('114,900','306 Water Oaks Lane','Thomasville, GA 31757 ','http://photos-16.idxco.com/3018c922bc065a77166932f8272008e4c6a900280','900280','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=900280&idxID=301','3','3','Live close to nature!  Smallest lot in Plantation Woods is t...');
	propertiesNewSlideShowName[12] = new Array('115,000','592 Harper Road','Cairo, GA 39827 ','http://photos-16.idxco.com/301a4a4c6c15952178ceef207d02ba971f9900028','900028','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=900028&idxID=301','2','2','10 ACRES AND 2 BEDROOM 2 BATH HOME OFFERS AFFORDABLE COUNTRY...');
	propertiesNewSlideShowName[13] = new Array('115,000','314 Timber Ridge Road','Thomasville, GA 31757 ','http://photos-16.idxco.com/30131ff39ca95f965103088947d2db794da735598','735598','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=735598&idxID=301','4','2','These elegant townhomes...our best prices on the water. Beau...');
	propertiesNewSlideShowName[14] = new Array('115,000','320 Timber Ridge Road','Thomasville, GA 31757 ','http://photos-16.idxco.com/3012d31ab5371f3ad4d26cd8958e0e09974899875','899875','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=899875&idxID=301','3','2','These elegant townhomes...our best prices on the water. Beau...');
	propertiesNewSlideShowName[15] = new Array('115,900','1101 Stevens Street','Thomasville, GA 31792 ','http://clientlogos.idxco.com/noPhoto_4644','527272','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=527272&idxID=301','3','2','Don\\\\\\\'t miss out on this new home being built. Open split f...');
	propertiesNewSlideShowName[16] = new Array('116,900','201&213 Cecil','Thomasville, GA 31792 ','http://photos-16.idxco.com/3010eef184b5479a1552c19dbef92c05790875806','875806','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=875806&idxID=301','3','2','213 Cecil was completely renovated in 2003 with new plumbing...');
	propertiesNewSlideShowName[17] = new Array('117,000','128 Dove Hill Circle','Thomasville, GA 31792 ','http://photos-16.idxco.com/301aba8bf17c00238b27515df4620cca3a3647974','647974','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=647974&idxID=301','3','2','NEW CONSTRUCTION IN DOVE HILL. This affordable home features...');
	propertiesNewSlideShowName[18] = new Array('117,000','365 Timber Ridge Drive','Thomasville, GA 31757 ','http://photos-16.idxco.com/301391505fae678256f901d30919f4e1f42891199','891199','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=891199&idxID=301','3','2','Don\\\\\\\'t miss out on this great deal!  Priced to sell in a g...');
	propertiesNewSlideShowName[19] = new Array('117,500','906 Remington Avenue','Thomasville, GA 31792 ','http://photos-16.idxco.com/30173074d6a93b7375a77c799e838f52e19885428','885428','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=885428&idxID=301','3','2','Great location, convenient to everything. This townhome is i...');
	propertiesNewSlideShowName[20] = new Array('118,000','318 1st Street SW','Cairo, GA 31728 ','http://photos-16.idxco.com/301c7aa75c8b0980a556ecf106d94330c44900242','900242','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=900242&idxID=301','4','3','Beautiful Historic Home close to downtown...Hardwood floors,...');
	propertiesNewSlideShowName[21] = new Array('119,000','119 Royal Avenue','Thomasville, GA 31792 ','http://photos-16.idxco.com/301ed398ed173ebb2a238d193170bf4ab8b899895','899895','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=899895&idxID=301','3','1','Nice well maintained home in established neighborhood and in...');
	propertiesNewSlideShowName[22] = new Array('119,000','37 Melrose Lane','Thomasville, GA 31757 ','http://photos-16.idxco.com/30198b43f30ac892776a6891a280ab2ee80900090','900090','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=900090&idxID=301','3','2','This Tri-level house needs work, but the price reflects it.....');
	propertiesNewSlideShowName[23] = new Array('119,900','408 Glenwood Drive','Thomasville, GA 31792 ','http://photos-16.idxco.com/301a2527de5c1bdd43390963c8a8e75a3e0571309','571309','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=571309&idxID=301','3','2','You can help your landlord make his monthly mortgage payment...');
	propertiesNewSlideShowName[24] = new Array('119,900','222 Monroe','Thomasville, GA 31792 ','http://photos-16.idxco.com/30130adf07e5917a7ad8e1b7f89cde3725b900184','900184','301','http://www.ecohomesga.idxco.com/idx/4644/details.php?listingID=900184&idxID=301','3','2','This property has lots of upgrades, beautiful high ceilings,...');
	var urlVarNewSlideShowName;
	var preLoadNewSlideShowName = new Image();
	preLoadNewSlideShowName.src = propertiesNewSlideShowName[cNewSlideShowNamewi][3];
	onLoad = playNewSlideShowName();
