	// 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 timec798f33638out = 3000;
	var cc798f33638wi = 0;
	
	// ic798f33638sf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var ic798f33638sf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapc798f33638fade setup function
	function swapc798f33638fade()
	{
		//if the timer is not already going
		if(ic798f33638sf.clock == null)
		{
			//copy the image object 
			ic798f33638sf.obj = arguments[0];
			
			//copy the image src argument 
			ic798f33638sf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof ic798f33638sf.obj.style.opacity != 'undefined')
			{
				ic798f33638sf.type = 'w3c';
			}
			else if(typeof ic798f33638sf.obj.style.MozOpacity != 'undefined')
			{
				ic798f33638sf.type = 'moz';
			}
			else if(typeof ic798f33638sf.obj.style.KhtmlOpacity != 'undefined')
			{
				ic798f33638sf.type = 'khtml';
			}
			else if(typeof ic798f33638sf.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
				ic798f33638sf.type = (ic798f33638sf.obj.filters.length > 0 && typeof ic798f33638sf.obj.filters.alpha == 'object' && typeof ic798f33638sf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				ic798f33638sf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				ic798f33638sf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(ic798f33638sf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapc798f33638fade is two distinct transitions
				ic798f33638sf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				ic798f33638sf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				ic798f33638sf.clock = setInterval('ic798f33638sf.swapc798f33638fade()', ic798f33638sf.length/ic798f33638sf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				ic798f33638sf.obj.src = ic798f33638sf.src;
			}
			
		}
	};
	
	
	//swapc798f33638fade timer function
	ic798f33638sf.swapc798f33638fade = function()
	{
		//increase or reduce the counter on an exponential scale
		ic798f33638sf.count = (ic798f33638sf.fade) ? ic798f33638sf.count * 0.9 : (ic798f33638sf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(ic798f33638sf.count < (1 / ic798f33638sf.resolution))
		{
			//clear the timer
			clearInterval(ic798f33638sf.clock);
			ic798f33638sf.clock = null;
	
			//do the image swap
			ic798f33638sf.obj.src = ic798f33638sf.src;
	
			//reverse the fade direction flag
			ic798f33638sf.fade = false;
			
			//restart the timer
			ic798f33638sf.clock = setInterval('ic798f33638sf.swapc798f33638fade()', ic798f33638sf.length/ic798f33638sf.resolution);
	
		}
		
		//if the counter has reached the top
		if(ic798f33638sf.count > (1 - (1 / ic798f33638sf.resolution)))
		{
			//clear the timer
			clearInterval(ic798f33638sf.clock);
			ic798f33638sf.clock = null;
	
			//reset the fade direction flag
			ic798f33638sf.fade = true;
			
			//reset the counter
			ic798f33638sf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(ic798f33638sf.type)
		{
			case 'ie' :
				ic798f33638sf.obj.filters.alpha.opacity = ic798f33638sf.count * 100;
				break;
				
			case 'khtml' :
				ic798f33638sf.obj.style.KhtmlOpacity = ic798f33638sf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				ic798f33638sf.obj.style.MozOpacity = (ic798f33638sf.count == 1 ? 0.9999999 : ic798f33638sf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				ic798f33638sf.obj.style.opacity = (ic798f33638sf.count == 1 ? 0.9999999 : ic798f33638sf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-c798f33638-slideshow { text-align: center;  }');
	document.writeln('#IDX-c798f33638-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextc798f33638 = 1;
	prevc798f33638 = 25 - 1;

	document.writeln('<div id="IDX-c798f33638-slideshow">');
	document.writeln('<div id="IDX-c798f33638-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-c798f33638-ssImageURL" class="IDX-c798f33638-ssLinkText"><img id="IDX-c798f33638-ssImage" name="c798f33638-ssImage" alt="Slideshow image" border="0"  class="IDX-c798f33638-image" src="http://photos-3.idxco.com/058e17c6701b5be2912581ebda6276006dc120002403" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-c798f33638-priceLine"></div>');
	document.writeln('<div id="IDX-c798f33638-addressLine"></div>');
	document.writeln('<div id="IDX-c798f33638-cszLine"></div>');
	document.writeln('<div id="IDX-c798f33638-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-c798f33638-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-c798f33638-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playc798f33638()
	{
		
		
		urlVarc798f33638 = '<a href="'+propertiesc798f33638[cc798f33638wi][6]+'" class="IDX-c798f33638-ssLinkText">';
		swapc798f33638fade(document.getElementById('IDX-c798f33638-ssImage'), preLoadc798f33638.src, '1', ' ');
		document.getElementById('IDX-c798f33638-ssImageURL').href = propertiesc798f33638[cc798f33638wi][6];
		document.getElementById('IDX-c798f33638-priceLine').innerHTML = urlVarc798f33638+'$'+propertiesc798f33638[cc798f33638wi][0]+'</a>';
		document.getElementById('IDX-c798f33638-addressLine').innerHTML =  urlVarc798f33638+propertiesc798f33638[cc798f33638wi][1]+'</a>';
		document.getElementById('IDX-c798f33638-cszLine').innerHTML = urlVarc798f33638+propertiesc798f33638[cc798f33638wi][2]+'</a>';
		document.getElementById('IDX-c798f33638-bedLine').innerHTML = urlVarc798f33638+'Beds: '+propertiesc798f33638[cc798f33638wi][7]+'</a>';
		document.getElementById('IDX-c798f33638-bathLine').innerHTML = urlVarc798f33638+'Baths: '+propertiesc798f33638[cc798f33638wi][8]+'</a>';
		document.getElementById('IDX-c798f33638-remarkLine').innerHTML = urlVarc798f33638+propertiesc798f33638[cc798f33638wi][9]+'</a>';
		
		preLoadc798f33638 = new Image();
		preLoadc798f33638.src = propertiesc798f33638[nextc798f33638][3];
		
		updatec798f33638();
		
		cc798f33638 = setTimeout('playc798f33638()', timec798f33638out);	
		
		
	} // end play()
	function updatec798f33638()
	{		
		cc798f33638wi = nextc798f33638;		
		genNextc798f33638();
		genPrevc798f33638();
		
	}
	function genNextc798f33638()
	{
		nextc798f33638 = cc798f33638wi + 1;
		if (nextc798f33638 >= 25)
			nextc798f33638 = 0;
	} // end genNext
	function genPrevc798f33638()
	{
		prevc798f33638 = cc798f33638wi - 1;
		if (prevc798f33638 < 0)
			prevc798f33638 = 25 - 1;
	} // end genPrev

	var propertiesc798f33638 = new Array(25);
	propertiesc798f33638[0] = new Array('2,450,000','7105 Aviara','Carlsbad, CA 92011 ','http://photos-3.idxco.com/058e17c6701b5be2912581ebda6276006dc120002403','120002403','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120002403&idxID=058','4','4','One of a kind custom masterpiece with fabulous ocean and gol...');
	propertiesc798f33638[1] = new Array('1,699,900','6817 Citrine','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058fe15314e048f28f4a2bcd32372a53486110062179','110062179','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110062179&idxID=058','5','4','Spectacular Panoramic Western Views from this Spacious La Co...');
	propertiesc798f33638[2] = new Array('1,695,000','7323 Bolero','Carlsbad, CA 92009 ','http://photos-3.idxco.com/0586defc43a3cd1a4cd66d97139192dc0e0110060574','110060574','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110060574&idxID=058','5','5','BEST OCEAN VIEW ESTATE HOME VALUE. CUSTOM 7,000 sq ft estate...');
	propertiesc798f33638[3] = new Array('1,595,000','7122 Obelisco','Carlsbad, CA 92009 ','http://photos-3.idxco.com/05839872239e136c87390427bc8be0f455d120003589','120003589','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120003589&idxID=058','4','4','Welcome to Angel\\\\\\\'s Landing, a fabulous, unique, gated est...');
	propertiesc798f33638[4] = new Array('1,495,000','2912 Managua','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058e93c3ec314aaa8f5fb03982fa87d9510110050508','110050508','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110050508&idxID=058','5','5','REMODELING UNDERWAY! COME QUICKLY! VIEWS! Travertine and woo...');
	propertiesc798f33638[5] = new Array('1,399,900','7334 El Fuerte','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058a3fa4c61e7a085fec7072f497e1e5d7e120003249','120003249','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120003249&idxID=058','4','2','Engineer &amp; Architect designed custom home, spacious livi...');
	propertiesc798f33638[6] = new Array('1,359,999','3229 SITIO MONTECILLO','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058f71ee8e7c162bde30ae63faae453df5a110048714','110048714','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110048714&idxID=058','6','5','Privacy &amp; sunny westerly views out over open space (Golf...');
	propertiesc798f33638[7] = new Array('1,299,900','7348 El Fuerte','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058978efc74de38689b0d76c3240ef1e3c7120000383','120000383','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120000383&idxID=058','4','3','Absolutely stunning 1 story estate! Desirable amenities: par...');
	propertiesc798f33638[8] = new Array('1,275,000','3558 Calle Palmito','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058b1810397178400a1018c2796dc3b234f120002304','120002304','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120002304&idxID=058','5','4','How about a PANORAMIC ocean view, a BIG yard, and one of La ...');
	propertiesc798f33638[9] = new Array('1,249,000','7125 ARGONAUTA','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058ecc0dbb1272da5167e296bc0b10b2b63120000505','120000505','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120000505&idxID=058','4','3','CUSTOM Mediterranean home on a 1/2 acre lot w/Ocean &amp; la...');
	propertiesc798f33638[10] = new Array('1,197,000','7528 Magellan','Carlsbad, CA 92011 ','http://photos-3.idxco.com/0585cb6d3410a4f2ecda8d7fdbcf7553f36120000447','120000447','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120000447&idxID=058','4','3','PREMIUM LARGE LAGOON + CANYON VIEWS LOT. 1 BLOCK TO BEACH *S...');
	propertiesc798f33638[11] = new Array('1,175,000','7144 Almaden','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058ad5e176607d50b5092f142f76241b82a120004482','120004482','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120004482&idxID=058','4','3','...');
	propertiesc798f33638[12] = new Array('1,149,000','7104 Almaden','Carlsbad, CA 92009 ','http://photos-3.idxco.com/05881acf822684d0076047e889b88a7265c120002046','120002046','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120002046&idxID=058','4','3','TRADITIONAL SALE!! NO HOA`S OR MELLO ROOS! Gorgeous La Costa...');
	propertiesc798f33638[13] = new Array('1,098,900','7781 Anillo','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058306a886c7553aa4e03c549b647f4ea83110063236','110063236','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110063236&idxID=058','5','4','Top line custom single story home with self contained apartm...');
	propertiesc798f33638[14] = new Array('1,075,000','2006 Costa Del Mar 5','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058c1296381577c7a44dc8c881069eab006090065416','090065416','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=090065416&idxID=058','2','3','This Villa features all the luxuries and amenities you expec...');
	propertiesc798f33638[15] = new Array('1,000,000','7319 Estrella De Mar 13','Carlsbad, CA 92009 ','http://photos-3.idxco.com/05836b86cefa84dd4214d779bbecebfe995110010519','110010519','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110010519&idxID=058','3','4','Live the resort lifestyle and own property at the famous La ...');
	propertiesc798f33638[16] = new Array('999,000','7574 Circulo Sequoia','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058cddab9d9ada6876cb9c01a051d4c4ae1110058582','110058582','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110058582&idxID=058','5','3','With its courtyard entry to the 6 sets of French doors leadi...');
	propertiesc798f33638[17] = new Array('989,000','6768 Malachite','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058ad22d80987ebf755ce3c58e545a2237a120004718','120004718','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=120004718&idxID=058','5','4','Enjoy spacious luxury in this 2 story 5BR/4.5BA 3,993 Sq. Ft...');
	propertiesc798f33638[18] = new Array('950,000','7310 Estrella De Mar 1','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058623b4a07210ce6611dc17691201620f5110007702','110007702','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110007702&idxID=058','2','3','Former Model Villa in the best location bringing in the HIGH...');
	propertiesc798f33638[19] = new Array('949,000','7420 Circulo Sequoia','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058dab30b482ebe83600514635f1408a712110064688','110064688','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110064688&idxID=058','4','4','Exquisite La Costa Oaks luxury home, with bedroom and full b...');
	propertiesc798f33638[20] = new Array('925,000','7311 El Fuerte','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058e0be05405c0dfc12fa8beed6278b4690110062382','110062382','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110062382&idxID=058','3','3','Single level custom built home in the hills above La Costa. ...');
	propertiesc798f33638[21] = new Array('924,999','2606 Argonauta','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058302033eb79043c95e95c105af0ec2550110028039','110028039','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110028039&idxID=058','3','2','IMMACULATELY MAINTAINED SINGLE LEVEL/MAGNIFICENT PANORAMIC V...');
	propertiesc798f33638[22] = new Array('895,000','2650 Galicia','Carlsbad, CA 92009 ','http://photos-3.idxco.com/058a0499b14cba5e7ff524afa142ccfb171110064891','110064891','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110064891&idxID=058','4','3','THIS IS IT!!! True Custom home in beautiful neighborhood. En...');
	propertiesc798f33638[23] = new Array('840,990','2305 Mica','Carlsbad, CA 92009 ','http://photos-3.idxco.com/0586261db92e435de9beb9d4e97bb7bd4ea110030882','110030882','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110030882&idxID=058','3','3','Indoor/outdoor living at it\\\\\\\'s best! This versatile floor ...');
	propertiesc798f33638[24] = new Array('835,000','3454 Corte Fresa','Carlsbad, CA 92009 ','http://photos-3.idxco.com/0586345036cef3b7bd9d5b22da6e74da899110065867','110065867','058','http://sandiegopreviews.idxco.com/idx/3834/details.php?listingID=110065867&idxID=058','4','3','BETTER THAN NEW! Former model home in HILLOCK at LA COSTA OA...');
	var urlVarc798f33638;
	var preLoadc798f33638 = new Image();
	preLoadc798f33638.src = propertiesc798f33638[cc798f33638wi][3];
	onLoad = playc798f33638();

