	// 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 time2bef724edcout = 7000;
	var c2bef724edcwi = 0;
	
	// i2bef724edcsf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i2bef724edcsf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap2bef724edcfade setup function
	function swap2bef724edcfade()
	{
		//if the timer is not already going
		if(i2bef724edcsf.clock == null)
		{
			//copy the image object 
			i2bef724edcsf.obj = arguments[0];
			
			//copy the image src argument 
			i2bef724edcsf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i2bef724edcsf.obj.style.opacity != 'undefined')
			{
				i2bef724edcsf.type = 'w3c';
			}
			else if(typeof i2bef724edcsf.obj.style.MozOpacity != 'undefined')
			{
				i2bef724edcsf.type = 'moz';
			}
			else if(typeof i2bef724edcsf.obj.style.KhtmlOpacity != 'undefined')
			{
				i2bef724edcsf.type = 'khtml';
			}
			else if(typeof i2bef724edcsf.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
				i2bef724edcsf.type = (i2bef724edcsf.obj.filters.length > 0 && typeof i2bef724edcsf.obj.filters.alpha == 'object' && typeof i2bef724edcsf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i2bef724edcsf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i2bef724edcsf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i2bef724edcsf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap2bef724edcfade is two distinct transitions
				i2bef724edcsf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i2bef724edcsf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i2bef724edcsf.clock = setInterval('i2bef724edcsf.swap2bef724edcfade()', i2bef724edcsf.length/i2bef724edcsf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i2bef724edcsf.obj.src = i2bef724edcsf.src;
			}
			
		}
	};
	
	
	//swap2bef724edcfade timer function
	i2bef724edcsf.swap2bef724edcfade = function()
	{
		//increase or reduce the counter on an exponential scale
		i2bef724edcsf.count = (i2bef724edcsf.fade) ? i2bef724edcsf.count * 0.9 : (i2bef724edcsf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i2bef724edcsf.count < (1 / i2bef724edcsf.resolution))
		{
			//clear the timer
			clearInterval(i2bef724edcsf.clock);
			i2bef724edcsf.clock = null;
	
			//do the image swap
			i2bef724edcsf.obj.src = i2bef724edcsf.src;
	
			//reverse the fade direction flag
			i2bef724edcsf.fade = false;
			
			//restart the timer
			i2bef724edcsf.clock = setInterval('i2bef724edcsf.swap2bef724edcfade()', i2bef724edcsf.length/i2bef724edcsf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i2bef724edcsf.count > (1 - (1 / i2bef724edcsf.resolution)))
		{
			//clear the timer
			clearInterval(i2bef724edcsf.clock);
			i2bef724edcsf.clock = null;
	
			//reset the fade direction flag
			i2bef724edcsf.fade = true;
			
			//reset the counter
			i2bef724edcsf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i2bef724edcsf.type)
		{
			case 'ie' :
				i2bef724edcsf.obj.filters.alpha.opacity = i2bef724edcsf.count * 100;
				break;
				
			case 'khtml' :
				i2bef724edcsf.obj.style.KhtmlOpacity = i2bef724edcsf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i2bef724edcsf.obj.style.MozOpacity = (i2bef724edcsf.count == 1 ? 0.9999999 : i2bef724edcsf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i2bef724edcsf.obj.style.opacity = (i2bef724edcsf.count == 1 ? 0.9999999 : i2bef724edcsf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-2bef724edc-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-2bef724edc-image { width: 135px; height: 117px;  }');
	document.writeln('#IDX-2bef724edc-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next2bef724edc = 1;
	prev2bef724edc = 25 - 1;

	document.writeln('<div id="IDX-2bef724edc-slideshow">');
	document.writeln('<div id="IDX-2bef724edc-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-2bef724edc-ssImageURL" class="IDX-2bef724edc-ssLinkText"><img id="IDX-2bef724edc-ssImage" name="2bef724edc-ssImage" alt="Slideshow image" border="0"  class="IDX-2bef724edc-image" src="http://media.mlspin.com/photo.aspx?mls=71047539&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-2bef724edc-priceLine"></div>');
	document.writeln('<div id="IDX-2bef724edc-addressLine"></div>');
	document.writeln('<div id="IDX-2bef724edc-cszLine"></div>');
	document.writeln('<div id="IDX-2bef724edc-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-2bef724edc-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-2bef724edc-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play2bef724edc()
	{
		
		
		urlVar2bef724edc = '<a href="'+properties2bef724edc[c2bef724edcwi][6]+'" class="IDX-2bef724edc-ssLinkText">';
		swap2bef724edcfade(document.getElementById('IDX-2bef724edc-ssImage'), preLoad2bef724edc.src, '1', ' ');
		document.getElementById('IDX-2bef724edc-ssImageURL').href = properties2bef724edc[c2bef724edcwi][6];
		document.getElementById('IDX-2bef724edc-priceLine').innerHTML = urlVar2bef724edc+'$'+properties2bef724edc[c2bef724edcwi][0]+'</a>';
		document.getElementById('IDX-2bef724edc-addressLine').innerHTML =  urlVar2bef724edc+properties2bef724edc[c2bef724edcwi][1]+'</a>';
		document.getElementById('IDX-2bef724edc-cszLine').innerHTML = urlVar2bef724edc+properties2bef724edc[c2bef724edcwi][2]+'</a>';
		document.getElementById('IDX-2bef724edc-bedLine').innerHTML = urlVar2bef724edc+'Beds: '+properties2bef724edc[c2bef724edcwi][7]+'</a>';
		document.getElementById('IDX-2bef724edc-bathLine').innerHTML = urlVar2bef724edc+'Baths: '+properties2bef724edc[c2bef724edcwi][8]+'</a>';
		document.getElementById('IDX-2bef724edc-remarkLine').innerHTML = urlVar2bef724edc+properties2bef724edc[c2bef724edcwi][9]+'</a>';
		
		preLoad2bef724edc = new Image();
		preLoad2bef724edc.src = properties2bef724edc[next2bef724edc][3];
		
		update2bef724edc();
		
		c2bef724edc = setTimeout('play2bef724edc()', time2bef724edcout);	
		
		
	} // end play()
	function update2bef724edc()
	{		
		c2bef724edcwi = next2bef724edc;		
		genNext2bef724edc();
		genPrev2bef724edc();
		
	}
	function genNext2bef724edc()
	{
		next2bef724edc = c2bef724edcwi + 1;
		if (next2bef724edc >= 25)
			next2bef724edc = 0;
	} // end genNext
	function genPrev2bef724edc()
	{
		prev2bef724edc = c2bef724edcwi - 1;
		if (prev2bef724edc < 0)
			prev2bef724edc = 25 - 1;
	} // end genPrev

	var properties2bef724edc = new Array(25);
	properties2bef724edc[0] = new Array('899,000','83 Church Street','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71047539&w=512&h=400&n=0','71047539','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71047539&idxID=107','2','2','...');
	properties2bef724edc[1] = new Array('899,000','25 Sunset Road','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71051221&w=512&h=400&n=0','71051221','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71051221&idxID=107','4','3.2','...');
	properties2bef724edc[2] = new Array('879,900','32 Mayflower Road','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71126491&w=512&h=400&n=0','71126491','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71126491&idxID=107','3','3','...');
	properties2bef724edc[3] = new Array('869,000','188 Mystic Valley Parkway','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71067666&w=512&h=400&n=0','71067666','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71067666&idxID=107','4','2.1','...');
	properties2bef724edc[4] = new Array('865,000','142 Highland Avenue','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71124258&w=512&h=400&n=0','71124258','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71124258&idxID=107','4','3.1','...');
	properties2bef724edc[5] = new Array('849,900','29 Leslie Rd','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71090938&w=512&h=400&n=0','71090938','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71090938&idxID=107','3','2.1','...');
	properties2bef724edc[6] = new Array('849,000','57 Jefferson Rd','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71118595&w=512&h=400&n=0','71118595','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71118595&idxID=107','4','2.1','...');
	properties2bef724edc[7] = new Array('839,000','2 Graystone Circle','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=70971381&w=512&h=400&n=0','70971381','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70971381&idxID=107','2','2.1','...');
	properties2bef724edc[8] = new Array('829,000','42 Canterbury Road','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71132335&w=512&h=400&n=0','71132335','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71132335&idxID=107','3','2.2','...');
	properties2bef724edc[9] = new Array('829,000','30 Robinhood Road','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71095507&w=512&h=400&n=0','71095507','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71095507&idxID=107','5','3.1','...');
	properties2bef724edc[10] = new Array('820,000','30 Graystone Circle','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71093155&w=512&h=400&n=0','71093155','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71093155&idxID=107','2','2.1','...');
	properties2bef724edc[11] = new Array('799,900','91 Thornberry Road','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71089425&w=512&h=400&n=0','71089425','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71089425&idxID=107','4','2.1','...');
	properties2bef724edc[12] = new Array('779,000','9 Graystone Circle','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=70972101&w=512&h=400&n=0','70972101','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=70972101&idxID=107','2','2.1','...');
	properties2bef724edc[13] = new Array('775,000','261 Cambridge St','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71095474&w=512&h=400&n=0','71095474','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71095474&idxID=107','3','2.1','...');
	properties2bef724edc[14] = new Array('769,000','7 Wainwright Rd','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71126802&w=512&h=400&n=0','71126802','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71126802&idxID=107','3','2.1','...');
	properties2bef724edc[15] = new Array('759,000','11 Graystone Circle','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71093154&w=512&h=400&n=0','71093154','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71093154&idxID=107','2','2.1','...');
	properties2bef724edc[16] = new Array('755,000','4 York Road','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71105960&w=512&h=400&n=0','71105960','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105960&idxID=107','5','2.1','...');
	properties2bef724edc[17] = new Array('749,900','44 N BORDER ROAD','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71060836&w=512&h=400&n=0','71060836','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71060836&idxID=107','3','2.1','...');
	properties2bef724edc[18] = new Array('749,000','8 Maxwell Road','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71132301&w=512&h=400&n=0','71132301','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71132301&idxID=107','4','1.1','...');
	properties2bef724edc[19] = new Array('739,000','33 Pierrepont Rd','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71130655&w=512&h=400&n=0','71130655','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71130655&idxID=107','4','2.1','...');
	properties2bef724edc[20] = new Array('735,000','90 Middlesex St','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71125611&w=512&h=400&n=0','71125611','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71125611&idxID=107','4','2.1','...');
	properties2bef724edc[21] = new Array('735,000','90 Middlesex St','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71125601&w=512&h=400&n=0','71125601','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71125601&idxID=107','4','2.1','...');
	properties2bef724edc[22] = new Array('729,000','10 Winchester Place','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71129960&w=512&h=400&n=0','71129960','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71129960&idxID=107','2','2','...');
	properties2bef724edc[23] = new Array('724,900','230 Mystic Valley Parkway','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71103604&w=512&h=400&n=0','71103604','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71103604&idxID=107','4','2.1','...');
	properties2bef724edc[24] = new Array('699,900','125 Cambridge Street','Winchester, MA 01890 ','http://media.mlspin.com/photo.aspx?mls=71068439&w=512&h=400&n=0','71068439','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71068439&idxID=107','7','4','...');
	var urlVar2bef724edc;
	var preLoad2bef724edc = new Image();
	preLoad2bef724edc.src = properties2bef724edc[c2bef724edcwi][3];
	onLoad = play2bef724edc();
