	// 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 timee6348de58bout = 7000;
	var ce6348de58bwi = 0;
	
	// ie6348de58bsf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var ie6348de58bsf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swape6348de58bfade setup function
	function swape6348de58bfade()
	{
		//if the timer is not already going
		if(ie6348de58bsf.clock == null)
		{
			//copy the image object 
			ie6348de58bsf.obj = arguments[0];
			
			//copy the image src argument 
			ie6348de58bsf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof ie6348de58bsf.obj.style.opacity != 'undefined')
			{
				ie6348de58bsf.type = 'w3c';
			}
			else if(typeof ie6348de58bsf.obj.style.MozOpacity != 'undefined')
			{
				ie6348de58bsf.type = 'moz';
			}
			else if(typeof ie6348de58bsf.obj.style.KhtmlOpacity != 'undefined')
			{
				ie6348de58bsf.type = 'khtml';
			}
			else if(typeof ie6348de58bsf.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
				ie6348de58bsf.type = (ie6348de58bsf.obj.filters.length > 0 && typeof ie6348de58bsf.obj.filters.alpha == 'object' && typeof ie6348de58bsf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				ie6348de58bsf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				ie6348de58bsf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(ie6348de58bsf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swape6348de58bfade is two distinct transitions
				ie6348de58bsf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				ie6348de58bsf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				ie6348de58bsf.clock = setInterval('ie6348de58bsf.swape6348de58bfade()', ie6348de58bsf.length/ie6348de58bsf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				ie6348de58bsf.obj.src = ie6348de58bsf.src;
			}
			
		}
	};
	
	
	//swape6348de58bfade timer function
	ie6348de58bsf.swape6348de58bfade = function()
	{
		//increase or reduce the counter on an exponential scale
		ie6348de58bsf.count = (ie6348de58bsf.fade) ? ie6348de58bsf.count * 0.9 : (ie6348de58bsf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(ie6348de58bsf.count < (1 / ie6348de58bsf.resolution))
		{
			//clear the timer
			clearInterval(ie6348de58bsf.clock);
			ie6348de58bsf.clock = null;
	
			//do the image swap
			ie6348de58bsf.obj.src = ie6348de58bsf.src;
	
			//reverse the fade direction flag
			ie6348de58bsf.fade = false;
			
			//restart the timer
			ie6348de58bsf.clock = setInterval('ie6348de58bsf.swape6348de58bfade()', ie6348de58bsf.length/ie6348de58bsf.resolution);
	
		}
		
		//if the counter has reached the top
		if(ie6348de58bsf.count > (1 - (1 / ie6348de58bsf.resolution)))
		{
			//clear the timer
			clearInterval(ie6348de58bsf.clock);
			ie6348de58bsf.clock = null;
	
			//reset the fade direction flag
			ie6348de58bsf.fade = true;
			
			//reset the counter
			ie6348de58bsf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(ie6348de58bsf.type)
		{
			case 'ie' :
				ie6348de58bsf.obj.filters.alpha.opacity = ie6348de58bsf.count * 100;
				break;
				
			case 'khtml' :
				ie6348de58bsf.obj.style.KhtmlOpacity = ie6348de58bsf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				ie6348de58bsf.obj.style.MozOpacity = (ie6348de58bsf.count == 1 ? 0.9999999 : ie6348de58bsf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				ie6348de58bsf.obj.style.opacity = (ie6348de58bsf.count == 1 ? 0.9999999 : ie6348de58bsf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-e6348de58b-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-e6348de58b-image { width: 135px; height: 117px;  }');
	document.writeln('#IDX-e6348de58b-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nexte6348de58b = 1;
	preve6348de58b = 25 - 1;

	document.writeln('<div id="IDX-e6348de58b-slideshow">');
	document.writeln('<div id="IDX-e6348de58b-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-e6348de58b-ssImageURL" class="IDX-e6348de58b-ssLinkText"><img id="IDX-e6348de58b-ssImage" name="e6348de58b-ssImage" alt="Slideshow image" border="0"  class="IDX-e6348de58b-image" src="http://media.mlspin.com/photo.aspx?mls=70912053&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-e6348de58b-priceLine"></div>');
	document.writeln('<div id="IDX-e6348de58b-addressLine"></div>');
	document.writeln('<div id="IDX-e6348de58b-cszLine"></div>');
	document.writeln('<div id="IDX-e6348de58b-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-e6348de58b-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-e6348de58b-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playe6348de58b()
	{
		
		
		urlVare6348de58b = '<a href="'+propertiese6348de58b[ce6348de58bwi][6]+'" class="IDX-e6348de58b-ssLinkText">';
		swape6348de58bfade(document.getElementById('IDX-e6348de58b-ssImage'), preLoade6348de58b.src, '1', ' ');
		document.getElementById('IDX-e6348de58b-ssImageURL').href = propertiese6348de58b[ce6348de58bwi][6];
		document.getElementById('IDX-e6348de58b-priceLine').innerHTML = urlVare6348de58b+'$'+propertiese6348de58b[ce6348de58bwi][0]+'</a>';
		document.getElementById('IDX-e6348de58b-addressLine').innerHTML =  urlVare6348de58b+propertiese6348de58b[ce6348de58bwi][1]+'</a>';
		document.getElementById('IDX-e6348de58b-cszLine').innerHTML = urlVare6348de58b+propertiese6348de58b[ce6348de58bwi][2]+'</a>';
		document.getElementById('IDX-e6348de58b-bedLine').innerHTML = urlVare6348de58b+'Beds: '+propertiese6348de58b[ce6348de58bwi][7]+'</a>';
		document.getElementById('IDX-e6348de58b-bathLine').innerHTML = urlVare6348de58b+'Baths: '+propertiese6348de58b[ce6348de58bwi][8]+'</a>';
		document.getElementById('IDX-e6348de58b-remarkLine').innerHTML = urlVare6348de58b+propertiese6348de58b[ce6348de58bwi][9]+'</a>';
		
		preLoade6348de58b = new Image();
		preLoade6348de58b.src = propertiese6348de58b[nexte6348de58b][3];
		
		updatee6348de58b();
		
		ce6348de58b = setTimeout('playe6348de58b()', timee6348de58bout);	
		
		
	} // end play()
	function updatee6348de58b()
	{		
		ce6348de58bwi = nexte6348de58b;		
		genNexte6348de58b();
		genPreve6348de58b();
		
	}
	function genNexte6348de58b()
	{
		nexte6348de58b = ce6348de58bwi + 1;
		if (nexte6348de58b >= 25)
			nexte6348de58b = 0;
	} // end genNext
	function genPreve6348de58b()
	{
		preve6348de58b = ce6348de58bwi - 1;
		if (preve6348de58b < 0)
			preve6348de58b = 25 - 1;
	} // end genPrev

	var propertiese6348de58b = new Array(25);
	propertiese6348de58b[0] = new Array('998,000','56 Hillcrest Avenue','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=70912053&w=512&h=400&n=0','70912053','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70912053&idxID=107','4','2.1','...');
	propertiese6348de58b[1] = new Array('998,000','35 Dexter Road','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71019991&w=512&h=400&n=0','71019991','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71019991&idxID=107','4','3.1','...');
	propertiese6348de58b[2] = new Array('997,500','2 Oakmount Circle','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71070322&w=512&h=400&n=0','71070322','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71070322&idxID=107','3','2.1','...');
	propertiese6348de58b[3] = new Array('990,000','70 Hill St','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71090369&w=512&h=400&n=0','71090369','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71090369&idxID=107','4','4','...');
	propertiese6348de58b[4] = new Array('989,000','508 Lowell Street','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71130976&w=512&h=400&n=0','71130976','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130976&idxID=107','4','2.1','...');
	propertiese6348de58b[5] = new Array('969,000','20 Bartlett Avenue','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71128902&w=512&h=400&n=0','71128902','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128902&idxID=107','4','2.1','...');
	propertiese6348de58b[6] = new Array('968,000','26 Richard Road','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71128583&w=512&h=400&n=0','71128583','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128583&idxID=107','3','2.1','...');
	propertiese6348de58b[7] = new Array('939,000','11 Journey\'s End Lane','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71094171&w=512&h=400&n=0','71094171','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71094171&idxID=107','3','2.1','...');
	propertiese6348de58b[8] = new Array('939,000','11 Journey\'s End Lane','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71106040&w=512&h=400&n=0','71106040','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106040&idxID=107','3','2.1','...');
	propertiese6348de58b[9] = new Array('899,900','307 Bedford Street','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71030430&w=512&h=400&n=0','71030430','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71030430&idxID=107','5','3.1','...');
	propertiese6348de58b[10] = new Array('899,000','1073 Massachusetts Avenue','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71099171&w=512&h=400&n=0','71099171','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71099171&idxID=107','4','3.1','...');
	propertiese6348de58b[11] = new Array('899,000','34 Courtyard Place','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71018487&w=512&h=400&n=0','71018487','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71018487&idxID=107','3','2.1','...');
	propertiese6348de58b[12] = new Array('879,900','11 Blodgett Road','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71043000&w=512&h=400&n=0','71043000','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71043000&idxID=107','4','2.1','...');
	propertiese6348de58b[13] = new Array('879,000','71 Adams St','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71083074&w=512&h=400&n=0','71083074','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71083074&idxID=107','2','1.1','...');
	propertiese6348de58b[14] = new Array('875,000','90B Hancock Street','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71111616&w=512&h=400&n=0','71111616','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111616&idxID=107','3','2.1','...');
	propertiese6348de58b[15] = new Array('859,900','28 Peacock Farm Road','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71113051&w=512&h=400&n=0','71113051','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71113051&idxID=107','5','3','...');
	propertiese6348de58b[16] = new Array('849,000','18 Locke Ln','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71113303&w=512&h=400&n=0','71113303','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71113303&idxID=107','5','2.1','...');
	propertiese6348de58b[17] = new Array('848,000','41 Middle St','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71130586&w=512&h=400&n=0','71130586','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130586&idxID=107','4','2.2','...');
	propertiese6348de58b[18] = new Array('839,000','42 Courtyard Place','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71018495&w=512&h=400&n=0','71018495','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71018495&idxID=107','3','2.1','...');
	propertiese6348de58b[19] = new Array('839,000','38 Courtyard Place','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71018490&w=512&h=400&n=0','71018490','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71018490&idxID=107','3','3.1','...');
	propertiese6348de58b[20] = new Array('810,000','5 Forest Street','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71106166&w=512&h=400&n=0','71106166','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106166&idxID=107','5','2.2','...');
	propertiese6348de58b[21] = new Array('799,900','205-207 Woburn Street','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71062191&w=512&h=400&n=0','71062191','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71062191&idxID=107','4','2','...');
	propertiese6348de58b[22] = new Array('799,000','50 Waltham Street','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=70999897&w=512&h=400&n=0','70999897','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70999897&idxID=107','2','2','...');
	propertiese6348de58b[23] = new Array('789,000','98 Reed St','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71124837&w=512&h=400&n=0','71124837','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71124837&idxID=107','4','3.1','...');
	propertiese6348de58b[24] = new Array('784,000','50 Waltham Street','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71130413&w=512&h=400&n=0','71130413','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130413&idxID=107','2','2','...');
	var urlVare6348de58b;
	var preLoade6348de58b = new Image();
	preLoade6348de58b.src = propertiese6348de58b[ce6348de58bwi][3];
	onLoad = playe6348de58b();
