	// 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 time685979d20dout = 9000;
	var c685979d20dwi = 0;
	
	// i685979d20dsf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i685979d20dsf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap685979d20dfade setup function
	function swap685979d20dfade()
	{
		//if the timer is not already going
		if(i685979d20dsf.clock == null)
		{
			//copy the image object 
			i685979d20dsf.obj = arguments[0];
			
			//copy the image src argument 
			i685979d20dsf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i685979d20dsf.obj.style.opacity != 'undefined')
			{
				i685979d20dsf.type = 'w3c';
			}
			else if(typeof i685979d20dsf.obj.style.MozOpacity != 'undefined')
			{
				i685979d20dsf.type = 'moz';
			}
			else if(typeof i685979d20dsf.obj.style.KhtmlOpacity != 'undefined')
			{
				i685979d20dsf.type = 'khtml';
			}
			else if(typeof i685979d20dsf.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
				i685979d20dsf.type = (i685979d20dsf.obj.filters.length > 0 && typeof i685979d20dsf.obj.filters.alpha == 'object' && typeof i685979d20dsf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i685979d20dsf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i685979d20dsf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i685979d20dsf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap685979d20dfade is two distinct transitions
				i685979d20dsf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i685979d20dsf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i685979d20dsf.clock = setInterval('i685979d20dsf.swap685979d20dfade()', i685979d20dsf.length/i685979d20dsf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i685979d20dsf.obj.src = i685979d20dsf.src;
			}
			
		}
	};
	
	
	//swap685979d20dfade timer function
	i685979d20dsf.swap685979d20dfade = function()
	{
		//increase or reduce the counter on an exponential scale
		i685979d20dsf.count = (i685979d20dsf.fade) ? i685979d20dsf.count * 0.9 : (i685979d20dsf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i685979d20dsf.count < (1 / i685979d20dsf.resolution))
		{
			//clear the timer
			clearInterval(i685979d20dsf.clock);
			i685979d20dsf.clock = null;
	
			//do the image swap
			i685979d20dsf.obj.src = i685979d20dsf.src;
	
			//reverse the fade direction flag
			i685979d20dsf.fade = false;
			
			//restart the timer
			i685979d20dsf.clock = setInterval('i685979d20dsf.swap685979d20dfade()', i685979d20dsf.length/i685979d20dsf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i685979d20dsf.count > (1 - (1 / i685979d20dsf.resolution)))
		{
			//clear the timer
			clearInterval(i685979d20dsf.clock);
			i685979d20dsf.clock = null;
	
			//reset the fade direction flag
			i685979d20dsf.fade = true;
			
			//reset the counter
			i685979d20dsf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i685979d20dsf.type)
		{
			case 'ie' :
				i685979d20dsf.obj.filters.alpha.opacity = i685979d20dsf.count * 100;
				break;
				
			case 'khtml' :
				i685979d20dsf.obj.style.KhtmlOpacity = i685979d20dsf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i685979d20dsf.obj.style.MozOpacity = (i685979d20dsf.count == 1 ? 0.9999999 : i685979d20dsf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i685979d20dsf.obj.style.opacity = (i685979d20dsf.count == 1 ? 0.9999999 : i685979d20dsf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-685979d20d-slideshow { text-align: center; width: 170px;  }');
	document.writeln('.IDX-685979d20d-image { width: 125px; height: 117px;  }');
	document.writeln('#IDX-685979d20d-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next685979d20d = 1;
	prev685979d20d = 25 - 1;

	document.writeln('<div id="IDX-685979d20d-slideshow">');
	document.writeln('<div id="IDX-685979d20d-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-685979d20d-ssImageURL" class="IDX-685979d20d-ssLinkText"><img id="IDX-685979d20d-ssImage" name="685979d20d-ssImage" alt="Slideshow image" border="0"  class="IDX-685979d20d-image" src="http://media.mlspin.com/photo.aspx?mls=71106369&w=512&h=400&n=0" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-685979d20d-priceLine"></div>');
	document.writeln('<div id="IDX-685979d20d-addressLine"></div>');
	document.writeln('<div id="IDX-685979d20d-cszLine"></div>');
	document.writeln('<div id="IDX-685979d20d-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-685979d20d-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-685979d20d-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play685979d20d()
	{
		
		
		urlVar685979d20d = '<a href="'+properties685979d20d[c685979d20dwi][6]+'" class="IDX-685979d20d-ssLinkText">';
		swap685979d20dfade(document.getElementById('IDX-685979d20d-ssImage'), preLoad685979d20d.src, '1', ' ');
		document.getElementById('IDX-685979d20d-ssImageURL').href = properties685979d20d[c685979d20dwi][6];
		document.getElementById('IDX-685979d20d-priceLine').innerHTML = urlVar685979d20d+'$'+properties685979d20d[c685979d20dwi][0]+'</a>';
		document.getElementById('IDX-685979d20d-addressLine').innerHTML =  urlVar685979d20d+properties685979d20d[c685979d20dwi][1]+'</a>';
		document.getElementById('IDX-685979d20d-cszLine').innerHTML = urlVar685979d20d+properties685979d20d[c685979d20dwi][2]+'</a>';
		document.getElementById('IDX-685979d20d-bedLine').innerHTML = urlVar685979d20d+'Beds: '+properties685979d20d[c685979d20dwi][7]+'</a>';
		document.getElementById('IDX-685979d20d-bathLine').innerHTML = urlVar685979d20d+'Baths: '+properties685979d20d[c685979d20dwi][8]+'</a>';
		document.getElementById('IDX-685979d20d-remarkLine').innerHTML = urlVar685979d20d+properties685979d20d[c685979d20dwi][9]+'</a>';
		
		preLoad685979d20d = new Image();
		preLoad685979d20d.src = properties685979d20d[next685979d20d][3];
		
		update685979d20d();
		
		c685979d20d = setTimeout('play685979d20d()', time685979d20dout);	
		
		
	} // end play()
	function update685979d20d()
	{		
		c685979d20dwi = next685979d20d;		
		genNext685979d20d();
		genPrev685979d20d();
		
	}
	function genNext685979d20d()
	{
		next685979d20d = c685979d20dwi + 1;
		if (next685979d20d >= 25)
			next685979d20d = 0;
	} // end genNext
	function genPrev685979d20d()
	{
		prev685979d20d = c685979d20dwi - 1;
		if (prev685979d20d < 0)
			prev685979d20d = 25 - 1;
	} // end genPrev

	var properties685979d20d = new Array(25);
	properties685979d20d[0] = new Array('204,900','53 Chester Avenue','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71106369&w=512&h=400&n=0','71106369','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106369&idxID=107','2','1','...');
	properties685979d20d[1] = new Array('209,900','30 JACQUELINE ROAD','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71032671&w=512&h=400&n=0','71032671','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71032671&idxID=107','2','1','...');
	properties685979d20d[2] = new Array('209,900','1105 LEXINGTON STREET','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71059688&w=512&h=400&n=0','71059688','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71059688&idxID=107','2','1','...');
	properties685979d20d[3] = new Array('214,900','74 SCHOOL STREET','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71126770&w=512&h=400&n=0','71126770','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71126770&idxID=107','2','1','...');
	properties685979d20d[4] = new Array('214,900','1105 LEXINGTON STREET','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71088191&w=512&h=400&n=0','71088191','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71088191&idxID=107','2','1','...');
	properties685979d20d[5] = new Array('219,000','249 Ash','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71093749&w=512&h=400&n=0','71093749','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71093749&idxID=107','1','1','...');
	properties685979d20d[6] = new Array('219,900','9 Barton St','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71123890&w=512&h=400&n=0','71123890','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71123890&idxID=107','1','1','...');
	properties685979d20d[7] = new Array('229,900','11 JACQUELINE ROAD','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71111627&w=512&h=400&n=0','71111627','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111627&idxID=107','2','1','...');
	properties685979d20d[8] = new Array('234,900','168 Adams Street','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71102830&w=512&h=400&n=0','71102830','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71102830&idxID=107','2','1','...');
	properties685979d20d[9] = new Array('239,500','56 Jacqueline Rd','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71091318&w=512&h=400&n=0','71091318','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71091318&idxID=107','2','1','...');
	properties685979d20d[10] = new Array('239,900','250 Lake St','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71061805&w=512&h=400&n=0','71061805','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71061805&idxID=107','3','1','...');
	properties685979d20d[11] = new Array('246,500','63 Ash St','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71080916&w=512&h=400&n=0','71080916','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71080916&idxID=107','1','1','...');
	properties685979d20d[12] = new Array('249,000','77 Guinan','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71127270&w=512&h=400&n=0','71127270','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71127270&idxID=107','2','1','...');
	properties685979d20d[13] = new Array('249,900','22 Orchard Ave','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71018953&w=512&h=400&n=0','71018953','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71018953&idxID=107','2','1','...');
	properties685979d20d[14] = new Array('249,900','10 CENTRAL STREET','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71125478&w=512&h=400&n=0','71125478','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71125478&idxID=107','2','1','...');
	properties685979d20d[15] = new Array('259,000','58 Rich Street','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71111689&w=512&h=400&n=0','71111689','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71111689&idxID=107','2','1','...');
	properties685979d20d[16] = new Array('259,900','16 Winter Street','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71038883&w=512&h=400&n=0','71038883','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71038883&idxID=107','2','2','...');
	properties685979d20d[17] = new Array('259,900','164 CHURCH STREET','Waltham, MA 02452 ','http://media.mlspin.com/photo.aspx?mls=71114707&w=512&h=400&n=0','71114707','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71114707&idxID=107','2','1.1','...');
	properties685979d20d[18] = new Array('259,900','11 Brook Ave','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71075171&w=512&h=400&n=0','71075171','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71075171&idxID=107','3','1','...');
	properties685979d20d[19] = new Array('259,900','53 WELLINGTON STREET','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71101706&w=512&h=400&n=0','71101706','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71101706&idxID=107','2','1','...');
	properties685979d20d[20] = new Array('264,900','87 Ash Street','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71105095&w=512&h=400&n=0','71105095','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71105095&idxID=107','1','1','...');
	properties685979d20d[21] = new Array('265,000','81 Guinan','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71049322&w=512&h=400&n=0','71049322','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71049322&idxID=107','2','1','...');
	properties685979d20d[22] = new Array('268,500','138 Robbins St','Waltham, MA 02453 ','http://media.mlspin.com/photo.aspx?mls=71070573&w=512&h=400&n=0','71070573','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71070573&idxID=107','2','1','...');
	properties685979d20d[23] = new Array('269,900','230 LOWELL STREET','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71106241&w=512&h=400&n=0','71106241','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71106241&idxID=107','2','1','...');
	properties685979d20d[24] = new Array('269,900','131 COLLEGE FARM ROAD','Waltham, MA 02451 ','http://media.mlspin.com/photo.aspx?mls=71047724&w=512&h=400&n=0','71047724','107','http://mls.claytonrealtygroup.com/idx/3448/details.php?listingID=71047724&idxID=107','3','1','...');
	var urlVar685979d20d;
	var preLoad685979d20d = new Image();
	preLoad685979d20d.src = properties685979d20d[c685979d20dwi][3];
	onLoad = play685979d20d();
