	// IDX Broker Slideshow version 1.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 timeout = 7000;
	var cwi = 0;
	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('#IDX-slideshow { text-align: center; width: 225px; height: 230px;  }');
	document.writeln('.IDX-image { width: 180px; height: 140px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 15 - 1;

	document.writeln('<div id="IDX-slideshow">');
	document.writeln('<div id="IDX-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-ssImageURL" class="IDX-ssLinkText"><img id="IDX-ssImage" name="ssImage" alt="Slideshow image" border="0"  class="IDX-image" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-priceLine"></div>');
	document.writeln('<div id="IDX-addressLine"></div>');
	document.writeln('<div id="IDX-cszLine"></div>');
	document.writeln('<div id="IDX-bedsLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-bathsLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-remarksLine" style="display:none;"></div>');

	document.writeln('</div>');

	function play()
	{
		urlVar = '<a href="'+properties[cwi][6]+'" class="IDX-ssLinkText">';
		document.images.ssImage.src = preLoad.src;
		document.getElementById('IDX-ssImageURL').href = properties[cwi][6];
		document.getElementById('IDX-priceLine').innerHTML = urlVar+'$'+properties[cwi][0]+'</a>';
		document.getElementById('IDX-addressLine').innerHTML =  urlVar+properties[cwi][1]+'</a>';
		document.getElementById('IDX-cszLine').innerHTML = urlVar+properties[cwi][2]+'</a>';
		document.getElementById('IDX-bedsLine').innerHTML = urlVar+'Beds: '+properties[cwi][7]+'</a>';
		document.getElementById('IDX-bathsLine').innerHTML = urlVar+'Baths: '+properties[cwi][8]+'</a>';
		document.getElementById('IDX-remarksLine').innerHTML = urlVar+properties[cwi][9]+'</a>';
		preLoad = new Image();
		preLoad.src = properties[next][3];
		update();
		c = setTimeout('play()', timeout)
	} // end play()
	function update()
	{
		cwi = next;
		genNext();
		genPrev();
	}
	function genNext()
	{
		next = cwi + 1;
		if (next >= 15)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 15 - 1;
	} // end genPrev

	var properties = new Array(15);
	properties[0] = new Array('1,752,500','Muirfield Place ','Edmond, OK 73013 ','http://supplemental.idxco.com/4065-124638910452509','IDX-1246388652','999','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=IDX-1246388652&supp=1','','','Land in Muirfield Village. Zoned C-3 or R-4...');
	properties[1] = new Array('1,075,000','1235 Blue Wister Cove ','Edmond, OK 73013 ','http://supplemental.idxco.com/4065-125546794871543','406698','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=406698&idxID=255','4','3','...');
	properties[2] = new Array('950,000','3124 Via Esperanza ','Edmond, OK 73013 ','http://photos-13.idxco.com/255cb319547a07379b04d5fdb88cb14abb8396982','396982','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=396982&idxID=255','5','5','...');
	properties[3] = new Array('799,000','16304 Morningside Dr. ','Edmond, OK 73013 ','http://supplemental.idxco.com/4065-124881986867359','377912','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=377912&idxID=255','4','4','...');
	properties[4] = new Array('736,900','16200 Morningside Dr. ','Edmond, OK 73013 ','http://photos-13.idxco.com/25544f2cd4213f78571f6b56fb09f0f01c4377792','377792','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=377792&idxID=255','3','3','...');
	properties[5] = new Array('724,900','16252 Morningside Dr. ','Edmond, OK 73013 ','http://clientlogos.idxco.com/noPhoto_4065','389515','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=389515&idxID=255','3','3','...');
	properties[6] = new Array('719,900','16316 Morningside Dr. ','Edmond, OK 73013 ','http://photos-13.idxco.com/255477998827bd3739b8c89451527a794b1377794','377794','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=377794&idxID=255','2','2','...');
	properties[7] = new Array('659,900','3340 NW 172nd Ct ','Edmond, OK 73012 ','http://supplemental.idxco.com/4065-125149321308136','IDX-1251493032','999','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=IDX-1251493032&supp=1','3','3','Remarkable custom home in the Villas. Built by Jim Bowers. S...');
	properties[8] = new Array('659,900','16305 Scotland Way ','Edmond, OK 73013 ','http://photos-13.idxco.com/255418b1f87d169bfb2411555d46702081c377801','377801','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=377801&idxID=255','2','2','...');
	properties[9] = new Array('589,900','16260 Morningside Dr. ','Edmond, OK 73013 ','http://photos-13.idxco.com/2551cf4718391fae34c03e37a1f4ba7988b377793','377793','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=377793&idxID=255','2','2','...');
	properties[10] = new Array('579,900','16228 Morningside Dr. ','Edmond, OK 73013 ','http://supplemental.idxco.com/4065-124657171178959','377804','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=377804&idxID=255','2','2','...');
	properties[11] = new Array('548,900','16256 Morningside Dr. ','Edmond, OK 73013 ','http://supplemental.idxco.com/4065-125406604065788','389506','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=389506&idxID=255','2','2','...');
	properties[12] = new Array('489,900','16312 Morningside Dr. ','Edmond, OK 73013 ','http://photos-13.idxco.com/255af10cd27496fda97fff79aa458f0435a377796','377796','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=377796&idxID=255','2','2','...');
	properties[13] = new Array('280,000','1606 Randel Rd ','Oklahoma City, OK 73116 ','http://photos-13.idxco.com/255f246eb95ddc545727263296157657065394663','394663','255','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=394663&idxID=255','3','2','...');
	properties[14] = new Array('69,000','Villagio Lot 2 Blk 2 ','Edmond, OK 73003 ','http://supplemental.idxco.com/4065-124691107817434','IDX-1246389605','999','http://www.okchomesellers.idxco.com/idx/4065/details.php?listingID=IDX-1246389605&supp=1','','','Wonderful lot in Villagio. Lakefront View!...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
