	// 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 timee60a7736e9out = 7000;
	var ce60a7736e9wi = 0;
	
	// ie60a7736e9sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var ie60a7736e9sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swape60a7736e9fade setup function
	function swape60a7736e9fade()
	{
		//if the timer is not already going
		if(ie60a7736e9sf.clock == null)
		{
			//copy the image object 
			ie60a7736e9sf.obj = arguments[0];
			
			//copy the image src argument 
			ie60a7736e9sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof ie60a7736e9sf.obj.style.opacity != 'undefined')
			{
				ie60a7736e9sf.type = 'w3c';
			}
			else if(typeof ie60a7736e9sf.obj.style.MozOpacity != 'undefined')
			{
				ie60a7736e9sf.type = 'moz';
			}
			else if(typeof ie60a7736e9sf.obj.style.KhtmlOpacity != 'undefined')
			{
				ie60a7736e9sf.type = 'khtml';
			}
			else if(typeof ie60a7736e9sf.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
				ie60a7736e9sf.type = (ie60a7736e9sf.obj.filters.length > 0 && typeof ie60a7736e9sf.obj.filters.alpha == 'object' && typeof ie60a7736e9sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				ie60a7736e9sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				ie60a7736e9sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(ie60a7736e9sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swape60a7736e9fade is two distinct transitions
				ie60a7736e9sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				ie60a7736e9sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				ie60a7736e9sf.clock = setInterval('ie60a7736e9sf.swape60a7736e9fade()', ie60a7736e9sf.length/ie60a7736e9sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				ie60a7736e9sf.obj.src = ie60a7736e9sf.src;
			}
			
		}
	};
	
	
	//swape60a7736e9fade timer function
	ie60a7736e9sf.swape60a7736e9fade = function()
	{
		//increase or reduce the counter on an exponential scale
		ie60a7736e9sf.count = (ie60a7736e9sf.fade) ? ie60a7736e9sf.count * 0.9 : (ie60a7736e9sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(ie60a7736e9sf.count < (1 / ie60a7736e9sf.resolution))
		{
			//clear the timer
			clearInterval(ie60a7736e9sf.clock);
			ie60a7736e9sf.clock = null;
	
			//do the image swap
			ie60a7736e9sf.obj.src = ie60a7736e9sf.src;
	
			//reverse the fade direction flag
			ie60a7736e9sf.fade = false;
			
			//restart the timer
			ie60a7736e9sf.clock = setInterval('ie60a7736e9sf.swape60a7736e9fade()', ie60a7736e9sf.length/ie60a7736e9sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(ie60a7736e9sf.count > (1 - (1 / ie60a7736e9sf.resolution)))
		{
			//clear the timer
			clearInterval(ie60a7736e9sf.clock);
			ie60a7736e9sf.clock = null;
	
			//reset the fade direction flag
			ie60a7736e9sf.fade = true;
			
			//reset the counter
			ie60a7736e9sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(ie60a7736e9sf.type)
		{
			case 'ie' :
				ie60a7736e9sf.obj.filters.alpha.opacity = ie60a7736e9sf.count * 100;
				break;
				
			case 'khtml' :
				ie60a7736e9sf.obj.style.KhtmlOpacity = ie60a7736e9sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				ie60a7736e9sf.obj.style.MozOpacity = (ie60a7736e9sf.count == 1 ? 0.9999999 : ie60a7736e9sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				ie60a7736e9sf.obj.style.opacity = (ie60a7736e9sf.count == 1 ? 0.9999999 : ie60a7736e9sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-e60a7736e9-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-e60a7736e9-image { width: 135px; height: 117px;  }');
	document.writeln('#IDX-e60a7736e9-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nexte60a7736e9 = 1;
	preve60a7736e9 = 22 - 1;

	document.writeln('<div id="IDX-e60a7736e9-slideshow">');
	document.writeln('<div id="IDX-e60a7736e9-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-e60a7736e9-ssImageURL" class="IDX-e60a7736e9-ssLinkText"><img id="IDX-e60a7736e9-ssImage" name="e60a7736e9-ssImage" alt="Slideshow image" border="0"  class="IDX-e60a7736e9-image" src="http://media.mlspin.com/photo.aspx?mls=71125323&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-e60a7736e9-priceLine"></div>');
	document.writeln('<div id="IDX-e60a7736e9-addressLine"></div>');
	document.writeln('<div id="IDX-e60a7736e9-cszLine"></div>');
	document.writeln('<div id="IDX-e60a7736e9-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-e60a7736e9-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-e60a7736e9-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playe60a7736e9()
	{
		
		
		urlVare60a7736e9 = '<a href="'+propertiese60a7736e9[ce60a7736e9wi][6]+'" class="IDX-e60a7736e9-ssLinkText">';
		swape60a7736e9fade(document.getElementById('IDX-e60a7736e9-ssImage'), preLoade60a7736e9.src, '1', ' ');
		document.getElementById('IDX-e60a7736e9-ssImageURL').href = propertiese60a7736e9[ce60a7736e9wi][6];
		document.getElementById('IDX-e60a7736e9-priceLine').innerHTML = urlVare60a7736e9+'$'+propertiese60a7736e9[ce60a7736e9wi][0]+'</a>';
		document.getElementById('IDX-e60a7736e9-addressLine').innerHTML =  urlVare60a7736e9+propertiese60a7736e9[ce60a7736e9wi][1]+'</a>';
		document.getElementById('IDX-e60a7736e9-cszLine').innerHTML = urlVare60a7736e9+propertiese60a7736e9[ce60a7736e9wi][2]+'</a>';
		document.getElementById('IDX-e60a7736e9-bedLine').innerHTML = urlVare60a7736e9+'Beds: '+propertiese60a7736e9[ce60a7736e9wi][7]+'</a>';
		document.getElementById('IDX-e60a7736e9-bathLine').innerHTML = urlVare60a7736e9+'Baths: '+propertiese60a7736e9[ce60a7736e9wi][8]+'</a>';
		document.getElementById('IDX-e60a7736e9-remarkLine').innerHTML = urlVare60a7736e9+propertiese60a7736e9[ce60a7736e9wi][9]+'</a>';
		
		preLoade60a7736e9 = new Image();
		preLoade60a7736e9.src = propertiese60a7736e9[nexte60a7736e9][3];
		
		updatee60a7736e9();
		
		ce60a7736e9 = setTimeout('playe60a7736e9()', timee60a7736e9out);	
		
		
	} // end play()
	function updatee60a7736e9()
	{		
		ce60a7736e9wi = nexte60a7736e9;		
		genNexte60a7736e9();
		genPreve60a7736e9();
		
	}
	function genNexte60a7736e9()
	{
		nexte60a7736e9 = ce60a7736e9wi + 1;
		if (nexte60a7736e9 >= 22)
			nexte60a7736e9 = 0;
	} // end genNext
	function genPreve60a7736e9()
	{
		preve60a7736e9 = ce60a7736e9wi - 1;
		if (preve60a7736e9 < 0)
			preve60a7736e9 = 22 - 1;
	} // end genPrev

	var propertiese60a7736e9 = new Array(22);
	propertiese60a7736e9[0] = new Array('885,000','1 Oak Ridge Lane','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71125323&w=512&h=400&n=0','71125323','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71125323&idxID=107','4','2.1','...');
	propertiese60a7736e9[1] = new Array('860,000','11 Davis Road','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71121719&w=512&h=400&n=0','71121719','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71121719&idxID=107','4','2.1','...');
	propertiese60a7736e9[2] = new Array('769,000','40 Wilson Road','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71110070&w=512&h=400&n=0','71110070','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71110070&idxID=107','4','3.2','...');
	propertiese60a7736e9[3] = new Array('750,000','276 Davis Rd','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71106713&w=512&h=400&n=0','71106713','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106713&idxID=107','4','1.1','...');
	propertiese60a7736e9[4] = new Array('735,000','394 North Road','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71034776&w=512&h=400&n=0','71034776','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71034776&idxID=107','5','2.1','...');
	propertiese60a7736e9[5] = new Array('674,800','137 North Rd','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=70974873&w=512&h=400&n=0','70974873','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70974873&idxID=107','4','3','...');
	propertiese60a7736e9[6] = new Array('650,000','6 Hillcrest Rd','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71103705&w=512&h=400&n=0','71103705','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71103705&idxID=107','5','4','...');
	propertiese60a7736e9[7] = new Array('649,900','524 Springs Rd','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71116788&w=512&h=400&n=0','71116788','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71116788&idxID=107','3','2.1','...');
	propertiese60a7736e9[8] = new Array('649,000','17 Independence Road','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71101729&w=512&h=400&n=0','71101729','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71101729&idxID=107','3','2.1','...');
	propertiese60a7736e9[9] = new Array('635,000','56 Notre Dame Rd','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71061396&w=512&h=400&n=0','71061396','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71061396&idxID=107','5','3','...');
	propertiese60a7736e9[10] = new Array('626,900','17 Fox Run Rd','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71075814&w=512&h=400&n=0','71075814','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71075814&idxID=107','4','2.1','...');
	propertiese60a7736e9[11] = new Array('625,000','9 Stearns Rd','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=70993325&w=512&h=400&n=0','70993325','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70993325&idxID=107','3','2.1','...');
	propertiese60a7736e9[12] = new Array('595,000','6 Appletree Lane','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71125915&w=512&h=400&n=0','71125915','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71125915&idxID=107','3','2','...');
	propertiese60a7736e9[13] = new Array('569,000','11 Brooksbie Rd','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71093732&w=512&h=400&n=0','71093732','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71093732&idxID=107','4','3','...');
	propertiese60a7736e9[14] = new Array('569,000','14 Pheasant Lane','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71105473&w=512&h=400&n=0','71105473','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105473&idxID=107','3','2.1','...');
	propertiese60a7736e9[15] = new Array('565,000','31 Page Road','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71070686&w=512&h=400&n=0','71070686','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71070686&idxID=107','3','2.1','...');
	propertiese60a7736e9[16] = new Array('539,000','15 Fitchdale Ave','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71070540&w=512&h=400&n=0','71070540','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71070540&idxID=107','3','1.1','...');
	propertiese60a7736e9[17] = new Array('530,000','31 Curve Street','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71097569&w=512&h=400&n=0','71097569','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71097569&idxID=107','3','2','...');
	propertiese60a7736e9[18] = new Array('530,000','114 PAGE ROAD','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71131170&w=512&h=400&n=0','71131170','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71131170&idxID=107','4','2','...');
	propertiese60a7736e9[19] = new Array('529,000','552 Springs Road','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71120342&w=512&h=400&n=0','71120342','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71120342&idxID=107','4','2.1','...');
	propertiese60a7736e9[20] = new Array('529,000','8 Pickman Drive','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71038947&w=512&h=400&n=0','71038947','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71038947&idxID=107','3','2.1','...');
	propertiese60a7736e9[21] = new Array('525,000','45 SHAWSHEEN ROAD','Bedford, MA 01730 ','http://media.mlspin.com/photo.aspx?mls=71100836&w=512&h=400&n=0','71100836','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71100836&idxID=107','3','2.1','...');
	var urlVare60a7736e9;
	var preLoade60a7736e9 = new Image();
	preLoade60a7736e9.src = propertiese60a7736e9[ce60a7736e9wi][3];
	onLoad = playe60a7736e9();
