	// 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 time768720bed0out = 8000;
	var c768720bed0wi = 0;
	
	// i768720bed0sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i768720bed0sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap768720bed0fade setup function
	function swap768720bed0fade()
	{
		//if the timer is not already going
		if(i768720bed0sf.clock == null)
		{
			//copy the image object 
			i768720bed0sf.obj = arguments[0];
			
			//copy the image src argument 
			i768720bed0sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i768720bed0sf.obj.style.opacity != 'undefined')
			{
				i768720bed0sf.type = 'w3c';
			}
			else if(typeof i768720bed0sf.obj.style.MozOpacity != 'undefined')
			{
				i768720bed0sf.type = 'moz';
			}
			else if(typeof i768720bed0sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i768720bed0sf.type = 'khtml';
			}
			else if(typeof i768720bed0sf.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
				i768720bed0sf.type = (i768720bed0sf.obj.filters.length > 0 && typeof i768720bed0sf.obj.filters.alpha == 'object' && typeof i768720bed0sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i768720bed0sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i768720bed0sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i768720bed0sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap768720bed0fade is two distinct transitions
				i768720bed0sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i768720bed0sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i768720bed0sf.clock = setInterval('i768720bed0sf.swap768720bed0fade()', i768720bed0sf.length/i768720bed0sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i768720bed0sf.obj.src = i768720bed0sf.src;
			}
			
		}
	};
	
	
	//swap768720bed0fade timer function
	i768720bed0sf.swap768720bed0fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i768720bed0sf.count = (i768720bed0sf.fade) ? i768720bed0sf.count * 0.9 : (i768720bed0sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i768720bed0sf.count < (1 / i768720bed0sf.resolution))
		{
			//clear the timer
			clearInterval(i768720bed0sf.clock);
			i768720bed0sf.clock = null;
	
			//do the image swap
			i768720bed0sf.obj.src = i768720bed0sf.src;
	
			//reverse the fade direction flag
			i768720bed0sf.fade = false;
			
			//restart the timer
			i768720bed0sf.clock = setInterval('i768720bed0sf.swap768720bed0fade()', i768720bed0sf.length/i768720bed0sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i768720bed0sf.count > (1 - (1 / i768720bed0sf.resolution)))
		{
			//clear the timer
			clearInterval(i768720bed0sf.clock);
			i768720bed0sf.clock = null;
	
			//reset the fade direction flag
			i768720bed0sf.fade = true;
			
			//reset the counter
			i768720bed0sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i768720bed0sf.type)
		{
			case 'ie' :
				i768720bed0sf.obj.filters.alpha.opacity = i768720bed0sf.count * 100;
				break;
				
			case 'khtml' :
				i768720bed0sf.obj.style.KhtmlOpacity = i768720bed0sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i768720bed0sf.obj.style.MozOpacity = (i768720bed0sf.count == 1 ? 0.9999999 : i768720bed0sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i768720bed0sf.obj.style.opacity = (i768720bed0sf.count == 1 ? 0.9999999 : i768720bed0sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-768720bed0-slideshow { text-align: center; width: 480px;  }');
	document.writeln('.IDX-768720bed0-image { width: 400px; height: 300px;  }');
	document.writeln('#IDX-768720bed0-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next768720bed0 = 1;
	prev768720bed0 = 25 - 1;

	document.writeln('<div id="IDX-768720bed0-slideshow">');
	document.writeln('<div id="IDX-768720bed0-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-768720bed0-ssImageURL" class="IDX-768720bed0-ssLinkText"><img id="IDX-768720bed0-ssImage" name="768720bed0-ssImage" alt="Slideshow image" border="0"  class="IDX-768720bed0-image" src="http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/076/20929976.jpg" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-768720bed0-priceLine"></div>');
	document.writeln('<div id="IDX-768720bed0-addressLine"></div>');
	document.writeln('<div id="IDX-768720bed0-cszLine"></div>');
	document.writeln('<div id="IDX-768720bed0-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-768720bed0-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-768720bed0-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play768720bed0()
	{
		
		
		urlVar768720bed0 = '<a href="'+properties768720bed0[c768720bed0wi][6]+'" class="IDX-768720bed0-ssLinkText">';
		swap768720bed0fade(document.getElementById('IDX-768720bed0-ssImage'), preLoad768720bed0.src, '1', ' ');
		document.getElementById('IDX-768720bed0-ssImageURL').href = properties768720bed0[c768720bed0wi][6];
		document.getElementById('IDX-768720bed0-priceLine').innerHTML = urlVar768720bed0+'$'+properties768720bed0[c768720bed0wi][0]+'</a>';
		document.getElementById('IDX-768720bed0-addressLine').innerHTML =  urlVar768720bed0+properties768720bed0[c768720bed0wi][1]+'</a>';
		document.getElementById('IDX-768720bed0-cszLine').innerHTML = urlVar768720bed0+properties768720bed0[c768720bed0wi][2]+'</a>';
		document.getElementById('IDX-768720bed0-bedLine').innerHTML = urlVar768720bed0+'Beds: '+properties768720bed0[c768720bed0wi][7]+'</a>';
		document.getElementById('IDX-768720bed0-bathLine').innerHTML = urlVar768720bed0+'Baths: '+properties768720bed0[c768720bed0wi][8]+'</a>';
		document.getElementById('IDX-768720bed0-remarkLine').innerHTML = urlVar768720bed0+properties768720bed0[c768720bed0wi][9]+'</a>';
		
		preLoad768720bed0 = new Image();
		preLoad768720bed0.src = properties768720bed0[next768720bed0][3];
		
		update768720bed0();
		
		c768720bed0 = setTimeout('play768720bed0()', time768720bed0out);	
		
		
	} // end play()
	function update768720bed0()
	{		
		c768720bed0wi = next768720bed0;		
		genNext768720bed0();
		genPrev768720bed0();
		
	}
	function genNext768720bed0()
	{
		next768720bed0 = c768720bed0wi + 1;
		if (next768720bed0 >= 25)
			next768720bed0 = 0;
	} // end genNext
	function genPrev768720bed0()
	{
		prev768720bed0 = c768720bed0wi - 1;
		if (prev768720bed0 < 0)
			prev768720bed0 = 25 - 1;
	} // end genPrev

	var properties768720bed0 = new Array(25);
	properties768720bed0[0] = new Array('550,000','1400  Lloyd Ave','Santa Rosa, CA 95407 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/076/20929976.jpg','20929976','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20929976&idxID=047','3','1','Great country property with plenty of potential. See the bea...');
	properties768720bed0[1] = new Array('595,000','663  Todd Rd','Santa Rosa, CA 95407 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/026/20921226.jpg','20921226','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20921226&idxID=047','3','2','3 bed 1 1/2 bath vintage farm house on 10 flat usable acres ...');
	properties768720bed0[2] = new Array('695,000','818  Dry Creek Rd','Healdsburg, CA 95448 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/048/20904748.jpg','20904748','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20904748&idxID=047','2','2','6 acre vineyard/residence located in the heart of Dry Creek ...');
	properties768720bed0[3] = new Array('899,000','3645  Middle Two Rock Rd','Petaluma, CA 94952 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/028/20924128.jpg','20924128','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20924128&idxID=047','6','2','Fabulous 33 ac. parcel. Great for pasture, livestock, horses...');
	properties768720bed0[4] = new Array('999,999','7610  Two Rock Rd','Petaluma, CA 94952 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/063/20922763.jpg','20922763','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20922763&idxID=047','2','1','This  Historical Property which is known for the name Two Ro...');
	properties768720bed0[5] = new Array('1,250,000','7000  Foothill Ranch Rd','Santa Rosa, CA 95404 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/015/20930615.jpg','20930615','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20930615&idxID=047','3','3','Magnificent Views and Privacy.  10 private acres with both o...');
	properties768720bed0[6] = new Array('1,295,000','11940  Old Redwood Hwy','Healdsburg, CA 95448 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/053/20821053.jpg','20821053','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20821053&idxID=047','3','2','Huge price drop! 2 parcels 11+ acres.  10+/- planted to Sauv...');
	properties768720bed0[7] = new Array('1,350,000','345  Highway 128 (aka River) Rd','Geyserville, CA 95441 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/050/20926450.jpg','20926450','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20926450&idxID=047','3','2','In the Heart of Alexander Valley. Walking distances to the q...');
	properties768720bed0[8] = new Array('1,370,000','6088  Bennett Valley Rd','Santa Rosa, CA 95404 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/009/20932809.jpg','20932809','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20932809&idxID=047','3','3','Bucolic Splendor Quietly Situated on a Private Hillside. Thi...');
	properties768720bed0[9] = new Array('1,395,000','24160  Turkey Rd','Sonoma, CA 95476 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/018/20915318.jpg','20915318','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20915318&idxID=047','3','2','Vineyard, home, office and barns. Zoned DA (allows winery us...');
	properties768720bed0[10] = new Array('1,450,000','4232  Grange Rd','Santa Rosa, CA 95404 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/061/20920861.jpg','20920861','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20920861&idxID=047','4','1','This thirty-six acre parcel is a classic example of the best...');
	properties768720bed0[11] = new Array('1,595,000','5955  Sweetwater Springs Rd','Healdsburg, CA 95448 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/074/20821974.jpg','20821974','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20821974&idxID=047','3','1','Views! 95.98 Acres m/l Chalet home approximately 25 minutes ...');
	properties768720bed0[12] = new Array('1,599,000','6443  Stony Point Rd','Cotati, CA 94931 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/054/20926054.jpg','20926054','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20926054&idxID=047','3','2','Super ag set up. Useable acreage, rolling hills with valley ...');
	properties768720bed0[13] = new Array('1,795,000','23249  Dutcher Creek Rd','Cloverdale, CA 95425 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/030/21001630.jpg','21001630','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21001630&idxID=047','2','1','Rare Dry Creek Opportunity.  Beautiful Hilltop Estate Parcel...');
	properties768720bed0[14] = new Array('1,899,000','22000  Burndale Rd','Sonoma, CA 95476 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/034/20830234.jpg','20830234','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20830234&idxID=047','4','3','Close to 10 acres of vines planted in Cabernet Sauvignon. Ow...');
	properties768720bed0[15] = new Array('2,200,000','6018  Bloomfield Rd','Petaluma, CA 94952 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/054/20834554.jpg','20834554','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20834554&idxID=047','3','2','Was Burbank Family Ranch on Burbank Lane. Magnificent 200 pr...');
	properties768720bed0[16] = new Array('2,300,000','2680  Warm Springs Rd','Glen Ellen, CA 95442 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/035/20923935.jpg','20923935','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20923935&idxID=047','3','2','Prime Glen Ellen location with Sonoma Creek frontage. Existi...');
	properties768720bed0[17] = new Array('2,495,000','499  Pepper Rd','Petaluma, CA 94952 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/033/20925633.jpg','20925633','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20925633&idxID=047','3','4','Primo Cavallo, a five star equestrian facility, is for sale!...');
	properties768720bed0[18] = new Array('2,695,000','13950  Valley Ford Rd','Petaluma, CA 94952 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/066/20930366.jpg','20930366','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20930366&idxID=047','3','2','Magnificent Shangri-La 4200 sf estate artistically crafted w...');
	properties768720bed0[19] = new Array('2,795,000','20002  Coleman Valley Rd','Bodega Bay, CA 94923 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/084/21001784.jpg','21001784','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21001784&idxID=047','3','2','A Perfect family retreat with three homes - each with at lea...');
	properties768720bed0[20] = new Array('2,950,000','33430  Highway 128 ','Cloverdale, CA 95425-9428 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/026/20924226.jpg','20924226','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20924226&idxID=047','4','4','Dramatic, gated estate, home to Klein Family Vineyards &amp;...');
	properties768720bed0[21] = new Array('3,450,000','4255  River Rd','Santa Rosa, CA 95401 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/008/21001508.jpg','21001508','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=21001508&idxID=047','3','2','Ideal setting in the Russian River Appellation. This vineyar...');
	properties768720bed0[22] = new Array('3,450,000','6910  Plum Ranch Rd','Santa Rosa, CA 95404 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/048/20910248.jpg','20910248','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20910248&idxID=047','5','4','Spectacular acreage overlooks Santa Rosa, Annadel, Bennett P...');
	properties768720bed0[23] = new Array('3,550,000','3280  Dry Creek Rd','Healdsburg, CA 95448 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/095/20916295.jpg','20916295','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20916295&idxID=047','2','2','Dry Creek Valley luxury Vineyard Estate on 2 parcels = 15.26...');
	properties768720bed0[24] = new Array('3,750,000','4700  Grove St','Sonoma, CA 95476 ','http://mediac.rapmls.com/norcalmls/listingpics/bigphoto/001/20908901.jpg','20908901','047','http://www.sonoma.idxco.com/idx/3803/details.php?listingID=20908901&idxID=047','4','3','Rare Family Retreat/Compound.  Create family memories in the...');
	var urlVar768720bed0;
	var preLoad768720bed0 = new Image();
	preLoad768720bed0.src = properties768720bed0[c768720bed0wi][3];
	onLoad = play768720bed0();
