	// 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 time12aa1cecd1out = 7000;
	var c12aa1cecd1wi = 0;
	
	// i12aa1cecd1sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i12aa1cecd1sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap12aa1cecd1fade setup function
	function swap12aa1cecd1fade()
	{
		//if the timer is not already going
		if(i12aa1cecd1sf.clock == null)
		{
			//copy the image object 
			i12aa1cecd1sf.obj = arguments[0];
			
			//copy the image src argument 
			i12aa1cecd1sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i12aa1cecd1sf.obj.style.opacity != 'undefined')
			{
				i12aa1cecd1sf.type = 'w3c';
			}
			else if(typeof i12aa1cecd1sf.obj.style.MozOpacity != 'undefined')
			{
				i12aa1cecd1sf.type = 'moz';
			}
			else if(typeof i12aa1cecd1sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i12aa1cecd1sf.type = 'khtml';
			}
			else if(typeof i12aa1cecd1sf.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
				i12aa1cecd1sf.type = (i12aa1cecd1sf.obj.filters.length > 0 && typeof i12aa1cecd1sf.obj.filters.alpha == 'object' && typeof i12aa1cecd1sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i12aa1cecd1sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i12aa1cecd1sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i12aa1cecd1sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap12aa1cecd1fade is two distinct transitions
				i12aa1cecd1sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i12aa1cecd1sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i12aa1cecd1sf.clock = setInterval('i12aa1cecd1sf.swap12aa1cecd1fade()', i12aa1cecd1sf.length/i12aa1cecd1sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i12aa1cecd1sf.obj.src = i12aa1cecd1sf.src;
			}
			
		}
	};
	
	
	//swap12aa1cecd1fade timer function
	i12aa1cecd1sf.swap12aa1cecd1fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i12aa1cecd1sf.count = (i12aa1cecd1sf.fade) ? i12aa1cecd1sf.count * 0.9 : (i12aa1cecd1sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i12aa1cecd1sf.count < (1 / i12aa1cecd1sf.resolution))
		{
			//clear the timer
			clearInterval(i12aa1cecd1sf.clock);
			i12aa1cecd1sf.clock = null;
	
			//do the image swap
			i12aa1cecd1sf.obj.src = i12aa1cecd1sf.src;
	
			//reverse the fade direction flag
			i12aa1cecd1sf.fade = false;
			
			//restart the timer
			i12aa1cecd1sf.clock = setInterval('i12aa1cecd1sf.swap12aa1cecd1fade()', i12aa1cecd1sf.length/i12aa1cecd1sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i12aa1cecd1sf.count > (1 - (1 / i12aa1cecd1sf.resolution)))
		{
			//clear the timer
			clearInterval(i12aa1cecd1sf.clock);
			i12aa1cecd1sf.clock = null;
	
			//reset the fade direction flag
			i12aa1cecd1sf.fade = true;
			
			//reset the counter
			i12aa1cecd1sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i12aa1cecd1sf.type)
		{
			case 'ie' :
				i12aa1cecd1sf.obj.filters.alpha.opacity = i12aa1cecd1sf.count * 100;
				break;
				
			case 'khtml' :
				i12aa1cecd1sf.obj.style.KhtmlOpacity = i12aa1cecd1sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i12aa1cecd1sf.obj.style.MozOpacity = (i12aa1cecd1sf.count == 1 ? 0.9999999 : i12aa1cecd1sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i12aa1cecd1sf.obj.style.opacity = (i12aa1cecd1sf.count == 1 ? 0.9999999 : i12aa1cecd1sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-12aa1cecd1-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-12aa1cecd1-image { width: 135px; height: 117px;  }');
	document.writeln('#IDX-12aa1cecd1-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next12aa1cecd1 = 1;
	prev12aa1cecd1 = 25 - 1;

	document.writeln('<div id="IDX-12aa1cecd1-slideshow">');
	document.writeln('<div id="IDX-12aa1cecd1-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-12aa1cecd1-ssImageURL" class="IDX-12aa1cecd1-ssLinkText"><img id="IDX-12aa1cecd1-ssImage" name="12aa1cecd1-ssImage" alt="Slideshow image" border="0"  class="IDX-12aa1cecd1-image" src="http://media.mlspin.com/photo.aspx?mls=71132201&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-12aa1cecd1-priceLine"></div>');
	document.writeln('<div id="IDX-12aa1cecd1-addressLine"></div>');
	document.writeln('<div id="IDX-12aa1cecd1-cszLine"></div>');
	document.writeln('<div id="IDX-12aa1cecd1-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-12aa1cecd1-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-12aa1cecd1-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play12aa1cecd1()
	{
		
		
		urlVar12aa1cecd1 = '<a href="'+properties12aa1cecd1[c12aa1cecd1wi][6]+'" class="IDX-12aa1cecd1-ssLinkText">';
		swap12aa1cecd1fade(document.getElementById('IDX-12aa1cecd1-ssImage'), preLoad12aa1cecd1.src, '1', ' ');
		document.getElementById('IDX-12aa1cecd1-ssImageURL').href = properties12aa1cecd1[c12aa1cecd1wi][6];
		document.getElementById('IDX-12aa1cecd1-priceLine').innerHTML = urlVar12aa1cecd1+'$'+properties12aa1cecd1[c12aa1cecd1wi][0]+'</a>';
		document.getElementById('IDX-12aa1cecd1-addressLine').innerHTML =  urlVar12aa1cecd1+properties12aa1cecd1[c12aa1cecd1wi][1]+'</a>';
		document.getElementById('IDX-12aa1cecd1-cszLine').innerHTML = urlVar12aa1cecd1+properties12aa1cecd1[c12aa1cecd1wi][2]+'</a>';
		document.getElementById('IDX-12aa1cecd1-bedLine').innerHTML = urlVar12aa1cecd1+'Beds: '+properties12aa1cecd1[c12aa1cecd1wi][7]+'</a>';
		document.getElementById('IDX-12aa1cecd1-bathLine').innerHTML = urlVar12aa1cecd1+'Baths: '+properties12aa1cecd1[c12aa1cecd1wi][8]+'</a>';
		document.getElementById('IDX-12aa1cecd1-remarkLine').innerHTML = urlVar12aa1cecd1+properties12aa1cecd1[c12aa1cecd1wi][9]+'</a>';
		
		preLoad12aa1cecd1 = new Image();
		preLoad12aa1cecd1.src = properties12aa1cecd1[next12aa1cecd1][3];
		
		update12aa1cecd1();
		
		c12aa1cecd1 = setTimeout('play12aa1cecd1()', time12aa1cecd1out);	
		
		
	} // end play()
	function update12aa1cecd1()
	{		
		c12aa1cecd1wi = next12aa1cecd1;		
		genNext12aa1cecd1();
		genPrev12aa1cecd1();
		
	}
	function genNext12aa1cecd1()
	{
		next12aa1cecd1 = c12aa1cecd1wi + 1;
		if (next12aa1cecd1 >= 25)
			next12aa1cecd1 = 0;
	} // end genNext
	function genPrev12aa1cecd1()
	{
		prev12aa1cecd1 = c12aa1cecd1wi - 1;
		if (prev12aa1cecd1 < 0)
			prev12aa1cecd1 = 25 - 1;
	} // end genPrev

	var properties12aa1cecd1 = new Array(25);
	properties12aa1cecd1[0] = new Array('675,000','256 Park Ave','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71132201&w=512&h=400&n=0','71132201','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71132201&idxID=107','3','1.1','...');
	properties12aa1cecd1[1] = new Array('675,000','147 Park Ave','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71125820&w=512&h=400&n=0','71125820','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71125820&idxID=107','3','2.1','...');
	properties12aa1cecd1[2] = new Array('649,000','14 Reed Street','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71113130&w=512&h=400&n=0','71113130','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71113130&idxID=107','3','2.1','...');
	properties12aa1cecd1[3] = new Array('649,000','194 Westminster','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71112850&w=512&h=400&n=0','71112850','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71112850&idxID=107','5','4','...');
	properties12aa1cecd1[4] = new Array('649,000','3 Osceola Path','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71128825&w=512&h=400&n=0','71128825','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128825&idxID=107','4','2.1','...');
	properties12aa1cecd1[5] = new Array('629,000','9 Kings Court','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71110630&w=512&h=400&n=0','71110630','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71110630&idxID=107','4','2.1','...');
	properties12aa1cecd1[6] = new Array('619,000','15 Stowecroft  Road','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71106175&w=512&h=400&n=0','71106175','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106175&idxID=107','3','2.1','...');
	properties12aa1cecd1[7] = new Array('599,900','134 Webster St','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71116962&w=512&h=400&n=0','71116962','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71116962&idxID=107','3','2.1','...');
	properties12aa1cecd1[8] = new Array('599,000','205 Jason Street','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71093950&w=512&h=400&n=0','71093950','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71093950&idxID=107','4','1.1','...');
	properties12aa1cecd1[9] = new Array('599,000','52 Marathon Street','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71113531&w=512&h=400&n=0','71113531','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71113531&idxID=107','4','2','...');
	properties12aa1cecd1[10] = new Array('579,000','9 Venner Road','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71083905&w=512&h=400&n=0','71083905','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71083905&idxID=107','4','2.1','...');
	properties12aa1cecd1[11] = new Array('579,000','2 Moccasin Path','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71123610&w=512&h=400&n=0','71123610','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71123610&idxID=107','3','2','...');
	properties12aa1cecd1[12] = new Array('569,999','10 Cherokee Rd','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71090577&w=512&h=400&n=0','71090577','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71090577&idxID=107','3','2','...');
	properties12aa1cecd1[13] = new Array('569,000','10 Whittemore St','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71122456&w=512&h=400&n=0','71122456','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71122456&idxID=107','5','1.1','...');
	properties12aa1cecd1[14] = new Array('549,999','118 Lowell Street','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71132354&w=512&h=400&n=0','71132354','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71132354&idxID=107','4','2','...');
	properties12aa1cecd1[15] = new Array('549,900','30 Venner Road','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71121200&w=512&h=400&n=0','71121200','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71121200&idxID=107','4','2','...');
	properties12aa1cecd1[16] = new Array('549,000','235 Park Ave','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71072808&w=512&h=400&n=0','71072808','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71072808&idxID=107','3','2.1','...');
	properties12aa1cecd1[17] = new Array('539,900','79 Orient Avenue','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71105584&w=512&h=400&n=0','71105584','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105584&idxID=107','3','2.1','...');
	properties12aa1cecd1[18] = new Array('539,900','81 Orient Avenue','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71105586&w=512&h=400&n=0','71105586','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105586&idxID=107','3','2.1','...');
	properties12aa1cecd1[19] = new Array('539,000','95 Mystic St','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71116313&w=512&h=400&n=0','71116313','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71116313&idxID=107','4','2.1','...');
	properties12aa1cecd1[20] = new Array('539,000','111 Westmoreland Ave.','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71128766&w=512&h=400&n=0','71128766','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128766&idxID=107','3','1.1','...');
	properties12aa1cecd1[21] = new Array('509,000','151 Massachusetts Avenue','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71104784&w=512&h=400&n=0','71104784','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71104784&idxID=107','3','2.1','...');
	properties12aa1cecd1[22] = new Array('499,500','24 Thorndike Street','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71122556&w=512&h=400&n=0','71122556','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71122556&idxID=107','3','1.1','...');
	properties12aa1cecd1[23] = new Array('499,000','104 Waverley St','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71128935&w=512&h=400&n=0','71128935','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71128935&idxID=107','3','1.1','...');
	properties12aa1cecd1[24] = new Array('475,000','14 Washington Avenue','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71131560&w=512&h=400&n=0','71131560','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71131560&idxID=107','3','2','...');
	var urlVar12aa1cecd1;
	var preLoad12aa1cecd1 = new Image();
	preLoad12aa1cecd1.src = properties12aa1cecd1[c12aa1cecd1wi][3];
	onLoad = play12aa1cecd1();
