	// IDX Broker Slideshow version 2.0
	// Copyright ©2012 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 time4a903c5734out = 3000;
	var c4a903c5734wi = 0;
	
	// i4a903c5734sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var i4a903c5734sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swap4a903c5734fade setup function
	function swap4a903c5734fade()
	{
		//if the timer is not already going
		if(i4a903c5734sf.clock == null)
		{
			//copy the image object 
			i4a903c5734sf.obj = arguments[0];
			
			//copy the image src argument 
			i4a903c5734sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof i4a903c5734sf.obj.style.opacity != 'undefined')
			{
				i4a903c5734sf.type = 'w3c';
			}
			else if(typeof i4a903c5734sf.obj.style.MozOpacity != 'undefined')
			{
				i4a903c5734sf.type = 'moz';
			}
			else if(typeof i4a903c5734sf.obj.style.KhtmlOpacity != 'undefined')
			{
				i4a903c5734sf.type = 'khtml';
			}
			else if(typeof i4a903c5734sf.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
				i4a903c5734sf.type = (i4a903c5734sf.obj.filters.length > 0 && typeof i4a903c5734sf.obj.filters.alpha == 'object' && typeof i4a903c5734sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				i4a903c5734sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				i4a903c5734sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(i4a903c5734sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swap4a903c5734fade is two distinct transitions
				i4a903c5734sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				i4a903c5734sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				i4a903c5734sf.clock = setInterval('i4a903c5734sf.swap4a903c5734fade()', i4a903c5734sf.length/i4a903c5734sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				i4a903c5734sf.obj.src = i4a903c5734sf.src;
			}
			
		}
	};
	
	
	//swap4a903c5734fade timer function
	i4a903c5734sf.swap4a903c5734fade = function()
	{
		//increase or reduce the counter on an exponential scale
		i4a903c5734sf.count = (i4a903c5734sf.fade) ? i4a903c5734sf.count * 0.9 : (i4a903c5734sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(i4a903c5734sf.count < (1 / i4a903c5734sf.resolution))
		{
			//clear the timer
			clearInterval(i4a903c5734sf.clock);
			i4a903c5734sf.clock = null;
	
			//do the image swap
			i4a903c5734sf.obj.src = i4a903c5734sf.src;
	
			//reverse the fade direction flag
			i4a903c5734sf.fade = false;
			
			//restart the timer
			i4a903c5734sf.clock = setInterval('i4a903c5734sf.swap4a903c5734fade()', i4a903c5734sf.length/i4a903c5734sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(i4a903c5734sf.count > (1 - (1 / i4a903c5734sf.resolution)))
		{
			//clear the timer
			clearInterval(i4a903c5734sf.clock);
			i4a903c5734sf.clock = null;
	
			//reset the fade direction flag
			i4a903c5734sf.fade = true;
			
			//reset the counter
			i4a903c5734sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(i4a903c5734sf.type)
		{
			case 'ie' :
				i4a903c5734sf.obj.filters.alpha.opacity = i4a903c5734sf.count * 100;
				break;
				
			case 'khtml' :
				i4a903c5734sf.obj.style.KhtmlOpacity = i4a903c5734sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i4a903c5734sf.obj.style.MozOpacity = (i4a903c5734sf.count == 1 ? 0.9999999 : i4a903c5734sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				i4a903c5734sf.obj.style.opacity = (i4a903c5734sf.count == 1 ? 0.9999999 : i4a903c5734sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-4a903c5734-slideshow { text-align: center; width: 220px;  }');
	document.writeln('.IDX-4a903c5734-image { width: 200px; height: 150px;  }');
	document.writeln('#IDX-4a903c5734-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next4a903c5734 = 1;
	prev4a903c5734 = 25 - 1;

	document.writeln('<div id="IDX-4a903c5734-slideshow">');
	document.writeln('<div id="IDX-4a903c5734-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-4a903c5734-ssImageURL" class="IDX-4a903c5734-ssLinkText"><img id="IDX-4a903c5734-ssImage" name="4a903c5734-ssImage" alt="Slideshow image" border="0"  class="IDX-4a903c5734-image" src="http://mediall.rapmls.com/albq/listingpics/bigphoto/023/721323.jpg?" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-4a903c5734-priceLine"></div>');
	document.writeln('<div id="IDX-4a903c5734-addressLine"></div>');
	document.writeln('<div id="IDX-4a903c5734-cszLine"></div>');
	document.writeln('<div id="IDX-4a903c5734-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-4a903c5734-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-4a903c5734-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function play4a903c5734()
	{
		
		
		urlVar4a903c5734 = '<a href="'+properties4a903c5734[c4a903c5734wi][6]+'" class="IDX-4a903c5734-ssLinkText">';
		swap4a903c5734fade(document.getElementById('IDX-4a903c5734-ssImage'), preLoad4a903c5734.src, '1', ' ');
		document.getElementById('IDX-4a903c5734-ssImageURL').href = properties4a903c5734[c4a903c5734wi][6];
		document.getElementById('IDX-4a903c5734-priceLine').innerHTML = urlVar4a903c5734+'$'+properties4a903c5734[c4a903c5734wi][0]+'</a>';
		document.getElementById('IDX-4a903c5734-addressLine').innerHTML =  urlVar4a903c5734+properties4a903c5734[c4a903c5734wi][1]+'</a>';
		document.getElementById('IDX-4a903c5734-cszLine').innerHTML = urlVar4a903c5734+properties4a903c5734[c4a903c5734wi][2]+'</a>';
		document.getElementById('IDX-4a903c5734-bedLine').innerHTML = urlVar4a903c5734+'Beds: '+properties4a903c5734[c4a903c5734wi][7]+'</a>';
		document.getElementById('IDX-4a903c5734-bathLine').innerHTML = urlVar4a903c5734+'Baths: '+properties4a903c5734[c4a903c5734wi][8]+'</a>';
		document.getElementById('IDX-4a903c5734-remarkLine').innerHTML = urlVar4a903c5734+properties4a903c5734[c4a903c5734wi][9]+'</a>';
		
		preLoad4a903c5734 = new Image();
		preLoad4a903c5734.src = properties4a903c5734[next4a903c5734][3];
		
		update4a903c5734();
		
		c4a903c5734 = setTimeout('play4a903c5734()', time4a903c5734out);	
		
		
	} // end play()
	function update4a903c5734()
	{		
		c4a903c5734wi = next4a903c5734;		
		genNext4a903c5734();
		genPrev4a903c5734();
		
	}
	function genNext4a903c5734()
	{
		next4a903c5734 = c4a903c5734wi + 1;
		if (next4a903c5734 >= 25)
			next4a903c5734 = 0;
	} // end genNext
	function genPrev4a903c5734()
	{
		prev4a903c5734 = c4a903c5734wi - 1;
		if (prev4a903c5734 < 0)
			prev4a903c5734 = 25 - 1;
	} // end genPrev

	var properties4a903c5734 = new Array(25);
	properties4a903c5734[0] = new Array('1,770,000','410 Joaquin Ct Ct','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/023/721323.jpg?','721323','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=721323&idxID=081','5','3','Got Resort? Incredible custom resort that sit\\\\\\\'s on top of...');
	properties4a903c5734[1] = new Array('1,425,000','146 Angus Ln Ln','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/012/723712.jpg?','723712','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=723712&idxID=081','4','4','A spectacular French Country home.  Diamond finish plaster o...');
	properties4a903c5734[2] = new Array('1,395,000','445 White Horse Lane','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/002/706102.jpg?','706102','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=706102&idxID=081','3','1','Welcome to the Best of Corrales living! Exceptional Waszak h...');
	properties4a903c5734[3] = new Array('1,394,000','11 Koontz Rd Rd','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/046/712446.jpg?','712446','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=712446&idxID=081','4','4','Spectacular Parade of Homes Winner northend Corrales home w/...');
	properties4a903c5734[4] = new Array('1,385,000','404 Price Ln Ln','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/052/704152.jpg?','704152','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=704152&idxID=081','4','3','Craftsman meets Southwest; what a S-T-U-N-N-I-N-G combinatio...');
	properties4a903c5734[5] = new Array('1,369,000','400 Cielo Azul','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/040/712940.jpg?','712940','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=712940&idxID=081','4','4','Truly an executive retreat! Spacious contemporary mediterran...');
	properties4a903c5734[6] = new Array('1,278,000','175 Camino Campo Dr Dr','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/006/715106.jpg?','715106','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=715106&idxID=081','4','3','Vineyard entrance!  Impressive Builder\\\\\\\'s Home on two gene...');
	properties4a903c5734[7] = new Array('1,250,000','440 El Camino Campo','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/030/723430.jpg?','723430','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=723430&idxID=081','6','3','Large lawns surround this elegant Santa Fe style adobe at th...');
	properties4a903c5734[8] = new Array('1,135,000','345 Applewood','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/098/708598.jpg?','708598','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=708598&idxID=081','3','2','Deal of the Century! Stunning Custom Home w/Exceptional View...');
	properties4a903c5734[9] = new Array('1,121,000','4 Old School House Rd Rd','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/066/721066.jpg?','721066','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=721066&idxID=081','2','2','One of Corrales\\\\\\\' best hidden treasures designed by artist...');
	properties4a903c5734[10] = new Array('1,089,000','1 Coyote Trl Trl','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/003/721303.jpg?','721303','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=721303&idxID=081','3','5','Seller\\\\\\\'s have relocated! An opportunity to purchase an ad...');
	properties4a903c5734[11] = new Array('999,900','3 Stevie Rays Way Way','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/082/716782.jpg?','716782','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=716782&idxID=081','5','2','Price just lowered!!!!This one of a kind luxury home w/priva...');
	properties4a903c5734[12] = new Array('982,000','6795 Corrales Rd Rd','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/080/719080.jpg?','719080','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=719080&idxID=081','3','2','Both Acres Are Now Part Of The Offering! Open House Saturday...');
	properties4a903c5734[13] = new Array('959,000','3777 Corrales Rd Rd','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/053/725753.jpg?','725753','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=725753&idxID=081','4','6','Two complete homes, one in commercial boundary; Main home wi...');
	properties4a903c5734[14] = new Array('925,000','209 Grace Ln Ln','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/069/726169.jpg?','726169','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=726169&idxID=081','6','4','A drive-by does wonders to explain this unique property! Fal...');
	properties4a903c5734[15] = new Array('925,000','45 Coyote Trl Trl','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/042/719742.jpg?','719742','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=719742&idxID=081','4','2','Enter This Stunning Santa Fe Style Hacienda Through Magnific...');
	properties4a903c5734[16] = new Array('890,000','184 Mountainview Lane','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/023/713923.jpg?','713923','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=713923&idxID=081','4','2','One of a kind Corrales property located at the end of a priv...');
	properties4a903c5734[17] = new Array('869,000','1250 Loma Larga Rd Rd','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/061/725861.jpg?','725861','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=725861&idxID=081','4','3','The Southwestern compound of your dreams!  Beautifully updat...');
	properties4a903c5734[18] = new Array('810,000','100 Camino Vega Verde','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/061/720561.jpg?','720561','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=720561&idxID=081','4','3','Pristine custom home on 1 acre, loaded with high end feature...');
	properties4a903c5734[19] = new Array('800,000','383 Kent Ln Ln','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/047/708447.jpg?','708447','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=708447&idxID=081','3','1','Here is an interesting find! 383 Kent Lane is for sale on 4....');
	properties4a903c5734[20] = new Array('769,000','105 Todos Juntos','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/082/725982.jpg?','725982','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=725982&idxID=081','4','3','Resort-like casa w/the best amenities &amp;amp; million doll...');
	properties4a903c5734[21] = new Array('749,900','600 Cielo Azul','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/099/724799.jpg?','724799','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=724799&idxID=081','3','2','Spectacular, Panorama Views of the Sandias &amp;amp; City Li...');
	properties4a903c5734[22] = new Array('715,000','122 Ashley Ln Ln','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/012/722212.jpg?','722212','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=722212&idxID=081','5','3','Amazing timeless Passage adobe embraces you with a special g...');
	properties4a903c5734[23] = new Array('699,900','7163 Corrales Rd Rd','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/058/708758.jpg?','708758','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=708758&idxID=081','3','2','Corrales living at it\\\\\\\'s best! Located within the greenbel...');
	properties4a903c5734[24] = new Array('699,000','870 Meadowlark Ln Ln','Corrales, NM 87048 ','http://mediall.rapmls.com/albq/listingpics/bigphoto/030/705230.jpg?','705230','081','http://mls.welcomehomeabq.com/idx/6524/details.php?listingID=705230&idxID=081','3','2','Southwestern Ranch of 2 Acres w/pool &amp;amp; view, Exposed...');
	var urlVar4a903c5734;
	var preLoad4a903c5734 = new Image();
	preLoad4a903c5734.src = properties4a903c5734[c4a903c5734wi][3];
	onLoad = play4a903c5734();

