	// 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 timec3411f1826out = 7000;
	var cc3411f1826wi = 0;
	
	// ic3411f1826sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var ic3411f1826sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapc3411f1826fade setup function
	function swapc3411f1826fade()
	{
		//if the timer is not already going
		if(ic3411f1826sf.clock == null)
		{
			//copy the image object 
			ic3411f1826sf.obj = arguments[0];
			
			//copy the image src argument 
			ic3411f1826sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof ic3411f1826sf.obj.style.opacity != 'undefined')
			{
				ic3411f1826sf.type = 'w3c';
			}
			else if(typeof ic3411f1826sf.obj.style.MozOpacity != 'undefined')
			{
				ic3411f1826sf.type = 'moz';
			}
			else if(typeof ic3411f1826sf.obj.style.KhtmlOpacity != 'undefined')
			{
				ic3411f1826sf.type = 'khtml';
			}
			else if(typeof ic3411f1826sf.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
				ic3411f1826sf.type = (ic3411f1826sf.obj.filters.length > 0 && typeof ic3411f1826sf.obj.filters.alpha == 'object' && typeof ic3411f1826sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				ic3411f1826sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				ic3411f1826sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(ic3411f1826sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapc3411f1826fade is two distinct transitions
				ic3411f1826sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				ic3411f1826sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				ic3411f1826sf.clock = setInterval('ic3411f1826sf.swapc3411f1826fade()', ic3411f1826sf.length/ic3411f1826sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				ic3411f1826sf.obj.src = ic3411f1826sf.src;
			}
			
		}
	};
	
	
	//swapc3411f1826fade timer function
	ic3411f1826sf.swapc3411f1826fade = function()
	{
		//increase or reduce the counter on an exponential scale
		ic3411f1826sf.count = (ic3411f1826sf.fade) ? ic3411f1826sf.count * 0.9 : (ic3411f1826sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(ic3411f1826sf.count < (1 / ic3411f1826sf.resolution))
		{
			//clear the timer
			clearInterval(ic3411f1826sf.clock);
			ic3411f1826sf.clock = null;
	
			//do the image swap
			ic3411f1826sf.obj.src = ic3411f1826sf.src;
	
			//reverse the fade direction flag
			ic3411f1826sf.fade = false;
			
			//restart the timer
			ic3411f1826sf.clock = setInterval('ic3411f1826sf.swapc3411f1826fade()', ic3411f1826sf.length/ic3411f1826sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(ic3411f1826sf.count > (1 - (1 / ic3411f1826sf.resolution)))
		{
			//clear the timer
			clearInterval(ic3411f1826sf.clock);
			ic3411f1826sf.clock = null;
	
			//reset the fade direction flag
			ic3411f1826sf.fade = true;
			
			//reset the counter
			ic3411f1826sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(ic3411f1826sf.type)
		{
			case 'ie' :
				ic3411f1826sf.obj.filters.alpha.opacity = ic3411f1826sf.count * 100;
				break;
				
			case 'khtml' :
				ic3411f1826sf.obj.style.KhtmlOpacity = ic3411f1826sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				ic3411f1826sf.obj.style.MozOpacity = (ic3411f1826sf.count == 1 ? 0.9999999 : ic3411f1826sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				ic3411f1826sf.obj.style.opacity = (ic3411f1826sf.count == 1 ? 0.9999999 : ic3411f1826sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-c3411f1826-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-c3411f1826-image { width: 135px; height: 117px;  }');
	document.writeln('#IDX-c3411f1826-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextc3411f1826 = 1;
	prevc3411f1826 = 25 - 1;

	document.writeln('<div id="IDX-c3411f1826-slideshow">');
	document.writeln('<div id="IDX-c3411f1826-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-c3411f1826-ssImageURL" class="IDX-c3411f1826-ssLinkText"><img id="IDX-c3411f1826-ssImage" name="c3411f1826-ssImage" alt="Slideshow image" border="0"  class="IDX-c3411f1826-image" src="http://media.mlspin.com/photo.aspx?mls=71127591&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-c3411f1826-priceLine"></div>');
	document.writeln('<div id="IDX-c3411f1826-addressLine"></div>');
	document.writeln('<div id="IDX-c3411f1826-cszLine"></div>');
	document.writeln('<div id="IDX-c3411f1826-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-c3411f1826-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-c3411f1826-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playc3411f1826()
	{
		
		
		urlVarc3411f1826 = '<a href="'+propertiesc3411f1826[cc3411f1826wi][6]+'" class="IDX-c3411f1826-ssLinkText">';
		swapc3411f1826fade(document.getElementById('IDX-c3411f1826-ssImage'), preLoadc3411f1826.src, '1', ' ');
		document.getElementById('IDX-c3411f1826-ssImageURL').href = propertiesc3411f1826[cc3411f1826wi][6];
		document.getElementById('IDX-c3411f1826-priceLine').innerHTML = urlVarc3411f1826+'$'+propertiesc3411f1826[cc3411f1826wi][0]+'</a>';
		document.getElementById('IDX-c3411f1826-addressLine').innerHTML =  urlVarc3411f1826+propertiesc3411f1826[cc3411f1826wi][1]+'</a>';
		document.getElementById('IDX-c3411f1826-cszLine').innerHTML = urlVarc3411f1826+propertiesc3411f1826[cc3411f1826wi][2]+'</a>';
		document.getElementById('IDX-c3411f1826-bedLine').innerHTML = urlVarc3411f1826+'Beds: '+propertiesc3411f1826[cc3411f1826wi][7]+'</a>';
		document.getElementById('IDX-c3411f1826-bathLine').innerHTML = urlVarc3411f1826+'Baths: '+propertiesc3411f1826[cc3411f1826wi][8]+'</a>';
		document.getElementById('IDX-c3411f1826-remarkLine').innerHTML = urlVarc3411f1826+propertiesc3411f1826[cc3411f1826wi][9]+'</a>';
		
		preLoadc3411f1826 = new Image();
		preLoadc3411f1826.src = propertiesc3411f1826[nextc3411f1826][3];
		
		updatec3411f1826();
		
		cc3411f1826 = setTimeout('playc3411f1826()', timec3411f1826out);	
		
		
	} // end play()
	function updatec3411f1826()
	{		
		cc3411f1826wi = nextc3411f1826;		
		genNextc3411f1826();
		genPrevc3411f1826();
		
	}
	function genNextc3411f1826()
	{
		nextc3411f1826 = cc3411f1826wi + 1;
		if (nextc3411f1826 >= 25)
			nextc3411f1826 = 0;
	} // end genNext
	function genPrevc3411f1826()
	{
		prevc3411f1826 = cc3411f1826wi - 1;
		if (prevc3411f1826 < 0)
			prevc3411f1826 = 25 - 1;
	} // end genPrev

	var propertiesc3411f1826 = new Array(25);
	propertiesc3411f1826[0] = new Array('998,000','45 Cressbrook','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71127591&w=512&h=400&n=0','71127591','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71127591&idxID=107','4','3.1','...');
	propertiesc3411f1826[1] = new Array('957,000','64 Stone Root Lane','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71105285&w=512&h=400&n=0','71105285','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105285&idxID=107','4','2.1','...');
	propertiesc3411f1826[2] = new Array('939,900','Lot 5 Finigan Way','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71060738&w=512&h=400&n=0','71060738','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71060738&idxID=107','4','3.1','...');
	propertiesc3411f1826[3] = new Array('936,000','315 Musketaquid Road','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71091226&w=512&h=400&n=0','71091226','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71091226&idxID=107','5','2','...');
	propertiesc3411f1826[4] = new Array('899,000','80 Stone Root Ln','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71073275&w=512&h=400&n=0','71073275','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71073275&idxID=107','4','2.1','...');
	propertiesc3411f1826[5] = new Array('899,000','8 Bartkus Farm','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71037427&w=512&h=400&n=0','71037427','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71037427&idxID=107','4','3.2','...');
	propertiesc3411f1826[6] = new Array('880,000','104A Bolton Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71060566&w=512&h=400&n=0','71060566','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71060566&idxID=107','3','2.1','...');
	propertiesc3411f1826[7] = new Array('849,000','1702 Lowell Rd','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71130879&w=512&h=400&n=0','71130879','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130879&idxID=107','5','2.1','...');
	propertiesc3411f1826[8] = new Array('849,000','29 ROLLINGWOOD LANE','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71029670&w=512&h=400&n=0','71029670','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71029670&idxID=107','4','2.1','...');
	propertiesc3411f1826[9] = new Array('845,000','925 Lowell Rd','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71083596&w=512&h=400&n=0','71083596','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71083596&idxID=107','5','4.1','...');
	propertiesc3411f1826[10] = new Array('815,000','32 Court Lane','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71042609&w=512&h=400&n=0','71042609','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71042609&idxID=107','2','2.1','...');
	propertiesc3411f1826[11] = new Array('815,000','32 Court Lane','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71026344&w=512&h=400&n=0','71026344','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71026344&idxID=107','2','2.1','...');
	propertiesc3411f1826[12] = new Array('809,000','124 Author\'s Road','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71084514&w=512&h=400&n=0','71084514','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71084514&idxID=107','4','2','...');
	propertiesc3411f1826[13] = new Array('799,000','15 Wright Farm','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71033815&w=512&h=400&n=0','71033815','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71033815&idxID=107','4','3.2','...');
	propertiesc3411f1826[14] = new Array('799,000','17 Isaac Davis Road','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=70944476&w=512&h=400&n=0','70944476','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70944476&idxID=107','4','2.1','...');
	propertiesc3411f1826[15] = new Array('799,000','15 Wright Farm','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71033827&w=512&h=400&n=0','71033827','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71033827&idxID=107','4','3.2','...');
	propertiesc3411f1826[16] = new Array('789,000','1378 Main Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71108848&w=512&h=400&n=0','71108848','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71108848&idxID=107','5','2.1','...');
	propertiesc3411f1826[17] = new Array('780,000','182 Holden Wood Rd','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71104984&w=512&h=400&n=0','71104984','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71104984&idxID=107','5','3','...');
	propertiesc3411f1826[18] = new Array('774,900','148 Hubbard St','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71099201&w=512&h=400&n=0','71099201','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71099201&idxID=107','4','3.1','...');
	propertiesc3411f1826[19] = new Array('765,000','2 Wright Farm','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71037638&w=512&h=400&n=0','71037638','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71037638&idxID=107','4','2.2','...');
	propertiesc3411f1826[20] = new Array('765,000','57 Everett Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71111544&w=512&h=400&n=0','71111544','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111544&idxID=107','4','2.1','...');
	propertiesc3411f1826[21] = new Array('765,000','2 Wright Farm','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71038543&w=512&h=400&n=0','71038543','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71038543&idxID=107','4','2.2','...');
	propertiesc3411f1826[22] = new Array('748,000','194 Cambridge Tpke','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71039473&w=512&h=400&n=0','71039473','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71039473&idxID=107','3','2.1','...');
	propertiesc3411f1826[23] = new Array('715,000','99 Tarbell Spring Rd','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71107909&w=512&h=400&n=0','71107909','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71107909&idxID=107','4','3','...');
	propertiesc3411f1826[24] = new Array('700,000','89 Lee Drive','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71125111&w=512&h=400&n=0','71125111','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71125111&idxID=107','4','2.1','...');
	var urlVarc3411f1826;
	var preLoadc3411f1826 = new Image();
	preLoadc3411f1826.src = propertiesc3411f1826[cc3411f1826wi][3];
	onLoad = playc3411f1826();
