	// 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 time767d248ca9out = 9000;
	var c767d248ca9wi = 0;
	
	// i767d248ca9sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i767d248ca9sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap767d248ca9fade setup function
	function swap767d248ca9fade()
	{
		//if the timer is not already going
		if(i767d248ca9sf.clock == null)
		{
			//copy the image object 
			i767d248ca9sf.obj = arguments[0];
			
			//copy the image src argument 
			i767d248ca9sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i767d248ca9sf.obj.style.opacity != 'undefined')
			{
				i767d248ca9sf.type = 'w3c';
			}
			else if(typeof i767d248ca9sf.obj.style.MozOpacity != 'undefined')
			{
				i767d248ca9sf.type = 'moz';
			}
			else if(typeof i767d248ca9sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i767d248ca9sf.type = 'khtml';
			}
			else if(typeof i767d248ca9sf.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
				i767d248ca9sf.type = (i767d248ca9sf.obj.filters.length > 0 && typeof i767d248ca9sf.obj.filters.alpha == 'object' && typeof i767d248ca9sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i767d248ca9sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i767d248ca9sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i767d248ca9sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap767d248ca9fade is two distinct transitions
				i767d248ca9sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i767d248ca9sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i767d248ca9sf.clock = setInterval('i767d248ca9sf.swap767d248ca9fade()', i767d248ca9sf.length/i767d248ca9sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i767d248ca9sf.obj.src = i767d248ca9sf.src;
			}
			
		}
	};
	
	
	//swap767d248ca9fade timer function
	i767d248ca9sf.swap767d248ca9fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i767d248ca9sf.count = (i767d248ca9sf.fade) ? i767d248ca9sf.count * 0.9 : (i767d248ca9sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i767d248ca9sf.count < (1 / i767d248ca9sf.resolution))
		{
			//clear the timer
			clearInterval(i767d248ca9sf.clock);
			i767d248ca9sf.clock = null;
	
			//do the image swap
			i767d248ca9sf.obj.src = i767d248ca9sf.src;
	
			//reverse the fade direction flag
			i767d248ca9sf.fade = false;
			
			//restart the timer
			i767d248ca9sf.clock = setInterval('i767d248ca9sf.swap767d248ca9fade()', i767d248ca9sf.length/i767d248ca9sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i767d248ca9sf.count > (1 - (1 / i767d248ca9sf.resolution)))
		{
			//clear the timer
			clearInterval(i767d248ca9sf.clock);
			i767d248ca9sf.clock = null;
	
			//reset the fade direction flag
			i767d248ca9sf.fade = true;
			
			//reset the counter
			i767d248ca9sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i767d248ca9sf.type)
		{
			case 'ie' :
				i767d248ca9sf.obj.filters.alpha.opacity = i767d248ca9sf.count * 100;
				break;
				
			case 'khtml' :
				i767d248ca9sf.obj.style.KhtmlOpacity = i767d248ca9sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i767d248ca9sf.obj.style.MozOpacity = (i767d248ca9sf.count == 1 ? 0.9999999 : i767d248ca9sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i767d248ca9sf.obj.style.opacity = (i767d248ca9sf.count == 1 ? 0.9999999 : i767d248ca9sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-767d248ca9-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-767d248ca9-image { width: 125px; height: 117px;  }');
	document.writeln('#IDX-767d248ca9-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next767d248ca9 = 1;
	prev767d248ca9 = 25 - 1;

	document.writeln('<div id="IDX-767d248ca9-slideshow">');
	document.writeln('<div id="IDX-767d248ca9-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-767d248ca9-ssImageURL" class="IDX-767d248ca9-ssLinkText"><img id="IDX-767d248ca9-ssImage" name="767d248ca9-ssImage" alt="Slideshow image" border="0"  class="IDX-767d248ca9-image" src="http://media.mlspin.com/photo.aspx?mls=71120132&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-767d248ca9-priceLine"></div>');
	document.writeln('<div id="IDX-767d248ca9-addressLine"></div>');
	document.writeln('<div id="IDX-767d248ca9-cszLine"></div>');
	document.writeln('<div id="IDX-767d248ca9-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-767d248ca9-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-767d248ca9-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play767d248ca9()
	{
		
		
		urlVar767d248ca9 = '<a href="'+properties767d248ca9[c767d248ca9wi][6]+'" class="IDX-767d248ca9-ssLinkText">';
		swap767d248ca9fade(document.getElementById('IDX-767d248ca9-ssImage'), preLoad767d248ca9.src, '1', ' ');
		document.getElementById('IDX-767d248ca9-ssImageURL').href = properties767d248ca9[c767d248ca9wi][6];
		document.getElementById('IDX-767d248ca9-priceLine').innerHTML = urlVar767d248ca9+'$'+properties767d248ca9[c767d248ca9wi][0]+'</a>';
		document.getElementById('IDX-767d248ca9-addressLine').innerHTML =  urlVar767d248ca9+properties767d248ca9[c767d248ca9wi][1]+'</a>';
		document.getElementById('IDX-767d248ca9-cszLine').innerHTML = urlVar767d248ca9+properties767d248ca9[c767d248ca9wi][2]+'</a>';
		document.getElementById('IDX-767d248ca9-bedLine').innerHTML = urlVar767d248ca9+'Beds: '+properties767d248ca9[c767d248ca9wi][7]+'</a>';
		document.getElementById('IDX-767d248ca9-bathLine').innerHTML = urlVar767d248ca9+'Baths: '+properties767d248ca9[c767d248ca9wi][8]+'</a>';
		document.getElementById('IDX-767d248ca9-remarkLine').innerHTML = urlVar767d248ca9+properties767d248ca9[c767d248ca9wi][9]+'</a>';
		
		preLoad767d248ca9 = new Image();
		preLoad767d248ca9.src = properties767d248ca9[next767d248ca9][3];
		
		update767d248ca9();
		
		c767d248ca9 = setTimeout('play767d248ca9()', time767d248ca9out);	
		
		
	} // end play()
	function update767d248ca9()
	{		
		c767d248ca9wi = next767d248ca9;		
		genNext767d248ca9();
		genPrev767d248ca9();
		
	}
	function genNext767d248ca9()
	{
		next767d248ca9 = c767d248ca9wi + 1;
		if (next767d248ca9 >= 25)
			next767d248ca9 = 0;
	} // end genNext
	function genPrev767d248ca9()
	{
		prev767d248ca9 = c767d248ca9wi - 1;
		if (prev767d248ca9 < 0)
			prev767d248ca9 = 25 - 1;
	} // end genPrev

	var properties767d248ca9 = new Array(25);
	properties767d248ca9[0] = new Array('104,900','187 Great Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71120132&w=512&h=400&n=0','71120132','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71120132&idxID=107','1','1','...');
	properties767d248ca9[1] = new Array('109,900','9 Davis Rd','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71119571&w=512&h=400&n=0','71119571','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71119571&idxID=107','1','1','...');
	properties767d248ca9[2] = new Array('109,900','48 Great Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71064771&w=512&h=400&n=0','71064771','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71064771&idxID=107','2','1','...');
	properties767d248ca9[3] = new Array('112,500','9 DAVIS ROAD','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71132021&w=512&h=400&n=0','71132021','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71132021&idxID=107','1','1','...');
	properties767d248ca9[4] = new Array('117,999','384 Great Rd','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71097139&w=512&h=400&n=0','71097139','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71097139&idxID=107','1','1','...');
	properties767d248ca9[5] = new Array('118,800','420 Great Rd','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71081473&w=512&h=400&n=0','71081473','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71081473&idxID=107','1','1','...');
	properties767d248ca9[6] = new Array('119,900','382 Great Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71047598&w=512&h=400&n=0','71047598','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71047598&idxID=107','1','1','...');
	properties767d248ca9[7] = new Array('119,900','187 Great Road,','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71044038&w=512&h=400&n=0','71044038','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71044038&idxID=107','1','1','...');
	properties767d248ca9[8] = new Array('122,000','390A Great Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71079982&w=512&h=400&n=0','71079982','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71079982&idxID=107','1','1','...');
	properties767d248ca9[9] = new Array('123,000','380 A Great Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71077846&w=512&h=400&n=0','71077846','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71077846&idxID=107','1','1','...');
	properties767d248ca9[10] = new Array('124,900','2 Town House Lane','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71119020&w=512&h=400&n=0','71119020','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71119020&idxID=107','1','1','...');
	properties767d248ca9[11] = new Array('126,000','126 Parker Street','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71116357&w=512&h=400&n=0','71116357','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71116357&idxID=107','1','1','...');
	properties767d248ca9[12] = new Array('129,900','392 Great Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71105580&w=512&h=400&n=0','71105580','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105580&idxID=107','1','1','...');
	properties767d248ca9[13] = new Array('129,900','388 Great Rd','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71132122&w=512&h=400&n=0','71132122','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71132122&idxID=107','2','1','...');
	properties767d248ca9[14] = new Array('133,950','209 Great Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71040836&w=512&h=400&n=0','71040836','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71040836&idxID=107','1','1','...');
	properties767d248ca9[15] = new Array('135,000','392 B Great Rd','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71066678&w=512&h=400&n=0','71066678','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71066678&idxID=107','2','1','...');
	properties767d248ca9[16] = new Array('139,000','130 Parker St','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71029055&w=512&h=400&n=0','71029055','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71029055&idxID=107','2','1','...');
	properties767d248ca9[17] = new Array('144,900','19 Davis Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71121051&w=512&h=400&n=0','71121051','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71121051&idxID=107','2','1','...');
	properties767d248ca9[18] = new Array('154,900','130 Parker Street','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71119481&w=512&h=400&n=0','71119481','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71119481&idxID=107','2','1','...');
	properties767d248ca9[19] = new Array('157,000','10 Wampus Ave','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71097285&w=512&h=400&n=0','71097285','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71097285&idxID=107','1','1','...');
	properties767d248ca9[20] = new Array('169,900','405 Great Road','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71064286&w=512&h=400&n=0','71064286','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71064286&idxID=107','1','1','...');
	properties767d248ca9[21] = new Array('178,000','272 Main St','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71032190&w=512&h=400&n=0','71032190','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71032190&idxID=107','2','1','...');
	properties767d248ca9[22] = new Array('179,900','16 Wampus Ave','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71123189&w=512&h=400&n=0','71123189','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71123189&idxID=107','2','1','...');
	properties767d248ca9[23] = new Array('185,000','272 Main Street','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71129966&w=512&h=400&n=0','71129966','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71129966&idxID=107','2','1','...');
	properties767d248ca9[24] = new Array('188,800','2 TownHouse Ln','Acton, MA 01720 ','http://media.mlspin.com/photo.aspx?mls=71123530&w=512&h=400&n=0','71123530','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71123530&idxID=107','3','2','...');
	var urlVar767d248ca9;
	var preLoad767d248ca9 = new Image();
	preLoad767d248ca9.src = properties767d248ca9[c767d248ca9wi][3];
	onLoad = play767d248ca9();
