	// 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 timesteveout = 5000;
	var cstevewi = 0;
	
	// istevesf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var istevesf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapstevefade setup function
	function swapstevefade()
	{
		//if the timer is not already going
		if(istevesf.clock == null)
		{
			//copy the image object 
			istevesf.obj = arguments[0];
			
			//copy the image src argument 
			istevesf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof istevesf.obj.style.opacity != 'undefined')
			{
				istevesf.type = 'w3c';
			}
			else if(typeof istevesf.obj.style.MozOpacity != 'undefined')
			{
				istevesf.type = 'moz';
			}
			else if(typeof istevesf.obj.style.KhtmlOpacity != 'undefined')
			{
				istevesf.type = 'khtml';
			}
			else if(typeof istevesf.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
				istevesf.type = (istevesf.obj.filters.length > 0 && typeof istevesf.obj.filters.alpha == 'object' && typeof istevesf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				istevesf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				istevesf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(istevesf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapstevefade is two distinct transitions
				istevesf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				istevesf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				istevesf.clock = setInterval('istevesf.swapstevefade()', istevesf.length/istevesf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				istevesf.obj.src = istevesf.src;
			}
			
		}
	};
	
	
	//swapstevefade timer function
	istevesf.swapstevefade = function()
	{
		//increase or reduce the counter on an exponential scale
		istevesf.count = (istevesf.fade) ? istevesf.count * 0.9 : (istevesf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(istevesf.count < (1 / istevesf.resolution))
		{
			//clear the timer
			clearInterval(istevesf.clock);
			istevesf.clock = null;
	
			//do the image swap
			istevesf.obj.src = istevesf.src;
	
			//reverse the fade direction flag
			istevesf.fade = false;
			
			//restart the timer
			istevesf.clock = setInterval('istevesf.swapstevefade()', istevesf.length/istevesf.resolution);
	
		}
		
		//if the counter has reached the top
		if(istevesf.count > (1 - (1 / istevesf.resolution)))
		{
			//clear the timer
			clearInterval(istevesf.clock);
			istevesf.clock = null;
	
			//reset the fade direction flag
			istevesf.fade = true;
			
			//reset the counter
			istevesf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(istevesf.type)
		{
			case 'ie' :
				istevesf.obj.filters.alpha.opacity = istevesf.count * 100;
				break;
				
			case 'khtml' :
				istevesf.obj.style.KhtmlOpacity = istevesf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				istevesf.obj.style.MozOpacity = (istevesf.count == 1 ? 0.9999999 : istevesf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				istevesf.obj.style.opacity = (istevesf.count == 1 ? 0.9999999 : istevesf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('a.IDX-steve-ssLinkText, a.IDX-steve-ssLinkText:active, a.IDX-steve-ssLinkText:link, a.IDX-steve-ssLinkText:visited, a.IDX-steve-ssLinkText:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #002952;  }');
	document.writeln('#IDX-steve-slideshow { text-align: center; width: 300px;  }');
	document.writeln('.IDX-steve-image { width: 300px; height: 240px;  }');
	document.writeln('#IDX-steve-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextsteve = 1;
	prevsteve = 25 - 1;

	document.writeln('<div id="IDX-steve-slideshow">');
	document.writeln('<div id="IDX-steve-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-steve-ssImageURL" class="IDX-steve-ssLinkText"><img id="IDX-steve-ssImage" name="steve-ssImage" alt="Slideshow image" border="0"  class="IDX-steve-image" src="http://photos-5.idxco.com/08489614c144962b1e4a1e5e3e83181c11110-116493" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-steve-priceLine"></div>');
	document.writeln('<div id="IDX-steve-addressLine"></div>');
	document.writeln('<div id="IDX-steve-cszLine"></div>');
	document.writeln('<div id="IDX-steve-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-steve-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-steve-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playsteve()
	{
		
		
		urlVarsteve = '<a href="'+propertiessteve[cstevewi][6]+'" class="IDX-steve-ssLinkText">';
		swapstevefade(document.getElementById('IDX-steve-ssImage'), preLoadsteve.src, '1', ' ');
		document.getElementById('IDX-steve-ssImageURL').href = propertiessteve[cstevewi][6];
		document.getElementById('IDX-steve-priceLine').innerHTML = urlVarsteve+'$'+propertiessteve[cstevewi][0]+'</a>';
		document.getElementById('IDX-steve-addressLine').innerHTML =  urlVarsteve+propertiessteve[cstevewi][1]+'</a>';
		document.getElementById('IDX-steve-cszLine').innerHTML = urlVarsteve+propertiessteve[cstevewi][2]+'</a>';
		document.getElementById('IDX-steve-bedLine').innerHTML = urlVarsteve+'Beds: '+propertiessteve[cstevewi][7]+'</a>';
		document.getElementById('IDX-steve-bathLine').innerHTML = urlVarsteve+'Baths: '+propertiessteve[cstevewi][8]+'</a>';
		document.getElementById('IDX-steve-remarkLine').innerHTML = urlVarsteve+propertiessteve[cstevewi][9]+'</a>';
		
		preLoadsteve = new Image();
		preLoadsteve.src = propertiessteve[nextsteve][3];
		
		updatesteve();
		
		csteve = setTimeout('playsteve()', timesteveout);	
		
		
	} // end play()
	function updatesteve()
	{		
		cstevewi = nextsteve;		
		genNextsteve();
		genPrevsteve();
		
	}
	function genNextsteve()
	{
		nextsteve = cstevewi + 1;
		if (nextsteve >= 25)
			nextsteve = 0;
	} // end genNext
	function genPrevsteve()
	{
		prevsteve = cstevewi - 1;
		if (prevsteve < 0)
			prevsteve = 25 - 1;
	} // end genPrev

	var propertiessteve = new Array(25);
	propertiessteve[0] = new Array('799,900','2395 W 230','Hurricane, UT 84737 ','http://photos-5.idxco.com/08489614c144962b1e4a1e5e3e83181c11110-116493','10-116493','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-116493&idxID=084','7','4','THIS HOME IS TOP OF THE LINE! Furnishings are included in th...');
	propertiessteve[1] = new Array('799,000','2336 W Entrada Tr 14','St George, UT 84770 ','http://photos-5.idxco.com/08483f7370dfb874078114cdb990869525710-121355','10-121355','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-121355&idxID=084','4','4','Show by appt. One of the best patio homes in kachina,elevate...');
	propertiessteve[2] = new Array('799,000','2705 Hopi Circle','Springdale, UT 84767 ','http://photos-5.idxco.com/084e3777afdf949e8e1aadd0c40020afcaf10-120583','10-120583','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-120583&idxID=084','4','3','Open, airy, and full of light, best describes this Southwest...');
	propertiessteve[3] = new Array('795,000','4150 S 1100','Hurricane, UT 84737 ','http://photos-5.idxco.com/084ec7dc945a4f616358af36f7e98e48cfe10-118453','10-118453','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-118453&idxID=084','5','4','Rejuvenate in &amp; out of this Fabulous Home on 2.6 Acs., B...');
	propertiessteve[4] = new Array('780,000','2840 COTTONWOOD Circle','Santa Clara, UT 84765 ','http://photos-5.idxco.com/084b42de37fcf5f3f2cbd2857ea0018334010-116299','10-116299','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-116299&idxID=084','5','5','Timeless &amp; traditional best describe this beautiful home...');
	propertiessteve[5] = new Array('779,900','470 Country Lane #2','Santa Clara, UT 84765 ','http://photos-5.idxco.com/0843f5da991dad0318c6968d154e00d2ce510-118280','10-118280','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-118280&idxID=084','5','6','2006 Parade home - Custom everything in this fabulous home i...');
	propertiessteve[6] = new Array('779,000','259 S CRESTLINE Drive','St George, UT 84790 ','http://photos-5.idxco.com/0848fc174440985ce0233de723350c62ba110-118120','10-118120','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-118120&idxID=084','4','4','Welcome to this exquisite builders own home with superb amen...');
	propertiessteve[7] = new Array('769,900','2490 E 2860 SOUTH Circle','St George, UT 84790 ','http://photos-5.idxco.com/0847d61a8cb357bd75c3b1e6c40c00dcb7410-121125','10-121125','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-121125&idxID=084','6','4','Gorgeous home. Custom upgrades such as plantation shutters, ...');
	propertiessteve[8] = new Array('769,000','1670 STONE CLIFF Road','St George, UT 84790 ','http://photos-5.idxco.com/0845f26f8c98c197ff4a806570dcbde469d10-121498','10-121498','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-121498&idxID=084','4','5','Tuscan walkout w/the right touches; hi ceilings/doors w/SW d...');
	propertiessteve[9] = new Array('765,000','34 E Bedrock Circle','Santa Clara, UT 84765 ','http://photos-5.idxco.com/08427513478c72f5e10785b65a2e2ab0cfe10-118555','10-118555','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-118555&idxID=084','4','3','Outstanding custom home surrounded by lava and natural beaut...');
	propertiessteve[10] = new Array('760,000','2550 E 2220','St George, UT 84790 ','http://photos-5.idxco.com/08457ebbe2efabb5e60bfa4b8e54a11b4de10-119730','10-119730','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-119730&idxID=084','6','4','This stunning home is in Crimson Cliffs in the Little Valley...');
	propertiessteve[11] = new Array('759,900','3051 S SLATE RIDGE','St George, UT 84790 ','http://photos-5.idxco.com/0842f0b2ac62f949923576cd59b698a297410-121318','10-121318','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-121318&idxID=084','5','4','Views, Views, Views  Included: refer, washer, dryer, Kitchen...');
	propertiessteve[12] = new Array('759,000','41 BOULDER Circle','Santa Clara, UT 84765 ','http://photos-5.idxco.com/084f39c1fdd3706a16c8b5fe874957c909810-116385','10-116385','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-116385&idxID=084','4','4','Exceptional Indoor/Outdoor living with amazing views of Red ...');
	propertiessteve[13] = new Array('759,000','2336 W Entrada Trail #6','St George, UT 84770 ','http://photos-5.idxco.com/084d2f8706db327c596846e0b00c652f55d10-117112','10-117112','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-117112&idxID=084','3','3','Entrada-Located on Johnny Miller Golf Course. Artistically l...');
	propertiessteve[14] = new Array('750,400','2810 COTTONWOOD','Santa Clara, UT 84765 ','http://photos-5.idxco.com/084dd11666ead1c56f66b74c286751ebe5310-118918','10-118918','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-118918&idxID=084','5','4','Splendid style of taste, quality &amp; ambiance. Beautiful a...');
	propertiessteve[15] = new Array('750,000','3400 ROBBIN Court','Santa Clara, UT 84765 ','http://photos-5.idxco.com/084b240efb4d6ecb41bfd2723f08b2a777710-119093','10-119093','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-119093&idxID=084','7','4','SLC Parade Home built in Santa Clara. 5464 sq ft. 100% finis...');
	propertiessteve[16] = new Array('750,000','4765 S Hammock Dunes','St George, UT 84790 ','http://photos-5.idxco.com/084088d498cdc65f04402ba579668558a5c10-121657','10-121657','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-121657&idxID=084','3','2','...');
	propertiessteve[17] = new Array('749,900','1001 W BLUE MOUNTAIN','Washington, UT 84780 ','http://photos-5.idxco.com/08451c079148681dec8a525d17d76bc794f09-115704','09-115704','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=09-115704&idxID=084','3','3','Another of Bob Anderson\\\\\\\'s custom dream homes located on G...');
	propertiessteve[18] = new Array('749,900','293 N Lost Creek Drive','St George, UT 84770 ','http://photos-5.idxco.com/08453a3462d947016e59f371fdbd399416710-117034','10-117034','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-117034&idxID=084','3','3','This spectacular home includes two dishwashers, stackable wa...');
	propertiessteve[19] = new Array('749,900','455 MICHAEL Circle LOT 9','Santa Clara, UT 84765 ','http://photos-5.idxco.com/0843884655f2f45b938c81e307a1992bb8c10-120450','10-120450','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-120450&idxID=084','6','8','Like new, beautiful, Tuscan style home.  Large pool with sev...');
	propertiessteve[20] = new Array('749,000','2405 W Entrada Trail #55','St George, UT 84770 ','http://photos-5.idxco.com/0840575c8941355f9780af4ad4603d9b27f10-119951','10-119951','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-119951&idxID=084','4','3','This beautiful Split Rock home at Entrada boasts an awesome ...');
	propertiessteve[21] = new Array('749,000','1944 N Cascade Canyon Drive','St George, UT 84770 ','http://photos-5.idxco.com/084fda5a03db19f33252ced5fb442ecd82c10-120118','10-120118','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-120118&idxID=084','4','3','Georgeous home, spectacular red rock views, resort-like priv...');
	propertiessteve[22] = new Array('748,900','1954 E View Point','St George, UT 84790 ','http://photos-5.idxco.com/08490028b1c1af7eb4be4aa6dffd124308f09-111672','09-111672','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=09-111672&idxID=084','1','2','Totally custom, one-of-a-kind modern masterpiece complete wi...');
	propertiessteve[23] = new Array('745,000','274 E SKYLINE Drive','Washington, UT 84780 ','http://photos-5.idxco.com/0842b9998de640d9ffc427f6c33492a4b7309-115081','09-115081','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=09-115081&idxID=084','6','6','This spectacular French Country Estate home is situated at t...');
	propertiessteve[24] = new Array('744,900','178 E Skyview Lane','Washington, UT 84780 ','http://photos-5.idxco.com/0841657af4e2ddb36436605d5f9134124cc10-117417','10-117417','084','http://stgeorgeutahliving.idxco.com/idx/3979/details.php?listingID=10-117417&idxID=084','7','7','Immaculate 2 story in Sky View (next to Skyline Meadows); 7,...');
	var urlVarsteve;
	var preLoadsteve = new Image();
	preLoadsteve.src = propertiessteve[cstevewi][3];
	onLoad = playsteve();
