	// 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 time7278a83205out = 9000;
	var c7278a83205wi = 0;
	
	// i7278a83205sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i7278a83205sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap7278a83205fade setup function
	function swap7278a83205fade()
	{
		//if the timer is not already going
		if(i7278a83205sf.clock == null)
		{
			//copy the image object 
			i7278a83205sf.obj = arguments[0];
			
			//copy the image src argument 
			i7278a83205sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i7278a83205sf.obj.style.opacity != 'undefined')
			{
				i7278a83205sf.type = 'w3c';
			}
			else if(typeof i7278a83205sf.obj.style.MozOpacity != 'undefined')
			{
				i7278a83205sf.type = 'moz';
			}
			else if(typeof i7278a83205sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i7278a83205sf.type = 'khtml';
			}
			else if(typeof i7278a83205sf.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
				i7278a83205sf.type = (i7278a83205sf.obj.filters.length > 0 && typeof i7278a83205sf.obj.filters.alpha == 'object' && typeof i7278a83205sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i7278a83205sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i7278a83205sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i7278a83205sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap7278a83205fade is two distinct transitions
				i7278a83205sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i7278a83205sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i7278a83205sf.clock = setInterval('i7278a83205sf.swap7278a83205fade()', i7278a83205sf.length/i7278a83205sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i7278a83205sf.obj.src = i7278a83205sf.src;
			}
			
		}
	};
	
	
	//swap7278a83205fade timer function
	i7278a83205sf.swap7278a83205fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i7278a83205sf.count = (i7278a83205sf.fade) ? i7278a83205sf.count * 0.9 : (i7278a83205sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i7278a83205sf.count < (1 / i7278a83205sf.resolution))
		{
			//clear the timer
			clearInterval(i7278a83205sf.clock);
			i7278a83205sf.clock = null;
	
			//do the image swap
			i7278a83205sf.obj.src = i7278a83205sf.src;
	
			//reverse the fade direction flag
			i7278a83205sf.fade = false;
			
			//restart the timer
			i7278a83205sf.clock = setInterval('i7278a83205sf.swap7278a83205fade()', i7278a83205sf.length/i7278a83205sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i7278a83205sf.count > (1 - (1 / i7278a83205sf.resolution)))
		{
			//clear the timer
			clearInterval(i7278a83205sf.clock);
			i7278a83205sf.clock = null;
	
			//reset the fade direction flag
			i7278a83205sf.fade = true;
			
			//reset the counter
			i7278a83205sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i7278a83205sf.type)
		{
			case 'ie' :
				i7278a83205sf.obj.filters.alpha.opacity = i7278a83205sf.count * 100;
				break;
				
			case 'khtml' :
				i7278a83205sf.obj.style.KhtmlOpacity = i7278a83205sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i7278a83205sf.obj.style.MozOpacity = (i7278a83205sf.count == 1 ? 0.9999999 : i7278a83205sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i7278a83205sf.obj.style.opacity = (i7278a83205sf.count == 1 ? 0.9999999 : i7278a83205sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-7278a83205-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-7278a83205-image { width: 125px; height: 117px;  }');
	document.writeln('#IDX-7278a83205-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next7278a83205 = 1;
	prev7278a83205 = 25 - 1;

	document.writeln('<div id="IDX-7278a83205-slideshow">');
	document.writeln('<div id="IDX-7278a83205-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-7278a83205-ssImageURL" class="IDX-7278a83205-ssLinkText"><img id="IDX-7278a83205-ssImage" name="7278a83205-ssImage" alt="Slideshow image" border="0"  class="IDX-7278a83205-image" src="http://media.mlspin.com/photo.aspx?mls=71114905&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-7278a83205-priceLine"></div>');
	document.writeln('<div id="IDX-7278a83205-addressLine"></div>');
	document.writeln('<div id="IDX-7278a83205-cszLine"></div>');
	document.writeln('<div id="IDX-7278a83205-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-7278a83205-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-7278a83205-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play7278a83205()
	{
		
		
		urlVar7278a83205 = '<a href="'+properties7278a83205[c7278a83205wi][6]+'" class="IDX-7278a83205-ssLinkText">';
		swap7278a83205fade(document.getElementById('IDX-7278a83205-ssImage'), preLoad7278a83205.src, '1', ' ');
		document.getElementById('IDX-7278a83205-ssImageURL').href = properties7278a83205[c7278a83205wi][6];
		document.getElementById('IDX-7278a83205-priceLine').innerHTML = urlVar7278a83205+'$'+properties7278a83205[c7278a83205wi][0]+'</a>';
		document.getElementById('IDX-7278a83205-addressLine').innerHTML =  urlVar7278a83205+properties7278a83205[c7278a83205wi][1]+'</a>';
		document.getElementById('IDX-7278a83205-cszLine').innerHTML = urlVar7278a83205+properties7278a83205[c7278a83205wi][2]+'</a>';
		document.getElementById('IDX-7278a83205-bedLine').innerHTML = urlVar7278a83205+'Beds: '+properties7278a83205[c7278a83205wi][7]+'</a>';
		document.getElementById('IDX-7278a83205-bathLine').innerHTML = urlVar7278a83205+'Baths: '+properties7278a83205[c7278a83205wi][8]+'</a>';
		document.getElementById('IDX-7278a83205-remarkLine').innerHTML = urlVar7278a83205+properties7278a83205[c7278a83205wi][9]+'</a>';
		
		preLoad7278a83205 = new Image();
		preLoad7278a83205.src = properties7278a83205[next7278a83205][3];
		
		update7278a83205();
		
		c7278a83205 = setTimeout('play7278a83205()', time7278a83205out);	
		
		
	} // end play()
	function update7278a83205()
	{		
		c7278a83205wi = next7278a83205;		
		genNext7278a83205();
		genPrev7278a83205();
		
	}
	function genNext7278a83205()
	{
		next7278a83205 = c7278a83205wi + 1;
		if (next7278a83205 >= 25)
			next7278a83205 = 0;
	} // end genNext
	function genPrev7278a83205()
	{
		prev7278a83205 = c7278a83205wi - 1;
		if (prev7278a83205 < 0)
			prev7278a83205 = 25 - 1;
	} // end genPrev

	var properties7278a83205 = new Array(25);
	properties7278a83205[0] = new Array('226,900','1247 Elm Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71114905&w=512&h=400&n=0','71114905','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71114905&idxID=107','2','1.1','...');
	properties7278a83205[1] = new Array('279,000','56 White Ave','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71073895&w=512&h=400&n=0','71073895','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71073895&idxID=107','2','1','...');
	properties7278a83205[2] = new Array('279,000','56 White Ave','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71073901&w=512&h=400&n=0','71073901','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71073901&idxID=107','2','1','...');
	properties7278a83205[3] = new Array('284,000','13 Concord Greene','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71051585&w=512&h=400&n=0','71051585','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71051585&idxID=107','2','2','...');
	properties7278a83205[4] = new Array('299,000','36 Cranberry Lane','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71119309&w=512&h=400&n=0','71119309','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71119309&idxID=107','2','2','...');
	properties7278a83205[5] = new Array('299,000','78 Forest Ridge Road','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71062020&w=512&h=400&n=0','71062020','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71062020&idxID=107','1','1','...');
	properties7278a83205[6] = new Array('299,900','1251 Elm Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71114907&w=512&h=400&n=0','71114907','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71114907&idxID=107','3','2.1','...');
	properties7278a83205[7] = new Array('299,900','1243 Elm St','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71114899&w=512&h=400&n=0','71114899','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71114899&idxID=107','3','2.1','...');
	properties7278a83205[8] = new Array('310,000','7-4 Concord Greene','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71126024&w=512&h=400&n=0','71126024','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71126024&idxID=107','2','2','...');
	properties7278a83205[9] = new Array('355,000','31 Concord Greene','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71071225&w=512&h=400&n=0','71071225','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71071225&idxID=107','2','2','...');
	properties7278a83205[10] = new Array('360,000','220 Bedford St','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71036045&w=512&h=400&n=0','71036045','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71036045&idxID=107','2','2','...');
	properties7278a83205[11] = new Array('369,000','100 Keyes Rd','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71122961&w=512&h=400&n=0','71122961','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71122961&idxID=107','1','1','...');
	properties7278a83205[12] = new Array('399,000','28 Birch Dr','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71062061&w=512&h=400&n=0','71062061','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71062061&idxID=107','3','1','...');
	properties7278a83205[13] = new Array('399,000','478 Sudbury Road','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71073908&w=512&h=400&n=0','71073908','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71073908&idxID=107','3','2','...');
	properties7278a83205[14] = new Array('399,900','808 Main St','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71098158&w=512&h=400&n=0','71098158','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71098158&idxID=107','2','1','...');
	properties7278a83205[15] = new Array('425,000','1253 Elm Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71114908&w=512&h=400&n=0','71114908','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71114908&idxID=107','3','2.1','...');
	properties7278a83205[16] = new Array('425,000','1255 Elm Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71114909&w=512&h=400&n=0','71114909','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71114909&idxID=107','3','2.1','...');
	properties7278a83205[17] = new Array('429,000','42 Elsinore St','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71122251&w=512&h=400&n=0','71122251','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71122251&idxID=107','3','2','...');
	properties7278a83205[18] = new Array('429,000','42 Elsinore St','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71129046&w=512&h=400&n=0','71129046','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71129046&idxID=107','3','2','...');
	properties7278a83205[19] = new Array('435,000','25 Fox Ln','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71093973&w=512&h=400&n=0','71093973','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71093973&idxID=107','3','1','...');
	properties7278a83205[20] = new Array('450,000','104 Bolton','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=70986425&w=512&h=400&n=0','70986425','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70986425&idxID=107','3','1.1','...');
	properties7278a83205[21] = new Array('469,000','231 Commonwealth Ave.','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71091060&w=512&h=400&n=0','71091060','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71091060&idxID=107','4','1.1','...');
	properties7278a83205[22] = new Array('475,000','146 Belknap Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71129649&w=512&h=400&n=0','71129649','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71129649&idxID=107','3','2','...');
	properties7278a83205[23] = new Array('475,000','146 Belknap Street','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71129660&w=512&h=400&n=0','71129660','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71129660&idxID=107','3','2','...');
	properties7278a83205[24] = new Array('475,000','82 Macarthur Road','Concord, MA 01742 ','http://media.mlspin.com/photo.aspx?mls=71095514&w=512&h=400&n=0','71095514','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71095514&idxID=107','3','1.1','...');
	var urlVar7278a83205;
	var preLoad7278a83205 = new Image();
	preLoad7278a83205.src = properties7278a83205[c7278a83205wi][3];
	onLoad = play7278a83205();
