	// 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 time6b5fd3c351out = 7000;
	var c6b5fd3c351wi = 0;
	
	// i6b5fd3c351sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i6b5fd3c351sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap6b5fd3c351fade setup function
	function swap6b5fd3c351fade()
	{
		//if the timer is not already going
		if(i6b5fd3c351sf.clock == null)
		{
			//copy the image object 
			i6b5fd3c351sf.obj = arguments[0];
			
			//copy the image src argument 
			i6b5fd3c351sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i6b5fd3c351sf.obj.style.opacity != 'undefined')
			{
				i6b5fd3c351sf.type = 'w3c';
			}
			else if(typeof i6b5fd3c351sf.obj.style.MozOpacity != 'undefined')
			{
				i6b5fd3c351sf.type = 'moz';
			}
			else if(typeof i6b5fd3c351sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i6b5fd3c351sf.type = 'khtml';
			}
			else if(typeof i6b5fd3c351sf.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
				i6b5fd3c351sf.type = (i6b5fd3c351sf.obj.filters.length > 0 && typeof i6b5fd3c351sf.obj.filters.alpha == 'object' && typeof i6b5fd3c351sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i6b5fd3c351sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i6b5fd3c351sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i6b5fd3c351sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap6b5fd3c351fade is two distinct transitions
				i6b5fd3c351sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i6b5fd3c351sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i6b5fd3c351sf.clock = setInterval('i6b5fd3c351sf.swap6b5fd3c351fade()', i6b5fd3c351sf.length/i6b5fd3c351sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i6b5fd3c351sf.obj.src = i6b5fd3c351sf.src;
			}
			
		}
	};
	
	
	//swap6b5fd3c351fade timer function
	i6b5fd3c351sf.swap6b5fd3c351fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i6b5fd3c351sf.count = (i6b5fd3c351sf.fade) ? i6b5fd3c351sf.count * 0.9 : (i6b5fd3c351sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i6b5fd3c351sf.count < (1 / i6b5fd3c351sf.resolution))
		{
			//clear the timer
			clearInterval(i6b5fd3c351sf.clock);
			i6b5fd3c351sf.clock = null;
	
			//do the image swap
			i6b5fd3c351sf.obj.src = i6b5fd3c351sf.src;
	
			//reverse the fade direction flag
			i6b5fd3c351sf.fade = false;
			
			//restart the timer
			i6b5fd3c351sf.clock = setInterval('i6b5fd3c351sf.swap6b5fd3c351fade()', i6b5fd3c351sf.length/i6b5fd3c351sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i6b5fd3c351sf.count > (1 - (1 / i6b5fd3c351sf.resolution)))
		{
			//clear the timer
			clearInterval(i6b5fd3c351sf.clock);
			i6b5fd3c351sf.clock = null;
	
			//reset the fade direction flag
			i6b5fd3c351sf.fade = true;
			
			//reset the counter
			i6b5fd3c351sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i6b5fd3c351sf.type)
		{
			case 'ie' :
				i6b5fd3c351sf.obj.filters.alpha.opacity = i6b5fd3c351sf.count * 100;
				break;
				
			case 'khtml' :
				i6b5fd3c351sf.obj.style.KhtmlOpacity = i6b5fd3c351sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i6b5fd3c351sf.obj.style.MozOpacity = (i6b5fd3c351sf.count == 1 ? 0.9999999 : i6b5fd3c351sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i6b5fd3c351sf.obj.style.opacity = (i6b5fd3c351sf.count == 1 ? 0.9999999 : i6b5fd3c351sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-6b5fd3c351-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-6b5fd3c351-image { width: 135px; height: 117px;  }');
	document.writeln('#IDX-6b5fd3c351-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next6b5fd3c351 = 1;
	prev6b5fd3c351 = 25 - 1;

	document.writeln('<div id="IDX-6b5fd3c351-slideshow">');
	document.writeln('<div id="IDX-6b5fd3c351-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-6b5fd3c351-ssImageURL" class="IDX-6b5fd3c351-ssLinkText"><img id="IDX-6b5fd3c351-ssImage" name="6b5fd3c351-ssImage" alt="Slideshow image" border="0"  class="IDX-6b5fd3c351-image" src="http://media.mlspin.com/photo.aspx?mls=71120765&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-6b5fd3c351-priceLine"></div>');
	document.writeln('<div id="IDX-6b5fd3c351-addressLine"></div>');
	document.writeln('<div id="IDX-6b5fd3c351-cszLine"></div>');
	document.writeln('<div id="IDX-6b5fd3c351-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-6b5fd3c351-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-6b5fd3c351-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play6b5fd3c351()
	{
		
		
		urlVar6b5fd3c351 = '<a href="'+properties6b5fd3c351[c6b5fd3c351wi][6]+'" class="IDX-6b5fd3c351-ssLinkText">';
		swap6b5fd3c351fade(document.getElementById('IDX-6b5fd3c351-ssImage'), preLoad6b5fd3c351.src, '1', ' ');
		document.getElementById('IDX-6b5fd3c351-ssImageURL').href = properties6b5fd3c351[c6b5fd3c351wi][6];
		document.getElementById('IDX-6b5fd3c351-priceLine').innerHTML = urlVar6b5fd3c351+'$'+properties6b5fd3c351[c6b5fd3c351wi][0]+'</a>';
		document.getElementById('IDX-6b5fd3c351-addressLine').innerHTML =  urlVar6b5fd3c351+properties6b5fd3c351[c6b5fd3c351wi][1]+'</a>';
		document.getElementById('IDX-6b5fd3c351-cszLine').innerHTML = urlVar6b5fd3c351+properties6b5fd3c351[c6b5fd3c351wi][2]+'</a>';
		document.getElementById('IDX-6b5fd3c351-bedLine').innerHTML = urlVar6b5fd3c351+'Beds: '+properties6b5fd3c351[c6b5fd3c351wi][7]+'</a>';
		document.getElementById('IDX-6b5fd3c351-bathLine').innerHTML = urlVar6b5fd3c351+'Baths: '+properties6b5fd3c351[c6b5fd3c351wi][8]+'</a>';
		document.getElementById('IDX-6b5fd3c351-remarkLine').innerHTML = urlVar6b5fd3c351+properties6b5fd3c351[c6b5fd3c351wi][9]+'</a>';
		
		preLoad6b5fd3c351 = new Image();
		preLoad6b5fd3c351.src = properties6b5fd3c351[next6b5fd3c351][3];
		
		update6b5fd3c351();
		
		c6b5fd3c351 = setTimeout('play6b5fd3c351()', time6b5fd3c351out);	
		
		
	} // end play()
	function update6b5fd3c351()
	{		
		c6b5fd3c351wi = next6b5fd3c351;		
		genNext6b5fd3c351();
		genPrev6b5fd3c351();
		
	}
	function genNext6b5fd3c351()
	{
		next6b5fd3c351 = c6b5fd3c351wi + 1;
		if (next6b5fd3c351 >= 25)
			next6b5fd3c351 = 0;
	} // end genNext
	function genPrev6b5fd3c351()
	{
		prev6b5fd3c351 = c6b5fd3c351wi - 1;
		if (prev6b5fd3c351 < 0)
			prev6b5fd3c351 = 25 - 1;
	} // end genPrev

	var properties6b5fd3c351 = new Array(25);
	properties6b5fd3c351[0] = new Array('900,000','27 Pine Ridge Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71120765&w=512&h=400&n=0','71120765','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71120765&idxID=107','4','2.1','...');
	properties6b5fd3c351[1] = new Array('899,900','13 Baldwin Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71129806&w=512&h=400&n=0','71129806','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71129806&idxID=107','5','4.1','...');
	properties6b5fd3c351[2] = new Array('899,500','4 Jennie Richards Rd.','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=70869341&w=512&h=400&n=0','70869341','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70869341&idxID=107','4','2.1','...');
	properties6b5fd3c351[3] = new Array('899,000','143-R Main Street','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71103747&w=512&h=400&n=0','71103747','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71103747&idxID=107','4','2.2','...');
	properties6b5fd3c351[4] = new Array('879,900','11 Landmark Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71087973&w=512&h=400&n=0','71087973','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71087973&idxID=107','5','2.1','...');
	properties6b5fd3c351[5] = new Array('879,900','6 Wheeler Ln','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71079974&w=512&h=400&n=0','71079974','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71079974&idxID=107','4','3.1','...');
	properties6b5fd3c351[6] = new Array('879,000','2 Gifford Drive','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71112516&w=512&h=400&n=0','71112516','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71112516&idxID=107','4','3.1','...');
	properties6b5fd3c351[7] = new Array('869,900','60 Tenney Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71092864&w=512&h=400&n=0','71092864','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71092864&idxID=107','4','3.1','...');
	properties6b5fd3c351[8] = new Array('799,900','30 Stonybrook Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71106588&w=512&h=400&n=0','71106588','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106588&idxID=107','4','3.2','...');
	properties6b5fd3c351[9] = new Array('799,900','5 Tavern Cir','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71109612&w=512&h=400&n=0','71109612','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71109612&idxID=107','4','2.1','...');
	properties6b5fd3c351[10] = new Array('799,900','181B Main','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71099859&w=512&h=400&n=0','71099859','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71099859&idxID=107','4','3.2','...');
	properties6b5fd3c351[11] = new Array('790,000','114 Concord Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71108511&w=512&h=400&n=0','71108511','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71108511&idxID=107','4','3.1','...');
	properties6b5fd3c351[12] = new Array('764,900','18 Cutter Lane','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71079560&w=512&h=400&n=0','71079560','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71079560&idxID=107','4','3.1','...');
	properties6b5fd3c351[13] = new Array('749,900','0 Lot1 Boxwood Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71071528&w=512&h=400&n=0','71071528','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71071528&idxID=107','4','2.1','...');
	properties6b5fd3c351[14] = new Array('739,000','lot 1 Heritage Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71125316&w=512&h=400&n=0','71125316','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71125316&idxID=107','4','2.1','...');
	properties6b5fd3c351[15] = new Array('739,000','35 Providence Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71106268&w=512&h=400&n=0','71106268','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106268&idxID=107','4','2.1','...');
	properties6b5fd3c351[16] = new Array('700,000','168 Main St','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71123289&w=512&h=400&n=0','71123289','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71123289&idxID=107','3','2.1','...');
	properties6b5fd3c351[17] = new Array('699,900','23 Heather Drive','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71109758&w=512&h=400&n=0','71109758','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71109758&idxID=107','4','3.1','...');
	properties6b5fd3c351[18] = new Array('699,000','11 Randolph Circle','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71095967&w=512&h=400&n=0','71095967','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71095967&idxID=107','4','2.1','...');
	properties6b5fd3c351[19] = new Array('690,000','2 Fawn Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71067732&w=512&h=400&n=0','71067732','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71067732&idxID=107','3','2.1','...');
	properties6b5fd3c351[20] = new Array('674,000','6 Riley Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71079145&w=512&h=400&n=0','71079145','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71079145&idxID=107','4','2.1','...');
	properties6b5fd3c351[21] = new Array('649,000','13 Cowdry Hill Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71085714&w=512&h=400&n=0','71085714','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71085714&idxID=107','2','1.1','...');
	properties6b5fd3c351[22] = new Array('629,900','Lot 2 Tenney Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71087476&w=512&h=400&n=0','71087476','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71087476&idxID=107','4','2.1','...');
	properties6b5fd3c351[23] = new Array('629,900','3 Indigo Lane','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71071305&w=512&h=400&n=0','71071305','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71071305&idxID=107','4','2.1','...');
	properties6b5fd3c351[24] = new Array('625,000','75 GRANITEVILLE ROAD','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71062863&w=512&h=400&n=0','71062863','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71062863&idxID=107','3','2','...');
	var urlVar6b5fd3c351;
	var preLoad6b5fd3c351 = new Image();
	preLoad6b5fd3c351.src = properties6b5fd3c351[c6b5fd3c351wi][3];
	onLoad = play6b5fd3c351();
