	// 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 timeMixedClaytonKirkwoodout = 3000;
	var cMixedClaytonKirkwoodwi = 0;
	
	// iMixedClaytonKirkwoodsf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var iMixedClaytonKirkwoodsf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapMixedClaytonKirkwoodfade setup function
	function swapMixedClaytonKirkwoodfade()
	{
		//if the timer is not already going
		if(iMixedClaytonKirkwoodsf.clock == null)
		{
			//copy the image object 
			iMixedClaytonKirkwoodsf.obj = arguments[0];
			
			//copy the image src argument 
			iMixedClaytonKirkwoodsf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof iMixedClaytonKirkwoodsf.obj.style.opacity != 'undefined')
			{
				iMixedClaytonKirkwoodsf.type = 'w3c';
			}
			else if(typeof iMixedClaytonKirkwoodsf.obj.style.MozOpacity != 'undefined')
			{
				iMixedClaytonKirkwoodsf.type = 'moz';
			}
			else if(typeof iMixedClaytonKirkwoodsf.obj.style.KhtmlOpacity != 'undefined')
			{
				iMixedClaytonKirkwoodsf.type = 'khtml';
			}
			else if(typeof iMixedClaytonKirkwoodsf.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
				iMixedClaytonKirkwoodsf.type = (iMixedClaytonKirkwoodsf.obj.filters.length > 0 && typeof iMixedClaytonKirkwoodsf.obj.filters.alpha == 'object' && typeof iMixedClaytonKirkwoodsf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				iMixedClaytonKirkwoodsf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				iMixedClaytonKirkwoodsf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(iMixedClaytonKirkwoodsf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapMixedClaytonKirkwoodfade is two distinct transitions
				iMixedClaytonKirkwoodsf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				iMixedClaytonKirkwoodsf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				iMixedClaytonKirkwoodsf.clock = setInterval('iMixedClaytonKirkwoodsf.swapMixedClaytonKirkwoodfade()', iMixedClaytonKirkwoodsf.length/iMixedClaytonKirkwoodsf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				iMixedClaytonKirkwoodsf.obj.src = iMixedClaytonKirkwoodsf.src;
			}
			
		}
	};
	
	
	//swapMixedClaytonKirkwoodfade timer function
	iMixedClaytonKirkwoodsf.swapMixedClaytonKirkwoodfade = function()
	{
		//increase or reduce the counter on an exponential scale
		iMixedClaytonKirkwoodsf.count = (iMixedClaytonKirkwoodsf.fade) ? iMixedClaytonKirkwoodsf.count * 0.9 : (iMixedClaytonKirkwoodsf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(iMixedClaytonKirkwoodsf.count < (1 / iMixedClaytonKirkwoodsf.resolution))
		{
			//clear the timer
			clearInterval(iMixedClaytonKirkwoodsf.clock);
			iMixedClaytonKirkwoodsf.clock = null;
	
			//do the image swap
			iMixedClaytonKirkwoodsf.obj.src = iMixedClaytonKirkwoodsf.src;
	
			//reverse the fade direction flag
			iMixedClaytonKirkwoodsf.fade = false;
			
			//restart the timer
			iMixedClaytonKirkwoodsf.clock = setInterval('iMixedClaytonKirkwoodsf.swapMixedClaytonKirkwoodfade()', iMixedClaytonKirkwoodsf.length/iMixedClaytonKirkwoodsf.resolution);
	
		}
		
		//if the counter has reached the top
		if(iMixedClaytonKirkwoodsf.count > (1 - (1 / iMixedClaytonKirkwoodsf.resolution)))
		{
			//clear the timer
			clearInterval(iMixedClaytonKirkwoodsf.clock);
			iMixedClaytonKirkwoodsf.clock = null;
	
			//reset the fade direction flag
			iMixedClaytonKirkwoodsf.fade = true;
			
			//reset the counter
			iMixedClaytonKirkwoodsf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(iMixedClaytonKirkwoodsf.type)
		{
			case 'ie' :
				iMixedClaytonKirkwoodsf.obj.filters.alpha.opacity = iMixedClaytonKirkwoodsf.count * 100;
				break;
				
			case 'khtml' :
				iMixedClaytonKirkwoodsf.obj.style.KhtmlOpacity = iMixedClaytonKirkwoodsf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				iMixedClaytonKirkwoodsf.obj.style.MozOpacity = (iMixedClaytonKirkwoodsf.count == 1 ? 0.9999999 : iMixedClaytonKirkwoodsf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				iMixedClaytonKirkwoodsf.obj.style.opacity = (iMixedClaytonKirkwoodsf.count == 1 ? 0.9999999 : iMixedClaytonKirkwoodsf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-MixedClaytonKirkwood-slideshow { text-align: center; width: 185px;  }');
	document.writeln('.IDX-MixedClaytonKirkwood-image { width: 185px; height: 105px;  }');
	document.writeln('#IDX-MixedClaytonKirkwood-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextMixedClaytonKirkwood = 1;
	prevMixedClaytonKirkwood = 25 - 1;

	document.writeln('<div id="IDX-MixedClaytonKirkwood-slideshow">');
	document.writeln('<div id="IDX-MixedClaytonKirkwood-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-MixedClaytonKirkwood-ssImageURL" class="IDX-MixedClaytonKirkwood-ssLinkText"><img id="IDX-MixedClaytonKirkwood-ssImage" name="MixedClaytonKirkwood-ssImage" alt="Slideshow image" border="0"  class="IDX-MixedClaytonKirkwood-image" src="http://photos-6.idxco.com/1177574e8e0501e209cbe5376080080170890027720" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-MixedClaytonKirkwood-priceLine"></div>');
	document.writeln('<div id="IDX-MixedClaytonKirkwood-addressLine"></div>');
	document.writeln('<div id="IDX-MixedClaytonKirkwood-cszLine"></div>');
	document.writeln('<div id="IDX-MixedClaytonKirkwood-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-MixedClaytonKirkwood-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-MixedClaytonKirkwood-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playMixedClaytonKirkwood()
	{
		
		
		urlVarMixedClaytonKirkwood = '<a href="'+propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][6]+'" class="IDX-MixedClaytonKirkwood-ssLinkText">';
		swapMixedClaytonKirkwoodfade(document.getElementById('IDX-MixedClaytonKirkwood-ssImage'), preLoadMixedClaytonKirkwood.src, '1', ' ');
		document.getElementById('IDX-MixedClaytonKirkwood-ssImageURL').href = propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][6];
		document.getElementById('IDX-MixedClaytonKirkwood-priceLine').innerHTML = urlVarMixedClaytonKirkwood+'$'+propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][0]+'</a>';
		document.getElementById('IDX-MixedClaytonKirkwood-addressLine').innerHTML =  urlVarMixedClaytonKirkwood+propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][1]+'</a>';
		document.getElementById('IDX-MixedClaytonKirkwood-cszLine').innerHTML = urlVarMixedClaytonKirkwood+propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][2]+'</a>';
		document.getElementById('IDX-MixedClaytonKirkwood-bedLine').innerHTML = urlVarMixedClaytonKirkwood+'Beds: '+propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][7]+'</a>';
		document.getElementById('IDX-MixedClaytonKirkwood-bathLine').innerHTML = urlVarMixedClaytonKirkwood+'Baths: '+propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][8]+'</a>';
		document.getElementById('IDX-MixedClaytonKirkwood-remarkLine').innerHTML = urlVarMixedClaytonKirkwood+propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][9]+'</a>';
		
		preLoadMixedClaytonKirkwood = new Image();
		preLoadMixedClaytonKirkwood.src = propertiesMixedClaytonKirkwood[nextMixedClaytonKirkwood][3];
		
		updateMixedClaytonKirkwood();
		
		cMixedClaytonKirkwood = setTimeout('playMixedClaytonKirkwood()', timeMixedClaytonKirkwoodout);	
		
		
	} // end play()
	function updateMixedClaytonKirkwood()
	{		
		cMixedClaytonKirkwoodwi = nextMixedClaytonKirkwood;		
		genNextMixedClaytonKirkwood();
		genPrevMixedClaytonKirkwood();
		
	}
	function genNextMixedClaytonKirkwood()
	{
		nextMixedClaytonKirkwood = cMixedClaytonKirkwoodwi + 1;
		if (nextMixedClaytonKirkwood >= 25)
			nextMixedClaytonKirkwood = 0;
	} // end genNext
	function genPrevMixedClaytonKirkwood()
	{
		prevMixedClaytonKirkwood = cMixedClaytonKirkwoodwi - 1;
		if (prevMixedClaytonKirkwood < 0)
			prevMixedClaytonKirkwood = 25 - 1;
	} // end genPrev

	var propertiesMixedClaytonKirkwood = new Array(25);
	propertiesMixedClaytonKirkwood[0] = new Array('650,000','2930 Lemay Ferry Rd','St Louis, MO 63125 ','http://photos-6.idxco.com/1177574e8e0501e209cbe5376080080170890027720','90027720','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90027720&idxID=117','2','1.5','Two bedroom, 1.5 bath home in Mehlville, with large, unfinis...');
	propertiesMixedClaytonKirkwood[1] = new Array('649,900','50 Carondelet Plaza','Clayton, MO 63105 ','http://photos-6.idxco.com/117bd94d123577264fb4949fa1c4bd11ace760439','760439','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=760439&idxID=117','2','2','The Trianon, Clayton&amp;apos;s newest mixed use high-rise r...');
	propertiesMixedClaytonKirkwood[2] = new Array('649,900','637 East Madison Ave','Kirkwood, MO 63122 ','http://photos-6.idxco.com/117e2bef75dc4bea8f5f94f7a3184760e0290042894','90042894','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90042894&idxID=117','5','4.5','Great Value! And now you may be able to take advantage of th...');
	propertiesMixedClaytonKirkwood[3] = new Array('649,000','4545 Lindell 7','St Louis, MO 63108 ','http://photos-6.idxco.com/11732bf4731df696f8942c4f91f5cf64f3890038054','90038054','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90038054&idxID=117','2','2.5','Last Mies available; located on the 3rd floor. 4545 Lindell ...');
	propertiesMixedClaytonKirkwood[4] = new Array('649,000','232 North Kingshighway Blvd 1501','St Louis, MO 63108 ','http://photos-6.idxco.com/117fc6310a9a0b60a64df05570daa3befab90043572','90043572','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90043572&idxID=117','2','2.5','Beautiful historic renovation of the Chase Park Plaza featur...');
	propertiesMixedClaytonKirkwood[5] = new Array('648,000','622 Forest Ct 2b','Clayton, MO 63105 ','http://photos-6.idxco.com/117e297ad8b34b49bdfe147799cfbf19db290049612','90049612','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90049612&idxID=117','2','2','Fabulous new Clayton condo tucked away on a quiet tree lined...');
	propertiesMixedClaytonKirkwood[6] = new Array('648,000','400 South 14th St 1116','St Louis, MO 63103 ','http://photos-6.idxco.com/1178f97b7177c4aacaf48869a15d53daa3e90058219','90058219','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90058219&idxID=117','2','2.5','Welcome to unit #1116 in the Edison Condominium. World renow...');
	propertiesMixedClaytonKirkwood[7] = new Array('639,900','891 Amersham Dr','Town and Country, MO 63141 ','http://photos-6.idxco.com/117749e881faec0369e88d53afcc3fbb9dd90041938','90041938','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90041938&idxID=117','4','6','*10G*  Be prepared to be awed by this updated Dutch Colonial...');
	propertiesMixedClaytonKirkwood[8] = new Array('639,000','4909 Laclede Ave 1206','St Louis, MO 63108 ','http://photos-6.idxco.com/117c61ee3bc23af4503d20c487dbb6495c090051708','90051708','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90051708&idxID=117','2','2.5','This is elegant living with a free flowing floor plan, offer...');
	propertiesMixedClaytonKirkwood[9] = new Array('635,000','400 South 14th St 1008','St Louis, MO 63103 ','http://photos-6.idxco.com/1178f97b7177c4aacaf48869a15d53daa3e90044608','90044608','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90044608&idxID=117','3','3.5','A HUGE PRICE REDUCTION makes this 3,054 sq. ft.condo a fabul...');
	propertiesMixedClaytonKirkwood[10] = new Array('634,900','50 Carondelet Plaza','Clayton, MO 63105 ','http://photos-6.idxco.com/117bd94d123577264fb4949fa1c4bd11ace759033','759033','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=759033&idxID=117','2','2','The Trianon, Clayton&amp;apos;s newest mixed use high-rise r...');
	propertiesMixedClaytonKirkwood[11] = new Array('631,000','232 North Kingshighway Blvd 1101','St Louis, MO 63108 ','http://photos-6.idxco.com/11746bd41f40512654bfa437db90261fa8d90017386','90017386','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90017386&idxID=117','2','2.5','Beautiful historic renovation of the Chase Park Plaza featur...');
	propertiesMixedClaytonKirkwood[12] = new Array('624,900','10520 Sapphire Ridge Ct','St Louis, MO 63128 ','http://photos-6.idxco.com/117b7f66604457f52dfcb5695286d4bc85390063317','90063317','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90063317&idxID=117','4','3.5','YOUR PLAN + YOUR LOT = YOUR HOME Featured model is an approx...');
	propertiesMixedClaytonKirkwood[13] = new Array('624,900','952 North Harrison Ave','Kirkwood, MO 63122 ','http://photos-6.idxco.com/1173d992f1cb97f21f53eb63f9a8729691410006670','10006670','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=10006670&idxID=117','4','3.5','TEN G! Beautifully appointed new construction! This 4 bedroo...');
	propertiesMixedClaytonKirkwood[14] = new Array('619,000','4749 Westminster','St Louis, MO 63108 ','http://photos-6.idxco.com/117fb8029d939ce2d4fedf678b25b5c443890052344','90052344','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90052344&idxID=117','4','3.5','GREAT PRICE NOW!! Seller wants it SOLD! Incredible updates, ...');
	propertiesMixedClaytonKirkwood[15] = new Array('616,900','50 Carondelet Plaza','Clayton, MO 63105 ','http://photos-6.idxco.com/117bd94d123577264fb4949fa1c4bd11ace759104','759104','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=759104&idxID=117','2','2','The Trianon, Clayton&amp;apos;s newest mixed use high-rise r...');
	propertiesMixedClaytonKirkwood[16] = new Array('616,900','50 Carondelet Plaza','Clayton, MO 63105 ','http://photos-6.idxco.com/117bd94d123577264fb4949fa1c4bd11ace759053','759053','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=759053&idxID=117','3','2','The Trianon, Clayton&amp;apos;s newest mixed use high-rise r...');
	propertiesMixedClaytonKirkwood[17] = new Array('615,000','54 Broadview Dr','Clayton, MO 63105 ','http://photos-6.idxco.com/1171a721943f7144107caa3ad8237638b6a90024652','90024652','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90024652&idxID=117','3','4','OPEN SUNDAY, 2/6/10 FROM 1-3. GREAT VALUE IN PRESTIGIOUS CLA...');
	propertiesMixedClaytonKirkwood[18] = new Array('610,000','4639 Maryland Ave','St Louis, MO 63108 ','http://photos-6.idxco.com/117d47cb9b18fe79c85a896a7d9a909ce1910003420','10003420','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=10003420&idxID=117','4','2.5','Located in the heart of the Central West End this beautiful ...');
	propertiesMixedClaytonKirkwood[19] = new Array('609,000','5082 Westminster Plc','St Louis, MO 63108 ','http://photos-6.idxco.com/1176eaec9f618c39f28750d81a1e389be8b90035626','90035626','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90035626&idxID=117','5','2.5','Prepare to be charmed by this beautifully renovated historic...');
	propertiesMixedClaytonKirkwood[20] = new Array('599,900','626 Hawbrook Ave','Kirkwood, MO 63122 ','http://photos-6.idxco.com/1178a9cbb35e82b83b615601fa9084abe8510004987','10004987','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=10004987&idxID=117','3','2.5','This beautiful English Tudor - style home is located on Hawb...');
	propertiesMixedClaytonKirkwood[21] = new Array('599,900','6312 Bluff Forest Dr','St Louis, MO 63129 ','http://photos-6.idxco.com/1179b45d36e8a466b331edff95c80b4d25390050618','90050618','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90050618&idxID=117','4','6.5','Stunning custom home on almost 1 acre nestled in a prestigio...');
	propertiesMixedClaytonKirkwood[22] = new Array('599,500','1051 Barberry Ln','Kirkwood, MO 63122 ','http://photos-6.idxco.com/117e7b8637f0462d657697043c1b2274c7490055324','90055324','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90055324&idxID=117','4','3.5','Envision yourself sitting on your back patio, enjoying the a...');
	propertiesMixedClaytonKirkwood[23] = new Array('599,000','12420 Rott-1C1 Rd 1C','St Louis, MO 63127 ','http://photos-6.idxco.com/117266a7f9d660ea25fa2a8c94394700a9f90054356','90054356','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90054356&idxID=117','2','2','Ten G! 2 Bedrooms and 2 Baths. COME SEE OUR NEW DISPLAY!! La...');
	propertiesMixedClaytonKirkwood[24] = new Array('599,000','6214 Washington Ave','St Louis, MO 63130 ','http://photos-6.idxco.com/11737527f383d80b3230f57dd787abf98f980060503','80060503','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=80060503&idxID=117','8','2.5','Grace and style describe this three-story manse built in 190...');
	var urlVarMixedClaytonKirkwood;
	var preLoadMixedClaytonKirkwood = new Image();
	preLoadMixedClaytonKirkwood.src = propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][3];
	onLoad = playMixedClaytonKirkwood();
