	// 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 timed1c6c47681out = 7000;
	var cd1c6c47681wi = 0;
	
	// id1c6c47681sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var id1c6c47681sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapd1c6c47681fade setup function
	function swapd1c6c47681fade()
	{
		//if the timer is not already going
		if(id1c6c47681sf.clock == null)
		{
			//copy the image object 
			id1c6c47681sf.obj = arguments[0];
			
			//copy the image src argument 
			id1c6c47681sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof id1c6c47681sf.obj.style.opacity != 'undefined')
			{
				id1c6c47681sf.type = 'w3c';
			}
			else if(typeof id1c6c47681sf.obj.style.MozOpacity != 'undefined')
			{
				id1c6c47681sf.type = 'moz';
			}
			else if(typeof id1c6c47681sf.obj.style.KhtmlOpacity != 'undefined')
			{
				id1c6c47681sf.type = 'khtml';
			}
			else if(typeof id1c6c47681sf.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
				id1c6c47681sf.type = (id1c6c47681sf.obj.filters.length > 0 && typeof id1c6c47681sf.obj.filters.alpha == 'object' && typeof id1c6c47681sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				id1c6c47681sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				id1c6c47681sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(id1c6c47681sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapd1c6c47681fade is two distinct transitions
				id1c6c47681sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				id1c6c47681sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				id1c6c47681sf.clock = setInterval('id1c6c47681sf.swapd1c6c47681fade()', id1c6c47681sf.length/id1c6c47681sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				id1c6c47681sf.obj.src = id1c6c47681sf.src;
			}
			
		}
	};
	
	
	//swapd1c6c47681fade timer function
	id1c6c47681sf.swapd1c6c47681fade = function()
	{
		//increase or reduce the counter on an exponential scale
		id1c6c47681sf.count = (id1c6c47681sf.fade) ? id1c6c47681sf.count * 0.9 : (id1c6c47681sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(id1c6c47681sf.count < (1 / id1c6c47681sf.resolution))
		{
			//clear the timer
			clearInterval(id1c6c47681sf.clock);
			id1c6c47681sf.clock = null;
	
			//do the image swap
			id1c6c47681sf.obj.src = id1c6c47681sf.src;
	
			//reverse the fade direction flag
			id1c6c47681sf.fade = false;
			
			//restart the timer
			id1c6c47681sf.clock = setInterval('id1c6c47681sf.swapd1c6c47681fade()', id1c6c47681sf.length/id1c6c47681sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(id1c6c47681sf.count > (1 - (1 / id1c6c47681sf.resolution)))
		{
			//clear the timer
			clearInterval(id1c6c47681sf.clock);
			id1c6c47681sf.clock = null;
	
			//reset the fade direction flag
			id1c6c47681sf.fade = true;
			
			//reset the counter
			id1c6c47681sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(id1c6c47681sf.type)
		{
			case 'ie' :
				id1c6c47681sf.obj.filters.alpha.opacity = id1c6c47681sf.count * 100;
				break;
				
			case 'khtml' :
				id1c6c47681sf.obj.style.KhtmlOpacity = id1c6c47681sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				id1c6c47681sf.obj.style.MozOpacity = (id1c6c47681sf.count == 1 ? 0.9999999 : id1c6c47681sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				id1c6c47681sf.obj.style.opacity = (id1c6c47681sf.count == 1 ? 0.9999999 : id1c6c47681sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-d1c6c47681-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-d1c6c47681-image { width: 135px; height: 117px;  }');
	document.writeln('#IDX-d1c6c47681-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextd1c6c47681 = 1;
	prevd1c6c47681 = 25 - 1;

	document.writeln('<div id="IDX-d1c6c47681-slideshow">');
	document.writeln('<div id="IDX-d1c6c47681-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-d1c6c47681-ssImageURL" class="IDX-d1c6c47681-ssLinkText"><img id="IDX-d1c6c47681-ssImage" name="d1c6c47681-ssImage" alt="Slideshow image" border="0"  class="IDX-d1c6c47681-image" src="http://media.mlspin.com/photo.aspx?mls=71128864&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-d1c6c47681-priceLine"></div>');
	document.writeln('<div id="IDX-d1c6c47681-addressLine"></div>');
	document.writeln('<div id="IDX-d1c6c47681-cszLine"></div>');
	document.writeln('<div id="IDX-d1c6c47681-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-d1c6c47681-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-d1c6c47681-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playd1c6c47681()
	{
		
		
		urlVard1c6c47681 = '<a href="'+propertiesd1c6c47681[cd1c6c47681wi][6]+'" class="IDX-d1c6c47681-ssLinkText">';
		swapd1c6c47681fade(document.getElementById('IDX-d1c6c47681-ssImage'), preLoadd1c6c47681.src, '1', ' ');
		document.getElementById('IDX-d1c6c47681-ssImageURL').href = propertiesd1c6c47681[cd1c6c47681wi][6];
		document.getElementById('IDX-d1c6c47681-priceLine').innerHTML = urlVard1c6c47681+'$'+propertiesd1c6c47681[cd1c6c47681wi][0]+'</a>';
		document.getElementById('IDX-d1c6c47681-addressLine').innerHTML =  urlVard1c6c47681+propertiesd1c6c47681[cd1c6c47681wi][1]+'</a>';
		document.getElementById('IDX-d1c6c47681-cszLine').innerHTML = urlVard1c6c47681+propertiesd1c6c47681[cd1c6c47681wi][2]+'</a>';
		document.getElementById('IDX-d1c6c47681-bedLine').innerHTML = urlVard1c6c47681+'Beds: '+propertiesd1c6c47681[cd1c6c47681wi][7]+'</a>';
		document.getElementById('IDX-d1c6c47681-bathLine').innerHTML = urlVard1c6c47681+'Baths: '+propertiesd1c6c47681[cd1c6c47681wi][8]+'</a>';
		document.getElementById('IDX-d1c6c47681-remarkLine').innerHTML = urlVard1c6c47681+propertiesd1c6c47681[cd1c6c47681wi][9]+'</a>';
		
		preLoadd1c6c47681 = new Image();
		preLoadd1c6c47681.src = propertiesd1c6c47681[nextd1c6c47681][3];
		
		updated1c6c47681();
		
		cd1c6c47681 = setTimeout('playd1c6c47681()', timed1c6c47681out);	
		
		
	} // end play()
	function updated1c6c47681()
	{		
		cd1c6c47681wi = nextd1c6c47681;		
		genNextd1c6c47681();
		genPrevd1c6c47681();
		
	}
	function genNextd1c6c47681()
	{
		nextd1c6c47681 = cd1c6c47681wi + 1;
		if (nextd1c6c47681 >= 25)
			nextd1c6c47681 = 0;
	} // end genNext
	function genPrevd1c6c47681()
	{
		prevd1c6c47681 = cd1c6c47681wi - 1;
		if (prevd1c6c47681 < 0)
			prevd1c6c47681 = 25 - 1;
	} // end genPrev

	var propertiesd1c6c47681 = new Array(25);
	propertiesd1c6c47681[0] = new Array('700,000','1 Bramble Way','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71128864&w=512&h=400&n=0','71128864','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128864&idxID=107','4','3.1','...');
	propertiesd1c6c47681[1] = new Array('700,000','1 Bramble Way','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71128815&w=512&h=400&n=0','71128815','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128815&idxID=107','4','3.1','...');
	propertiesd1c6c47681[2] = new Array('699,000','54 Quarry Rd.','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71103310&w=512&h=400&n=0','71103310','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71103310&idxID=107','4','2.1','...');
	propertiesd1c6c47681[3] = new Array('679,000','13 Milldam Rd','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71123060&w=512&h=400&n=0','71123060','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71123060&idxID=107','4','2.1','...');
	propertiesd1c6c47681[4] = new Array('655,000','30 Conant Street','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71096667&w=512&h=400&n=0','71096667','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71096667&idxID=107','4','3','...');
	propertiesd1c6c47681[5] = new Array('649,900','3 Torrington Lane','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71127007&w=512&h=400&n=0','71127007','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71127007&idxID=107','4','2.1','...');
	propertiesd1c6c47681[6] = new Array('649,000','1 Brookside Cir','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71012629&w=512&h=400&n=0','71012629','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71012629&idxID=107','4','4.1','...');
	propertiesd1c6c47681[7] = new Array('635,000','2 Seneca Ct','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71113550&w=512&h=400&n=0','71113550','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71113550&idxID=107','4','2.1','...');
	propertiesd1c6c47681[8] = new Array('629,000','5 Nara Ridge Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71111240&w=512&h=400&n=0','71111240','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111240&idxID=107','3','2.1','...');
	propertiesd1c6c47681[9] = new Array('629,000','6 Nara Ridge Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71111244&w=512&h=400&n=0','71111244','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111244&idxID=107','3','2.1','...');
	propertiesd1c6c47681[10] = new Array('629,000','7 Nara Ridge Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71111246&w=512&h=400&n=0','71111246','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111246&idxID=107','3','2.1','...');
	propertiesd1c6c47681[11] = new Array('629,000','8 Nara Ridge Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71111250&w=512&h=400&n=0','71111250','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111250&idxID=107','3','2.1','...');
	propertiesd1c6c47681[12] = new Array('629,000','3 Nara Ridge Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71111238&w=512&h=400&n=0','71111238','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111238&idxID=107','3','2.1','...');
	propertiesd1c6c47681[13] = new Array('629,000','1 Nara Ridge Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71111237&w=512&h=400&n=0','71111237','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111237&idxID=107','3','2.1','...');
	propertiesd1c6c47681[14] = new Array('629,000','13 Coolidge Drive','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71107688&w=512&h=400&n=0','71107688','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71107688&idxID=107','4','2.1','...');
	propertiesd1c6c47681[15] = new Array('618,000','45 Robbins St','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71100101&w=512&h=400&n=0','71100101','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71100101&idxID=107','4','3','...');
	propertiesd1c6c47681[16] = new Array('609,900','7 Musket Drive','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71128400&w=512&h=400&n=0','71128400','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128400&idxID=107','4','2.1','...');
	propertiesd1c6c47681[17] = new Array('600,000','4 Blue Heron Way','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71118614&w=512&h=400&n=0','71118614','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71118614&idxID=107','3','2.1','...');
	propertiesd1c6c47681[18] = new Array('600,000','4 Blue Heron Way','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71117991&w=512&h=400&n=0','71117991','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71117991&idxID=107','3','2.1','...');
	propertiesd1c6c47681[19] = new Array('599,900','198 High St','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71130834&w=512&h=400&n=0','71130834','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130834&idxID=107','4','2.1','...');
	propertiesd1c6c47681[20] = new Array('599,800','36 Flint Rd','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71128535&w=512&h=400&n=0','71128535','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128535&idxID=107','4','2.1','...');
	propertiesd1c6c47681[21] = new Array('599,000','128 Pope Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71047397&w=512&h=400&n=0','71047397','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71047397&idxID=107','4','2','...');
	propertiesd1c6c47681[22] = new Array('599,000','30 Fort Pond Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71129879&w=512&h=400&n=0','71129879','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71129879&idxID=107','3','2','...');
	propertiesd1c6c47681[23] = new Array('599,000','159 Prospect Street','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71049070&w=512&h=400&n=0','71049070','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71049070&idxID=107','3','2.1','...');
	propertiesd1c6c47681[24] = new Array('599,000','9 Madison Lane','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71049917&w=512&h=400&n=0','71049917','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71049917&idxID=107','4','2.1','...');
	var urlVard1c6c47681;
	var preLoadd1c6c47681 = new Image();
	preLoadd1c6c47681.src = propertiesd1c6c47681[cd1c6c47681wi][3];
	onLoad = playd1c6c47681();
