	// 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 time46c72a4a56out = 9000;
	var c46c72a4a56wi = 0;
	
	// i46c72a4a56sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i46c72a4a56sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap46c72a4a56fade setup function
	function swap46c72a4a56fade()
	{
		//if the timer is not already going
		if(i46c72a4a56sf.clock == null)
		{
			//copy the image object 
			i46c72a4a56sf.obj = arguments[0];
			
			//copy the image src argument 
			i46c72a4a56sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i46c72a4a56sf.obj.style.opacity != 'undefined')
			{
				i46c72a4a56sf.type = 'w3c';
			}
			else if(typeof i46c72a4a56sf.obj.style.MozOpacity != 'undefined')
			{
				i46c72a4a56sf.type = 'moz';
			}
			else if(typeof i46c72a4a56sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i46c72a4a56sf.type = 'khtml';
			}
			else if(typeof i46c72a4a56sf.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
				i46c72a4a56sf.type = (i46c72a4a56sf.obj.filters.length > 0 && typeof i46c72a4a56sf.obj.filters.alpha == 'object' && typeof i46c72a4a56sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i46c72a4a56sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i46c72a4a56sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i46c72a4a56sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap46c72a4a56fade is two distinct transitions
				i46c72a4a56sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i46c72a4a56sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i46c72a4a56sf.clock = setInterval('i46c72a4a56sf.swap46c72a4a56fade()', i46c72a4a56sf.length/i46c72a4a56sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i46c72a4a56sf.obj.src = i46c72a4a56sf.src;
			}
			
		}
	};
	
	
	//swap46c72a4a56fade timer function
	i46c72a4a56sf.swap46c72a4a56fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i46c72a4a56sf.count = (i46c72a4a56sf.fade) ? i46c72a4a56sf.count * 0.9 : (i46c72a4a56sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i46c72a4a56sf.count < (1 / i46c72a4a56sf.resolution))
		{
			//clear the timer
			clearInterval(i46c72a4a56sf.clock);
			i46c72a4a56sf.clock = null;
	
			//do the image swap
			i46c72a4a56sf.obj.src = i46c72a4a56sf.src;
	
			//reverse the fade direction flag
			i46c72a4a56sf.fade = false;
			
			//restart the timer
			i46c72a4a56sf.clock = setInterval('i46c72a4a56sf.swap46c72a4a56fade()', i46c72a4a56sf.length/i46c72a4a56sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i46c72a4a56sf.count > (1 - (1 / i46c72a4a56sf.resolution)))
		{
			//clear the timer
			clearInterval(i46c72a4a56sf.clock);
			i46c72a4a56sf.clock = null;
	
			//reset the fade direction flag
			i46c72a4a56sf.fade = true;
			
			//reset the counter
			i46c72a4a56sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i46c72a4a56sf.type)
		{
			case 'ie' :
				i46c72a4a56sf.obj.filters.alpha.opacity = i46c72a4a56sf.count * 100;
				break;
				
			case 'khtml' :
				i46c72a4a56sf.obj.style.KhtmlOpacity = i46c72a4a56sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i46c72a4a56sf.obj.style.MozOpacity = (i46c72a4a56sf.count == 1 ? 0.9999999 : i46c72a4a56sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i46c72a4a56sf.obj.style.opacity = (i46c72a4a56sf.count == 1 ? 0.9999999 : i46c72a4a56sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-46c72a4a56-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-46c72a4a56-image { width: 125px; height: 117px;  }');
	document.writeln('#IDX-46c72a4a56-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next46c72a4a56 = 1;
	prev46c72a4a56 = 25 - 1;

	document.writeln('<div id="IDX-46c72a4a56-slideshow">');
	document.writeln('<div id="IDX-46c72a4a56-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-46c72a4a56-ssImageURL" class="IDX-46c72a4a56-ssLinkText"><img id="IDX-46c72a4a56-ssImage" name="46c72a4a56-ssImage" alt="Slideshow image" border="0"  class="IDX-46c72a4a56-image" src="http://media.mlspin.com/photo.aspx?mls=71087443&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-46c72a4a56-priceLine"></div>');
	document.writeln('<div id="IDX-46c72a4a56-addressLine"></div>');
	document.writeln('<div id="IDX-46c72a4a56-cszLine"></div>');
	document.writeln('<div id="IDX-46c72a4a56-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-46c72a4a56-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-46c72a4a56-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play46c72a4a56()
	{
		
		
		urlVar46c72a4a56 = '<a href="'+properties46c72a4a56[c46c72a4a56wi][6]+'" class="IDX-46c72a4a56-ssLinkText">';
		swap46c72a4a56fade(document.getElementById('IDX-46c72a4a56-ssImage'), preLoad46c72a4a56.src, '1', ' ');
		document.getElementById('IDX-46c72a4a56-ssImageURL').href = properties46c72a4a56[c46c72a4a56wi][6];
		document.getElementById('IDX-46c72a4a56-priceLine').innerHTML = urlVar46c72a4a56+'$'+properties46c72a4a56[c46c72a4a56wi][0]+'</a>';
		document.getElementById('IDX-46c72a4a56-addressLine').innerHTML =  urlVar46c72a4a56+properties46c72a4a56[c46c72a4a56wi][1]+'</a>';
		document.getElementById('IDX-46c72a4a56-cszLine').innerHTML = urlVar46c72a4a56+properties46c72a4a56[c46c72a4a56wi][2]+'</a>';
		document.getElementById('IDX-46c72a4a56-bedLine').innerHTML = urlVar46c72a4a56+'Beds: '+properties46c72a4a56[c46c72a4a56wi][7]+'</a>';
		document.getElementById('IDX-46c72a4a56-bathLine').innerHTML = urlVar46c72a4a56+'Baths: '+properties46c72a4a56[c46c72a4a56wi][8]+'</a>';
		document.getElementById('IDX-46c72a4a56-remarkLine').innerHTML = urlVar46c72a4a56+properties46c72a4a56[c46c72a4a56wi][9]+'</a>';
		
		preLoad46c72a4a56 = new Image();
		preLoad46c72a4a56.src = properties46c72a4a56[next46c72a4a56][3];
		
		update46c72a4a56();
		
		c46c72a4a56 = setTimeout('play46c72a4a56()', time46c72a4a56out);	
		
		
	} // end play()
	function update46c72a4a56()
	{		
		c46c72a4a56wi = next46c72a4a56;		
		genNext46c72a4a56();
		genPrev46c72a4a56();
		
	}
	function genNext46c72a4a56()
	{
		next46c72a4a56 = c46c72a4a56wi + 1;
		if (next46c72a4a56 >= 25)
			next46c72a4a56 = 0;
	} // end genNext
	function genPrev46c72a4a56()
	{
		prev46c72a4a56 = c46c72a4a56wi - 1;
		if (prev46c72a4a56 < 0)
			prev46c72a4a56 = 25 - 1;
	} // end genPrev

	var properties46c72a4a56 = new Array(25);
	properties46c72a4a56[0] = new Array('203,900','27 Oak Hill Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71087443&w=512&h=400&n=0','71087443','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71087443&idxID=107','3','1','...');
	properties46c72a4a56[1] = new Array('210,000','6 Bridge St','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71107731&w=512&h=400&n=0','71107731','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71107731&idxID=107','3','1','...');
	properties46c72a4a56[2] = new Array('220,000','30 Oak Hill Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=70833020&w=512&h=400&n=0','70833020','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70833020&idxID=107','2','1','...');
	properties46c72a4a56[3] = new Array('225,000','12 Brookside Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71090426&w=512&h=400&n=0','71090426','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71090426&idxID=107','1','1','...');
	properties46c72a4a56[4] = new Array('239,000','10 Groton Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71116877&w=512&h=400&n=0','71116877','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71116877&idxID=107','2','1.1','...');
	properties46c72a4a56[5] = new Array('239,900','4 Williams Ave','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=70879394&w=512&h=400&n=0','70879394','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70879394&idxID=107','3','2','...');
	properties46c72a4a56[6] = new Array('249,900','13 North Main Street','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71062684&w=512&h=400&n=0','71062684','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71062684&idxID=107','3','1','...');
	properties46c72a4a56[7] = new Array('255,000','36 Leland Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71102909&w=512&h=400&n=0','71102909','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71102909&idxID=107','3','1','...');
	properties46c72a4a56[8] = new Array('259,000','4 North St.','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71105165&w=512&h=400&n=0','71105165','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105165&idxID=107','2','1','...');
	properties46c72a4a56[9] = new Array('269,900','3 Gassett Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71124446&w=512&h=400&n=0','71124446','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71124446&idxID=107','3','1.1','...');
	properties46c72a4a56[10] = new Array('269,900','112 Main St','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=70951001&w=512&h=400&n=0','70951001','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70951001&idxID=107','3','2','...');
	properties46c72a4a56[11] = new Array('279,900','7 Minuteman Ln','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71066789&w=512&h=400&n=0','71066789','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71066789&idxID=107','2','1.1','...');
	properties46c72a4a56[12] = new Array('279,900','1 North Main Street','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71025201&w=512&h=400&n=0','71025201','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71025201&idxID=107','3','1','...');
	properties46c72a4a56[13] = new Array('299,000','12 Brookside Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71057197&w=512&h=400&n=0','71057197','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71057197&idxID=107','2','2.1','...');
	properties46c72a4a56[14] = new Array('299,000','87 Forrest Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71077450&w=512&h=400&n=0','71077450','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71077450&idxID=107','4','3','...');
	properties46c72a4a56[15] = new Array('299,500','13 Coolidge Ave','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71127984&w=512&h=400&n=0','71127984','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71127984&idxID=107','3','1','...');
	properties46c72a4a56[16] = new Array('299,900','51 Brookside Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71063300&w=512&h=400&n=0','71063300','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71063300&idxID=107','3','1.1','...');
	properties46c72a4a56[17] = new Array('300,000','34 Maple Rd','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71090690&w=512&h=400&n=0','71090690','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71090690&idxID=107','4','2','...');
	properties46c72a4a56[18] = new Array('303,000','16 Main','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71017529&w=512&h=400&n=0','71017529','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71017529&idxID=107','2','2','...');
	properties46c72a4a56[19] = new Array('309,000','106 Plain Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71106083&w=512&h=400&n=0','71106083','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106083&idxID=107','4','2','...');
	properties46c72a4a56[20] = new Array('310,000','59 Monadnock','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71097434&w=512&h=400&n=0','71097434','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71097434&idxID=107','3','3','...');
	properties46c72a4a56[21] = new Array('310,000','19 YORK AVE','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71031220&w=512&h=400&n=0','71031220','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71031220&idxID=107','4','2','...');
	properties46c72a4a56[22] = new Array('312,000','40 Cold Spring Road','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71073140&w=512&h=400&n=0','71073140','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71073140&idxID=107','3','1','...');
	properties46c72a4a56[23] = new Array('319,900','4 Indian Ridge Terrace','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71045350&w=512&h=400&n=0','71045350','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71045350&idxID=107','2','2.1','...');
	properties46c72a4a56[24] = new Array('319,900','7 Shawnee Place','Westford, MA 01886 ','http://media.mlspin.com/photo.aspx?mls=71132262&w=512&h=400&n=0','71132262','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71132262&idxID=107','2','2.1','...');
	var urlVar46c72a4a56;
	var preLoad46c72a4a56 = new Image();
	preLoad46c72a4a56.src = properties46c72a4a56[c46c72a4a56wi][3];
	onLoad = play46c72a4a56();
