	// 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 timef73a9eb49bout = 9000;
	var cf73a9eb49bwi = 0;
	
	// if73a9eb49bsf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var if73a9eb49bsf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapf73a9eb49bfade setup function
	function swapf73a9eb49bfade()
	{
		//if the timer is not already going
		if(if73a9eb49bsf.clock == null)
		{
			//copy the image object 
			if73a9eb49bsf.obj = arguments[0];
			
			//copy the image src argument 
			if73a9eb49bsf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof if73a9eb49bsf.obj.style.opacity != 'undefined')
			{
				if73a9eb49bsf.type = 'w3c';
			}
			else if(typeof if73a9eb49bsf.obj.style.MozOpacity != 'undefined')
			{
				if73a9eb49bsf.type = 'moz';
			}
			else if(typeof if73a9eb49bsf.obj.style.KhtmlOpacity != 'undefined')
			{
				if73a9eb49bsf.type = 'khtml';
			}
			else if(typeof if73a9eb49bsf.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
				if73a9eb49bsf.type = (if73a9eb49bsf.obj.filters.length > 0 && typeof if73a9eb49bsf.obj.filters.alpha == 'object' && typeof if73a9eb49bsf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				if73a9eb49bsf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				if73a9eb49bsf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(if73a9eb49bsf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapf73a9eb49bfade is two distinct transitions
				if73a9eb49bsf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				if73a9eb49bsf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				if73a9eb49bsf.clock = setInterval('if73a9eb49bsf.swapf73a9eb49bfade()', if73a9eb49bsf.length/if73a9eb49bsf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				if73a9eb49bsf.obj.src = if73a9eb49bsf.src;
			}
			
		}
	};
	
	
	//swapf73a9eb49bfade timer function
	if73a9eb49bsf.swapf73a9eb49bfade = function()
	{
		//increase or reduce the counter on an exponential scale
		if73a9eb49bsf.count = (if73a9eb49bsf.fade) ? if73a9eb49bsf.count * 0.9 : (if73a9eb49bsf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(if73a9eb49bsf.count < (1 / if73a9eb49bsf.resolution))
		{
			//clear the timer
			clearInterval(if73a9eb49bsf.clock);
			if73a9eb49bsf.clock = null;
	
			//do the image swap
			if73a9eb49bsf.obj.src = if73a9eb49bsf.src;
	
			//reverse the fade direction flag
			if73a9eb49bsf.fade = false;
			
			//restart the timer
			if73a9eb49bsf.clock = setInterval('if73a9eb49bsf.swapf73a9eb49bfade()', if73a9eb49bsf.length/if73a9eb49bsf.resolution);
	
		}
		
		//if the counter has reached the top
		if(if73a9eb49bsf.count > (1 - (1 / if73a9eb49bsf.resolution)))
		{
			//clear the timer
			clearInterval(if73a9eb49bsf.clock);
			if73a9eb49bsf.clock = null;
	
			//reset the fade direction flag
			if73a9eb49bsf.fade = true;
			
			//reset the counter
			if73a9eb49bsf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(if73a9eb49bsf.type)
		{
			case 'ie' :
				if73a9eb49bsf.obj.filters.alpha.opacity = if73a9eb49bsf.count * 100;
				break;
				
			case 'khtml' :
				if73a9eb49bsf.obj.style.KhtmlOpacity = if73a9eb49bsf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				if73a9eb49bsf.obj.style.MozOpacity = (if73a9eb49bsf.count == 1 ? 0.9999999 : if73a9eb49bsf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				if73a9eb49bsf.obj.style.opacity = (if73a9eb49bsf.count == 1 ? 0.9999999 : if73a9eb49bsf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-f73a9eb49b-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-f73a9eb49b-image { width: 125px; height: 117px;  }');
	document.writeln('#IDX-f73a9eb49b-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextf73a9eb49b = 1;
	prevf73a9eb49b = 25 - 1;

	document.writeln('<div id="IDX-f73a9eb49b-slideshow">');
	document.writeln('<div id="IDX-f73a9eb49b-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-f73a9eb49b-ssImageURL" class="IDX-f73a9eb49b-ssLinkText"><img id="IDX-f73a9eb49b-ssImage" name="f73a9eb49b-ssImage" alt="Slideshow image" border="0"  class="IDX-f73a9eb49b-image" src="http://media.mlspin.com/photo.aspx?mls=71062122&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-f73a9eb49b-priceLine"></div>');
	document.writeln('<div id="IDX-f73a9eb49b-addressLine"></div>');
	document.writeln('<div id="IDX-f73a9eb49b-cszLine"></div>');
	document.writeln('<div id="IDX-f73a9eb49b-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-f73a9eb49b-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-f73a9eb49b-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playf73a9eb49b()
	{
		
		
		urlVarf73a9eb49b = '<a href="'+propertiesf73a9eb49b[cf73a9eb49bwi][6]+'" class="IDX-f73a9eb49b-ssLinkText">';
		swapf73a9eb49bfade(document.getElementById('IDX-f73a9eb49b-ssImage'), preLoadf73a9eb49b.src, '1', ' ');
		document.getElementById('IDX-f73a9eb49b-ssImageURL').href = propertiesf73a9eb49b[cf73a9eb49bwi][6];
		document.getElementById('IDX-f73a9eb49b-priceLine').innerHTML = urlVarf73a9eb49b+'$'+propertiesf73a9eb49b[cf73a9eb49bwi][0]+'</a>';
		document.getElementById('IDX-f73a9eb49b-addressLine').innerHTML =  urlVarf73a9eb49b+propertiesf73a9eb49b[cf73a9eb49bwi][1]+'</a>';
		document.getElementById('IDX-f73a9eb49b-cszLine').innerHTML = urlVarf73a9eb49b+propertiesf73a9eb49b[cf73a9eb49bwi][2]+'</a>';
		document.getElementById('IDX-f73a9eb49b-bedLine').innerHTML = urlVarf73a9eb49b+'Beds: '+propertiesf73a9eb49b[cf73a9eb49bwi][7]+'</a>';
		document.getElementById('IDX-f73a9eb49b-bathLine').innerHTML = urlVarf73a9eb49b+'Baths: '+propertiesf73a9eb49b[cf73a9eb49bwi][8]+'</a>';
		document.getElementById('IDX-f73a9eb49b-remarkLine').innerHTML = urlVarf73a9eb49b+propertiesf73a9eb49b[cf73a9eb49bwi][9]+'</a>';
		
		preLoadf73a9eb49b = new Image();
		preLoadf73a9eb49b.src = propertiesf73a9eb49b[nextf73a9eb49b][3];
		
		updatef73a9eb49b();
		
		cf73a9eb49b = setTimeout('playf73a9eb49b()', timef73a9eb49bout);	
		
		
	} // end play()
	function updatef73a9eb49b()
	{		
		cf73a9eb49bwi = nextf73a9eb49b;		
		genNextf73a9eb49b();
		genPrevf73a9eb49b();
		
	}
	function genNextf73a9eb49b()
	{
		nextf73a9eb49b = cf73a9eb49bwi + 1;
		if (nextf73a9eb49b >= 25)
			nextf73a9eb49b = 0;
	} // end genNext
	function genPrevf73a9eb49b()
	{
		prevf73a9eb49b = cf73a9eb49bwi - 1;
		if (prevf73a9eb49b < 0)
			prevf73a9eb49b = 25 - 1;
	} // end genPrev

	var propertiesf73a9eb49b = new Array(25);
	propertiesf73a9eb49b[0] = new Array('259,000','314 Bedford St','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71062122&w=512&h=400&n=0','71062122','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71062122&idxID=107','2','1.1','...');
	propertiesf73a9eb49b[1] = new Array('279,714','1475 Massachusetts Ave','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71115292&w=512&h=400&n=0','71115292','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71115292&idxID=107','2','1.1','...');
	propertiesf73a9eb49b[2] = new Array('319,900','420 Mass','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71097629&w=512&h=400&n=0','71097629','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71097629&idxID=107','2','1','...');
	propertiesf73a9eb49b[3] = new Array('325,000','314 Bedford Street','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71096147&w=512&h=400&n=0','71096147','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71096147&idxID=107','2','1.1','...');
	propertiesf73a9eb49b[4] = new Array('329,900','54 Emerson Gardens','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71106625&w=512&h=400&n=0','71106625','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106625&idxID=107','2','1.1','...');
	propertiesf73a9eb49b[5] = new Array('329,900','14 KING','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71090335&w=512&h=400&n=0','71090335','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71090335&idxID=107','2','1','...');
	propertiesf73a9eb49b[6] = new Array('346,400','6 April Ln','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71116338&w=512&h=400&n=0','71116338','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71116338&idxID=107','2','2','...');
	propertiesf73a9eb49b[7] = new Array('349,900','521 Bedford St','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71071376&w=512&h=400&n=0','71071376','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71071376&idxID=107','2','1','...');
	propertiesf73a9eb49b[8] = new Array('349,900','237 Bedford Street','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71035554&w=512&h=400&n=0','71035554','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71035554&idxID=107','2','1','...');
	propertiesf73a9eb49b[9] = new Array('350,000','48 Valley Rd.','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71119272&w=512&h=400&n=0','71119272','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71119272&idxID=107','2','1','...');
	propertiesf73a9eb49b[10] = new Array('355,000','35 Drummer Boy Way','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71076351&w=512&h=400&n=0','71076351','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71076351&idxID=107','2','1.1','...');
	propertiesf73a9eb49b[11] = new Array('355,000','79 REED STREET','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71116337&w=512&h=400&n=0','71116337','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71116337&idxID=107','3','1.1','...');
	propertiesf73a9eb49b[12] = new Array('385,000','42 Fifer Lane','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71039965&w=512&h=400&n=0','71039965','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71039965&idxID=107','2','2','...');
	propertiesf73a9eb49b[13] = new Array('419,000','11 Fifer Ln','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71065669&w=512&h=400&n=0','71065669','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71065669&idxID=107','2','1.1','...');
	propertiesf73a9eb49b[14] = new Array('419,900','9 Hayes Lane','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71110121&w=512&h=400&n=0','71110121','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71110121&idxID=107','4','2','...');
	propertiesf73a9eb49b[15] = new Array('419,900','62 Oak St','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71122710&w=512&h=400&n=0','71122710','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71122710&idxID=107','3','1.1','...');
	propertiesf73a9eb49b[16] = new Array('419,900','435 Bedford Street','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71106418&w=512&h=400&n=0','71106418','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106418&idxID=107','4','1.1','...');
	propertiesf73a9eb49b[17] = new Array('420,000','129 GROVE STREET','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71114779&w=512&h=400&n=0','71114779','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71114779&idxID=107','3','1','...');
	propertiesf73a9eb49b[18] = new Array('429,000','29 Bernard Street','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71060596&w=512&h=400&n=0','71060596','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71060596&idxID=107','3','1','...');
	propertiesf73a9eb49b[19] = new Array('429,900','10 April Ln','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71118542&w=512&h=400&n=0','71118542','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71118542&idxID=107','2','1.2','...');
	propertiesf73a9eb49b[20] = new Array('439,000','83 Fifer Lane','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71087088&w=512&h=400&n=0','71087088','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71087088&idxID=107','2','2.1','...');
	propertiesf73a9eb49b[21] = new Array('449,000','27 Fifer Lane','Lexington, MA 02420 ','http://media.mlspin.com/photo.aspx?mls=71046024&w=512&h=400&n=0','71046024','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71046024&idxID=107','3','2','...');
	propertiesf73a9eb49b[22] = new Array('450,000','36 Shirley St','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71112500&w=512&h=400&n=0','71112500','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71112500&idxID=107','4','2','...');
	propertiesf73a9eb49b[23] = new Array('469,000','1 Homestead St','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71105855&w=512&h=400&n=0','71105855','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105855&idxID=107','3','1.1','...');
	propertiesf73a9eb49b[24] = new Array('469,900','8 April Ln','Lexington, MA 02421 ','http://media.mlspin.com/photo.aspx?mls=71113295&w=512&h=400&n=0','71113295','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71113295&idxID=107','2','2.1','...');
	var urlVarf73a9eb49b;
	var preLoadf73a9eb49b = new Image();
	preLoadf73a9eb49b.src = propertiesf73a9eb49b[cf73a9eb49bwi][3];
	onLoad = playf73a9eb49b();
