	// 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 time1cfb0765e6out = 5000;
	var c1cfb0765e6wi = 0;
	
	// i1cfb0765e6sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i1cfb0765e6sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap1cfb0765e6fade setup function
	function swap1cfb0765e6fade()
	{
		//if the timer is not already going
		if(i1cfb0765e6sf.clock == null)
		{
			//copy the image object 
			i1cfb0765e6sf.obj = arguments[0];
			
			//copy the image src argument 
			i1cfb0765e6sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i1cfb0765e6sf.obj.style.opacity != 'undefined')
			{
				i1cfb0765e6sf.type = 'w3c';
			}
			else if(typeof i1cfb0765e6sf.obj.style.MozOpacity != 'undefined')
			{
				i1cfb0765e6sf.type = 'moz';
			}
			else if(typeof i1cfb0765e6sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i1cfb0765e6sf.type = 'khtml';
			}
			else if(typeof i1cfb0765e6sf.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
				i1cfb0765e6sf.type = (i1cfb0765e6sf.obj.filters.length > 0 && typeof i1cfb0765e6sf.obj.filters.alpha == 'object' && typeof i1cfb0765e6sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i1cfb0765e6sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i1cfb0765e6sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i1cfb0765e6sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap1cfb0765e6fade is two distinct transitions
				i1cfb0765e6sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i1cfb0765e6sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i1cfb0765e6sf.clock = setInterval('i1cfb0765e6sf.swap1cfb0765e6fade()', i1cfb0765e6sf.length/i1cfb0765e6sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i1cfb0765e6sf.obj.src = i1cfb0765e6sf.src;
			}
			
		}
	};
	
	
	//swap1cfb0765e6fade timer function
	i1cfb0765e6sf.swap1cfb0765e6fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i1cfb0765e6sf.count = (i1cfb0765e6sf.fade) ? i1cfb0765e6sf.count * 0.9 : (i1cfb0765e6sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i1cfb0765e6sf.count < (1 / i1cfb0765e6sf.resolution))
		{
			//clear the timer
			clearInterval(i1cfb0765e6sf.clock);
			i1cfb0765e6sf.clock = null;
	
			//do the image swap
			i1cfb0765e6sf.obj.src = i1cfb0765e6sf.src;
	
			//reverse the fade direction flag
			i1cfb0765e6sf.fade = false;
			
			//restart the timer
			i1cfb0765e6sf.clock = setInterval('i1cfb0765e6sf.swap1cfb0765e6fade()', i1cfb0765e6sf.length/i1cfb0765e6sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i1cfb0765e6sf.count > (1 - (1 / i1cfb0765e6sf.resolution)))
		{
			//clear the timer
			clearInterval(i1cfb0765e6sf.clock);
			i1cfb0765e6sf.clock = null;
	
			//reset the fade direction flag
			i1cfb0765e6sf.fade = true;
			
			//reset the counter
			i1cfb0765e6sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i1cfb0765e6sf.type)
		{
			case 'ie' :
				i1cfb0765e6sf.obj.filters.alpha.opacity = i1cfb0765e6sf.count * 100;
				break;
				
			case 'khtml' :
				i1cfb0765e6sf.obj.style.KhtmlOpacity = i1cfb0765e6sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i1cfb0765e6sf.obj.style.MozOpacity = (i1cfb0765e6sf.count == 1 ? 0.9999999 : i1cfb0765e6sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i1cfb0765e6sf.obj.style.opacity = (i1cfb0765e6sf.count == 1 ? 0.9999999 : i1cfb0765e6sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-1cfb0765e6-slideshow { text-align: center; width: 600px;  }');
	document.writeln('.IDX-1cfb0765e6-image { width: 480px; height: 360px;  }');
	document.writeln('#IDX-1cfb0765e6-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next1cfb0765e6 = 1;
	prev1cfb0765e6 = 8 - 1;

	document.writeln('<div id="IDX-1cfb0765e6-slideshow">');
	document.writeln('<div id="IDX-1cfb0765e6-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-1cfb0765e6-ssImageURL" class="IDX-1cfb0765e6-ssLinkText"><img id="IDX-1cfb0765e6-ssImage" name="1cfb0765e6-ssImage" alt="Slideshow image" border="0"  class="IDX-1cfb0765e6-image" src="http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/021/20931721.jpg" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-1cfb0765e6-priceLine"></div>');
	document.writeln('<div id="IDX-1cfb0765e6-addressLine"></div>');
	document.writeln('<div id="IDX-1cfb0765e6-cszLine"></div>');
	document.writeln('<div id="IDX-1cfb0765e6-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-1cfb0765e6-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-1cfb0765e6-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play1cfb0765e6()
	{
		
		
		urlVar1cfb0765e6 = '<a href="'+properties1cfb0765e6[c1cfb0765e6wi][6]+'" class="IDX-1cfb0765e6-ssLinkText">';
		swap1cfb0765e6fade(document.getElementById('IDX-1cfb0765e6-ssImage'), preLoad1cfb0765e6.src, '1', ' ');
		document.getElementById('IDX-1cfb0765e6-ssImageURL').href = properties1cfb0765e6[c1cfb0765e6wi][6];
		document.getElementById('IDX-1cfb0765e6-priceLine').innerHTML = urlVar1cfb0765e6+'$'+properties1cfb0765e6[c1cfb0765e6wi][0]+'</a>';
		document.getElementById('IDX-1cfb0765e6-addressLine').innerHTML =  urlVar1cfb0765e6+properties1cfb0765e6[c1cfb0765e6wi][1]+'</a>';
		document.getElementById('IDX-1cfb0765e6-cszLine').innerHTML = urlVar1cfb0765e6+properties1cfb0765e6[c1cfb0765e6wi][2]+'</a>';
		document.getElementById('IDX-1cfb0765e6-bedLine').innerHTML = urlVar1cfb0765e6+'Beds: '+properties1cfb0765e6[c1cfb0765e6wi][7]+'</a>';
		document.getElementById('IDX-1cfb0765e6-bathLine').innerHTML = urlVar1cfb0765e6+'Baths: '+properties1cfb0765e6[c1cfb0765e6wi][8]+'</a>';
		document.getElementById('IDX-1cfb0765e6-remarkLine').innerHTML = urlVar1cfb0765e6+properties1cfb0765e6[c1cfb0765e6wi][9]+'</a>';
		
		preLoad1cfb0765e6 = new Image();
		preLoad1cfb0765e6.src = properties1cfb0765e6[next1cfb0765e6][3];
		
		update1cfb0765e6();
		
		c1cfb0765e6 = setTimeout('play1cfb0765e6()', time1cfb0765e6out);	
		
		
	} // end play()
	function update1cfb0765e6()
	{		
		c1cfb0765e6wi = next1cfb0765e6;		
		genNext1cfb0765e6();
		genPrev1cfb0765e6();
		
	}
	function genNext1cfb0765e6()
	{
		next1cfb0765e6 = c1cfb0765e6wi + 1;
		if (next1cfb0765e6 >= 8)
			next1cfb0765e6 = 0;
	} // end genNext
	function genPrev1cfb0765e6()
	{
		prev1cfb0765e6 = c1cfb0765e6wi - 1;
		if (prev1cfb0765e6 < 0)
			prev1cfb0765e6 = 8 - 1;
	} // end genPrev

	var properties1cfb0765e6 = new Array(8);
	properties1cfb0765e6[0] = new Array('319,900','103  Crickett Ct','Windsor, CA 95492 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/021/20931721.jpg','20931721','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20931721&idxID=047','3','2','Great one story 3/2 home located close to Michael Hall Neigh...');
	properties1cfb0765e6[1] = new Array('319,900','600  Smoketree Ct','Windsor, CA 95492 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/089/20932089.jpg','20932089','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20932089&idxID=047','3','2','1 story 3/2 home, located on a corner lot. Central heating a...');
	properties1cfb0765e6[2] = new Array('319,900','1897  Howard Dr','Windsor, CA 95492 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/010/21003210.jpg','21003210','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21003210&idxID=047','3','2','Cute 3 bedroom 2 bath home in central Windsor located close ...');
	properties1cfb0765e6[3] = new Array('320,000','9992  Wallace Way','Windsor, CA 95492 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/081/21000481.jpg','21000481','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21000481&idxID=047','3','2','Nice Bank Owned 3 bed 2 bath home....');
	properties1cfb0765e6[4] = new Array('324,900','8525  Planetree Dr','Windsor, CA 95492 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/082/21000782.jpg','21000782','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21000782&idxID=047','3','2','Well located Windsor home, nice yard for entertaining. Large...');
	properties1cfb0765e6[5] = new Array('331,500','669  Decanter Cir','Windsor, CA 95492 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/065/21002065.jpg','21002065','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21002065&idxID=047','3','2','Clean single level home has a great rear yard that features ...');
	properties1cfb0765e6[6] = new Array('349,900','7037  Edinburgh Ct','Windsor, CA 95492 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/066/21000466.jpg','21000466','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21000466&idxID=047','4','3','Light &amp; Bright 4 bedroom 3 full bath home with 2,032+/- ...');
	properties1cfb0765e6[7] = new Array('364,900','8092  Leno Dr','Windsor, CA 95492 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/084/21000584.jpg','21000584','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21000584&idxID=047','3','2','This property is located in one of the most prestigious neig...');
	var urlVar1cfb0765e6;
	var preLoad1cfb0765e6 = new Image();
	preLoad1cfb0765e6.src = properties1cfb0765e6[c1cfb0765e6wi][3];
	onLoad = play1cfb0765e6();
