	// 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 timed1f73074a8out = 7000;
	var cd1f73074a8wi = 0;
	
	// id1f73074a8sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var id1f73074a8sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapd1f73074a8fade setup function
	function swapd1f73074a8fade()
	{
		//if the timer is not already going
		if(id1f73074a8sf.clock == null)
		{
			//copy the image object 
			id1f73074a8sf.obj = arguments[0];
			
			//copy the image src argument 
			id1f73074a8sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof id1f73074a8sf.obj.style.opacity != 'undefined')
			{
				id1f73074a8sf.type = 'w3c';
			}
			else if(typeof id1f73074a8sf.obj.style.MozOpacity != 'undefined')
			{
				id1f73074a8sf.type = 'moz';
			}
			else if(typeof id1f73074a8sf.obj.style.KhtmlOpacity != 'undefined')
			{
				id1f73074a8sf.type = 'khtml';
			}
			else if(typeof id1f73074a8sf.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
				id1f73074a8sf.type = (id1f73074a8sf.obj.filters.length > 0 && typeof id1f73074a8sf.obj.filters.alpha == 'object' && typeof id1f73074a8sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				id1f73074a8sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				id1f73074a8sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(id1f73074a8sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapd1f73074a8fade is two distinct transitions
				id1f73074a8sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				id1f73074a8sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				id1f73074a8sf.clock = setInterval('id1f73074a8sf.swapd1f73074a8fade()', id1f73074a8sf.length/id1f73074a8sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				id1f73074a8sf.obj.src = id1f73074a8sf.src;
			}
			
		}
	};
	
	
	//swapd1f73074a8fade timer function
	id1f73074a8sf.swapd1f73074a8fade = function()
	{
		//increase or reduce the counter on an exponential scale
		id1f73074a8sf.count = (id1f73074a8sf.fade) ? id1f73074a8sf.count * 0.9 : (id1f73074a8sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(id1f73074a8sf.count < (1 / id1f73074a8sf.resolution))
		{
			//clear the timer
			clearInterval(id1f73074a8sf.clock);
			id1f73074a8sf.clock = null;
	
			//do the image swap
			id1f73074a8sf.obj.src = id1f73074a8sf.src;
	
			//reverse the fade direction flag
			id1f73074a8sf.fade = false;
			
			//restart the timer
			id1f73074a8sf.clock = setInterval('id1f73074a8sf.swapd1f73074a8fade()', id1f73074a8sf.length/id1f73074a8sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(id1f73074a8sf.count > (1 - (1 / id1f73074a8sf.resolution)))
		{
			//clear the timer
			clearInterval(id1f73074a8sf.clock);
			id1f73074a8sf.clock = null;
	
			//reset the fade direction flag
			id1f73074a8sf.fade = true;
			
			//reset the counter
			id1f73074a8sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(id1f73074a8sf.type)
		{
			case 'ie' :
				id1f73074a8sf.obj.filters.alpha.opacity = id1f73074a8sf.count * 100;
				break;
				
			case 'khtml' :
				id1f73074a8sf.obj.style.KhtmlOpacity = id1f73074a8sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				id1f73074a8sf.obj.style.MozOpacity = (id1f73074a8sf.count == 1 ? 0.9999999 : id1f73074a8sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				id1f73074a8sf.obj.style.opacity = (id1f73074a8sf.count == 1 ? 0.9999999 : id1f73074a8sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-d1f73074a8-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-d1f73074a8-image { width: 135px; height: 117px;  }');
	document.writeln('#IDX-d1f73074a8-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextd1f73074a8 = 1;
	prevd1f73074a8 = 23 - 1;

	document.writeln('<div id="IDX-d1f73074a8-slideshow">');
	document.writeln('<div id="IDX-d1f73074a8-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-d1f73074a8-ssImageURL" class="IDX-d1f73074a8-ssLinkText"><img id="IDX-d1f73074a8-ssImage" name="d1f73074a8-ssImage" alt="Slideshow image" border="0"  class="IDX-d1f73074a8-image" src="http://media.mlspin.com/photo.aspx?mls=71130708&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-d1f73074a8-priceLine"></div>');
	document.writeln('<div id="IDX-d1f73074a8-addressLine"></div>');
	document.writeln('<div id="IDX-d1f73074a8-cszLine"></div>');
	document.writeln('<div id="IDX-d1f73074a8-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-d1f73074a8-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-d1f73074a8-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playd1f73074a8()
	{
		
		
		urlVard1f73074a8 = '<a href="'+propertiesd1f73074a8[cd1f73074a8wi][6]+'" class="IDX-d1f73074a8-ssLinkText">';
		swapd1f73074a8fade(document.getElementById('IDX-d1f73074a8-ssImage'), preLoadd1f73074a8.src, '1', ' ');
		document.getElementById('IDX-d1f73074a8-ssImageURL').href = propertiesd1f73074a8[cd1f73074a8wi][6];
		document.getElementById('IDX-d1f73074a8-priceLine').innerHTML = urlVard1f73074a8+'$'+propertiesd1f73074a8[cd1f73074a8wi][0]+'</a>';
		document.getElementById('IDX-d1f73074a8-addressLine').innerHTML =  urlVard1f73074a8+propertiesd1f73074a8[cd1f73074a8wi][1]+'</a>';
		document.getElementById('IDX-d1f73074a8-cszLine').innerHTML = urlVard1f73074a8+propertiesd1f73074a8[cd1f73074a8wi][2]+'</a>';
		document.getElementById('IDX-d1f73074a8-bedLine').innerHTML = urlVard1f73074a8+'Beds: '+propertiesd1f73074a8[cd1f73074a8wi][7]+'</a>';
		document.getElementById('IDX-d1f73074a8-bathLine').innerHTML = urlVard1f73074a8+'Baths: '+propertiesd1f73074a8[cd1f73074a8wi][8]+'</a>';
		document.getElementById('IDX-d1f73074a8-remarkLine').innerHTML = urlVard1f73074a8+propertiesd1f73074a8[cd1f73074a8wi][9]+'</a>';
		
		preLoadd1f73074a8 = new Image();
		preLoadd1f73074a8.src = propertiesd1f73074a8[nextd1f73074a8][3];
		
		updated1f73074a8();
		
		cd1f73074a8 = setTimeout('playd1f73074a8()', timed1f73074a8out);	
		
		
	} // end play()
	function updated1f73074a8()
	{		
		cd1f73074a8wi = nextd1f73074a8;		
		genNextd1f73074a8();
		genPrevd1f73074a8();
		
	}
	function genNextd1f73074a8()
	{
		nextd1f73074a8 = cd1f73074a8wi + 1;
		if (nextd1f73074a8 >= 23)
			nextd1f73074a8 = 0;
	} // end genNext
	function genPrevd1f73074a8()
	{
		prevd1f73074a8 = cd1f73074a8wi - 1;
		if (prevd1f73074a8 < 0)
			prevd1f73074a8 = 23 - 1;
	} // end genPrev

	var propertiesd1f73074a8 = new Array(23);
	propertiesd1f73074a8[0] = new Array('879,000','250 Bacon St.','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71130708&w=512&h=400&n=0','71130708','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130708&idxID=107','4','3.1','...');
	propertiesd1f73074a8[1] = new Array('699,000','160 Bishops Forest Drive','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71096879&w=512&h=400&n=0','71096879','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71096879&idxID=107','3','3.1','...');
	propertiesd1f73074a8[2] = new Array('649,900','41 WETHERBEE ROAD','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71130525&w=512&h=400&n=0','71130525','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130525&idxID=107','3','1.1','...');
	propertiesd1f73074a8[3] = new Array('629,900','69 DALE STREET','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71130619&w=512&h=400&n=0','71130619','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130619&idxID=107','4','2','...');
	propertiesd1f73074a8[4] = new Array('619,900','18 MELODY LANE','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71105490&w=512&h=400&n=0','71105490','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105490&idxID=107','3','2','...');
	propertiesd1f73074a8[5] = new Array('599,000','5 Bishops Forest Drive','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71109011&w=512&h=400&n=0','71109011','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71109011&idxID=107','3','3.1','...');
	propertiesd1f73074a8[6] = new Array('589,900','55 MARGUERITE AVENUE','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71067810&w=512&h=400&n=0','71067810','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71067810&idxID=107','4','2.1','...');
	propertiesd1f73074a8[7] = new Array('589,000','9 Bishops Forest','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71094880&w=512&h=400&n=0','71094880','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71094880&idxID=107','3','2.1','...');
	propertiesd1f73074a8[8] = new Array('579,900','755 LINCOLN STREET','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71097386&w=512&h=400&n=0','71097386','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71097386&idxID=107','4','3','...');
	propertiesd1f73074a8[9] = new Array('575,000','15 Kings Way','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71100936&w=512&h=400&n=0','71100936','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71100936&idxID=107','3','2.2','...');
	propertiesd1f73074a8[10] = new Array('574,900','271 Florence Rd','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71131198&w=512&h=400&n=0','71131198','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71131198&idxID=107','4','2.1','...');
	propertiesd1f73074a8[11] = new Array('559,900','426 Main Street','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71045591&w=512&h=400&n=0','71045591','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71045591&idxID=107','3','2.1','...');
	propertiesd1f73074a8[12] = new Array('554,900','426 Main Street','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71053591&w=512&h=400&n=0','71053591','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71053591&idxID=107','3','2.1','...');
	propertiesd1f73074a8[13] = new Array('549,900','501 LEXINGTON STREET','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71082232&w=512&h=400&n=0','71082232','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71082232&idxID=107','2','3','...');
	propertiesd1f73074a8[14] = new Array('549,000','118 Winter Street','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71098055&w=512&h=400&n=0','71098055','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71098055&idxID=107','3','2','...');
	propertiesd1f73074a8[15] = new Array('549,000','137 Bishops Forest Dr','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71101159&w=512&h=400&n=0','71101159','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71101159&idxID=107','2','3.1','...');
	propertiesd1f73074a8[16] = new Array('540,000','277 Bishops Forest Dr','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71127422&w=512&h=400&n=0','71127422','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71127422&idxID=107','2','3.1','...');
	propertiesd1f73074a8[17] = new Array('539,900','5 Bowdoin Avenue','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71115615&w=512&h=400&n=0','71115615','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71115615&idxID=107','3','2.1','...');
	propertiesd1f73074a8[18] = new Array('538,500','66 Bishops Forest Drive','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71061674&w=512&h=400&n=0','71061674','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71061674&idxID=107','3','3.1','...');
	propertiesd1f73074a8[19] = new Array('529,900','67 TRIMOUNT AVENUE','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71116441&w=512&h=400&n=0','71116441','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71116441&idxID=107','3','3.1','...');
	propertiesd1f73074a8[20] = new Array('529,000','15 Kings Way','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71113841&w=512&h=400&n=0','71113841','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71113841&idxID=107','2','2.1','...');
	propertiesd1f73074a8[21] = new Array('529,000','124 Bishops Forest Dr','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71122647&w=512&h=400&n=0','71122647','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71122647&idxID=107','2','3.1','...');
	propertiesd1f73074a8[22] = new Array('509,900','473 Lexington St','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71090047&w=512&h=400&n=0','71090047','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71090047&idxID=107','4','2.1','...');
	var urlVard1f73074a8;
	var preLoadd1f73074a8 = new Image();
	preLoadd1f73074a8.src = propertiesd1f73074a8[cd1f73074a8wi][3];
	onLoad = playd1f73074a8();
