	// IDX Broker Slideshow version 2.0
	// Copyright ©2009 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','10520 Sapphire Ridge Ct','St Louis, MO 63128 ','http://photos-6.idxco.com/117ac5855488e64f3cd6f76904740e043de90033844','90033844','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90033844&idxID=117','4','3.5','New construction-to be built-optional elevations and feature...');
	propertiesMixedClaytonKirkwood[2] = 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[3] = new Array('649,900','9906 Sappington','St Louis, MO 63128 ','http://photos-6.idxco.com/117465629ead10206de5d98a66bbf82b1cb80000170','80000170','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=80000170&idxID=117','5','3.5','Bring your own plan or choose one of ours. This walk out lot...');
	propertiesMixedClaytonKirkwood[4] = 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[5] = new Array('649,500','939 North Harrison Ave','Kirkwood, MO 63122 ','http://photos-6.idxco.com/1171385e662ad99daa2ae227af4ed2178ba90039520','90039520','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90039520&idxID=117','4','6','Wonderful 2 year old, 4+ bdrms, 6 baths new construction in ...');
	propertiesMixedClaytonKirkwood[6] = 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[7] = 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[8] = new Array('649,000','4749 Westminster','St Louis, MO 63108 ','http://photos-6.idxco.com/117e82aef216f431bf3f707d58384bd6ae290052344','90052344','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90052344&idxID=117','4','3.5','AGENT BONUS!!SELLER RELOCATING &amp;amp; WANTS IT SOLD! Incr...');
	propertiesMixedClaytonKirkwood[9] = 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[10] = new Array('648,000','314 North Broadway 1706','St Louis, MO 63102 ','http://photos-6.idxco.com/11776c6895af63ad09551af3a89a128c5af90029207','90029207','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90029207&idxID=117','3','3','Step up to this penthouse as it is sure to serve all of your...');
	propertiesMixedClaytonKirkwood[11] = 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[12] = new Array('645,000','10 Westwood Country Club','St Louis, MO 63131 ','http://photos-6.idxco.com/117ef52d7a3f246c607ab0b53b6c0ad28cd90049610','90049610','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90049610&idxID=117','4','3','Isadore Shank Modernist Gem *Construction personally supervi...');
	propertiesMixedClaytonKirkwood[13] = 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[14] = 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[15] = 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[16] = 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[17] = new Array('625,000','1814 Kennett','St Louis, MO 63104 ','http://photos-6.idxco.com/117fca9d06176fc503ae4e555b6d0bfb5c990029656','90029656','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90029656&idxID=117','3','3.5','Open Sunday 11/22 from 1-3.  Spectacular restoration on all ...');
	propertiesMixedClaytonKirkwood[18] = new Array('625,000','7463 York Dr','Clayton, MO 63105 ','http://photos-6.idxco.com/11761d9e57512cc0731cc0158991ca5d53590051689','90051689','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90051689&idxID=117','3','2.5','Beautiful 2 story Georgian home on one of Clayton&amp;apos;s...');
	propertiesMixedClaytonKirkwood[19] = new Array('623,800','1 Washington','St Louis, MO 63112 ','http://photos-6.idxco.com/117d15b8c414eead6e83018946b36fa739e90039634','90039634','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90039634&idxID=117','8','4.5','3 story brick with two car detached garage, private street, ...');
	propertiesMixedClaytonKirkwood[20] = new Array('619,900','351 Couch Ave','Kirkwood, MO 63122 ','http://photos-6.idxco.com/117574e87742bd47983b82307c39789902e90054523','90054523','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90054523&idxID=117','4','2.5','Just four years young, this solid home was constructed in tr...');
	propertiesMixedClaytonKirkwood[21] = new Array('619,900','1532 Sommet Plc','Kirkwood, MO 63122 ','http://photos-6.idxco.com/117c6d1b40bc289f1637f61fbec05160b3f90014200','90014200','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90014200&idxID=117','3','3.5','Do you desire carefree living in a uniquely designed develop...');
	propertiesMixedClaytonKirkwood[22] = new Array('619,900','1532 Sommet Plc','Kirkwood, MO 63122 ','http://photos-6.idxco.com/117126c3c1833d687dd6387441b6649ab4290023298','90023298','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90023298&idxID=117','3','3.5','Do you desire carefree living in a uniquely designed develop...');
	propertiesMixedClaytonKirkwood[23] = new Array('619,000','18 Homewood Dr','Kirkwood, MO 63122 ','http://photos-6.idxco.com/117ce0e0abf6d7f2b7adabb5f111c94a2d990055138','90055138','117','http://www.remaxginger.idxco.com/idx/3396/details.php?listingID=90055138&idxID=117','3','2.5','Luxurious main level living in totally renovated house. Just...');
	propertiesMixedClaytonKirkwood[24] = 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...');
	var urlVarMixedClaytonKirkwood;
	var preLoadMixedClaytonKirkwood = new Image();
	preLoadMixedClaytonKirkwood.src = propertiesMixedClaytonKirkwood[cMixedClaytonKirkwoodwi][3];
	onLoad = playMixedClaytonKirkwood();
