	// 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 timecf59bca5c3out = 9000;
	var ccf59bca5c3wi = 0;
	
	// icf59bca5c3sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var icf59bca5c3sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapcf59bca5c3fade setup function
	function swapcf59bca5c3fade()
	{
		//if the timer is not already going
		if(icf59bca5c3sf.clock == null)
		{
			//copy the image object 
			icf59bca5c3sf.obj = arguments[0];
			
			//copy the image src argument 
			icf59bca5c3sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof icf59bca5c3sf.obj.style.opacity != 'undefined')
			{
				icf59bca5c3sf.type = 'w3c';
			}
			else if(typeof icf59bca5c3sf.obj.style.MozOpacity != 'undefined')
			{
				icf59bca5c3sf.type = 'moz';
			}
			else if(typeof icf59bca5c3sf.obj.style.KhtmlOpacity != 'undefined')
			{
				icf59bca5c3sf.type = 'khtml';
			}
			else if(typeof icf59bca5c3sf.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
				icf59bca5c3sf.type = (icf59bca5c3sf.obj.filters.length > 0 && typeof icf59bca5c3sf.obj.filters.alpha == 'object' && typeof icf59bca5c3sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				icf59bca5c3sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				icf59bca5c3sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(icf59bca5c3sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapcf59bca5c3fade is two distinct transitions
				icf59bca5c3sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				icf59bca5c3sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				icf59bca5c3sf.clock = setInterval('icf59bca5c3sf.swapcf59bca5c3fade()', icf59bca5c3sf.length/icf59bca5c3sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				icf59bca5c3sf.obj.src = icf59bca5c3sf.src;
			}
			
		}
	};
	
	
	//swapcf59bca5c3fade timer function
	icf59bca5c3sf.swapcf59bca5c3fade = function()
	{
		//increase or reduce the counter on an exponential scale
		icf59bca5c3sf.count = (icf59bca5c3sf.fade) ? icf59bca5c3sf.count * 0.9 : (icf59bca5c3sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(icf59bca5c3sf.count < (1 / icf59bca5c3sf.resolution))
		{
			//clear the timer
			clearInterval(icf59bca5c3sf.clock);
			icf59bca5c3sf.clock = null;
	
			//do the image swap
			icf59bca5c3sf.obj.src = icf59bca5c3sf.src;
	
			//reverse the fade direction flag
			icf59bca5c3sf.fade = false;
			
			//restart the timer
			icf59bca5c3sf.clock = setInterval('icf59bca5c3sf.swapcf59bca5c3fade()', icf59bca5c3sf.length/icf59bca5c3sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(icf59bca5c3sf.count > (1 - (1 / icf59bca5c3sf.resolution)))
		{
			//clear the timer
			clearInterval(icf59bca5c3sf.clock);
			icf59bca5c3sf.clock = null;
	
			//reset the fade direction flag
			icf59bca5c3sf.fade = true;
			
			//reset the counter
			icf59bca5c3sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(icf59bca5c3sf.type)
		{
			case 'ie' :
				icf59bca5c3sf.obj.filters.alpha.opacity = icf59bca5c3sf.count * 100;
				break;
				
			case 'khtml' :
				icf59bca5c3sf.obj.style.KhtmlOpacity = icf59bca5c3sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				icf59bca5c3sf.obj.style.MozOpacity = (icf59bca5c3sf.count == 1 ? 0.9999999 : icf59bca5c3sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				icf59bca5c3sf.obj.style.opacity = (icf59bca5c3sf.count == 1 ? 0.9999999 : icf59bca5c3sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-cf59bca5c3-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-cf59bca5c3-image { width: 125px; height: 117px;  }');
	document.writeln('#IDX-cf59bca5c3-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextcf59bca5c3 = 1;
	prevcf59bca5c3 = 19 - 1;

	document.writeln('<div id="IDX-cf59bca5c3-slideshow">');
	document.writeln('<div id="IDX-cf59bca5c3-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-cf59bca5c3-ssImageURL" class="IDX-cf59bca5c3-ssLinkText"><img id="IDX-cf59bca5c3-ssImage" name="cf59bca5c3-ssImage" alt="Slideshow image" border="0"  class="IDX-cf59bca5c3-image" src="http://media.mlspin.com/photo.aspx?mls=71120078&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-cf59bca5c3-priceLine"></div>');
	document.writeln('<div id="IDX-cf59bca5c3-addressLine"></div>');
	document.writeln('<div id="IDX-cf59bca5c3-cszLine"></div>');
	document.writeln('<div id="IDX-cf59bca5c3-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-cf59bca5c3-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-cf59bca5c3-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playcf59bca5c3()
	{
		
		
		urlVarcf59bca5c3 = '<a href="'+propertiescf59bca5c3[ccf59bca5c3wi][6]+'" class="IDX-cf59bca5c3-ssLinkText">';
		swapcf59bca5c3fade(document.getElementById('IDX-cf59bca5c3-ssImage'), preLoadcf59bca5c3.src, '1', ' ');
		document.getElementById('IDX-cf59bca5c3-ssImageURL').href = propertiescf59bca5c3[ccf59bca5c3wi][6];
		document.getElementById('IDX-cf59bca5c3-priceLine').innerHTML = urlVarcf59bca5c3+'$'+propertiescf59bca5c3[ccf59bca5c3wi][0]+'</a>';
		document.getElementById('IDX-cf59bca5c3-addressLine').innerHTML =  urlVarcf59bca5c3+propertiescf59bca5c3[ccf59bca5c3wi][1]+'</a>';
		document.getElementById('IDX-cf59bca5c3-cszLine').innerHTML = urlVarcf59bca5c3+propertiescf59bca5c3[ccf59bca5c3wi][2]+'</a>';
		document.getElementById('IDX-cf59bca5c3-bedLine').innerHTML = urlVarcf59bca5c3+'Beds: '+propertiescf59bca5c3[ccf59bca5c3wi][7]+'</a>';
		document.getElementById('IDX-cf59bca5c3-bathLine').innerHTML = urlVarcf59bca5c3+'Baths: '+propertiescf59bca5c3[ccf59bca5c3wi][8]+'</a>';
		document.getElementById('IDX-cf59bca5c3-remarkLine').innerHTML = urlVarcf59bca5c3+propertiescf59bca5c3[ccf59bca5c3wi][9]+'</a>';
		
		preLoadcf59bca5c3 = new Image();
		preLoadcf59bca5c3.src = propertiescf59bca5c3[nextcf59bca5c3][3];
		
		updatecf59bca5c3();
		
		ccf59bca5c3 = setTimeout('playcf59bca5c3()', timecf59bca5c3out);	
		
		
	} // end play()
	function updatecf59bca5c3()
	{		
		ccf59bca5c3wi = nextcf59bca5c3;		
		genNextcf59bca5c3();
		genPrevcf59bca5c3();
		
	}
	function genNextcf59bca5c3()
	{
		nextcf59bca5c3 = ccf59bca5c3wi + 1;
		if (nextcf59bca5c3 >= 19)
			nextcf59bca5c3 = 0;
	} // end genNext
	function genPrevcf59bca5c3()
	{
		prevcf59bca5c3 = ccf59bca5c3wi - 1;
		if (prevcf59bca5c3 < 0)
			prevcf59bca5c3 = 19 - 1;
	} // end genPrev

	var propertiescf59bca5c3 = new Array(19);
	propertiescf59bca5c3[0] = new Array('135,900','5 Colonial Village Dr','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71120078&w=512&h=400&n=0','71120078','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71120078&idxID=107','1','1','...');
	propertiescf59bca5c3[1] = new Array('139,900','60 Pleasant St','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71122449&w=512&h=400&n=0','71122449','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71122449&idxID=107','1','1','...');
	propertiescf59bca5c3[2] = new Array('164,900','5 Arizona Terrace','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71117935&w=512&h=400&n=0','71117935','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71117935&idxID=107','1','1','...');
	propertiescf59bca5c3[3] = new Array('169,900','7 Colonial Village Drive','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71106657&w=512&h=400&n=0','71106657','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106657&idxID=107','1','1','...');
	propertiescf59bca5c3[4] = new Array('175,000','118 Decatur St.','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=70976594&w=512&h=400&n=0','70976594','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70976594&idxID=107','1','1','...');
	propertiescf59bca5c3[5] = new Array('175,000','3 Colonial Village Dr','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71100927&w=512&h=400&n=0','71100927','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71100927&idxID=107','2','1','...');
	propertiescf59bca5c3[6] = new Array('179,000','53 Appleton Street','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71041896&w=512&h=400&n=0','71041896','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71041896&idxID=107','1','1','...');
	propertiescf59bca5c3[7] = new Array('179,000','4 Colonial Village Dr','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71083812&w=512&h=400&n=0','71083812','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71083812&idxID=107','2','1','...');
	propertiescf59bca5c3[8] = new Array('199,000','114 Pleasant Street','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71132204&w=512&h=400&n=0','71132204','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71132204&idxID=107','1','1','...');
	propertiescf59bca5c3[9] = new Array('209,000','47 Mystic St','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71083524&w=512&h=400&n=0','71083524','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71083524&idxID=107','1','1','...');
	propertiescf59bca5c3[10] = new Array('249,900','125 Pleasant Street','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71093891&w=512&h=400&n=0','71093891','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71093891&idxID=107','2','1','...');
	propertiescf59bca5c3[11] = new Array('265,000','1 School Street','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71073648&w=512&h=400&n=0','71073648','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71073648&idxID=107','1','1','...');
	propertiescf59bca5c3[12] = new Array('268,000','125 Pleasant Street','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71097953&w=512&h=400&n=0','71097953','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71097953&idxID=107','2','1','...');
	propertiescf59bca5c3[13] = new Array('269,900','51 Newcomb Street','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=71057038&w=512&h=400&n=0','71057038','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71057038&idxID=107','2','1','...');
	propertiescf59bca5c3[14] = new Array('277,774','103 Sunnyside Ave','Arlington, MA 02474 ','http://media.mlspin.com/photo.aspx?mls=70663074&w=512&h=400&n=0','70663074','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70663074&idxID=107','2','1.1','...');
	propertiescf59bca5c3[15] = new Array('279,000','12 Elmore Street','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71109910&w=512&h=400&n=0','71109910','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71109910&idxID=107','1','1','...');
	propertiescf59bca5c3[16] = new Array('285,000','975 Massachusetts Avenue','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71121978&w=512&h=400&n=0','71121978','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71121978&idxID=107','1','1','...');
	propertiescf59bca5c3[17] = new Array('289,000','100 Pleasant','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71099864&w=512&h=400&n=0','71099864','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71099864&idxID=107','1','2','...');
	propertiescf59bca5c3[18] = new Array('299,000','159-B Pleasant St','Arlington, MA 02476 ','http://media.mlspin.com/photo.aspx?mls=71121859&w=512&h=400&n=0','71121859','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71121859&idxID=107','0','0','...');
	var urlVarcf59bca5c3;
	var preLoadcf59bca5c3 = new Image();
	preLoadcf59bca5c3.src = propertiescf59bca5c3[ccf59bca5c3wi][3];
	onLoad = playcf59bca5c3();
