	// IDX Broker Slideshow version 1.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 timeout = 4000;
	var cwi = 0;
	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('a.IDX-ssLinkText, a.IDX-ssLinkText:active, a.IDX-ssLinkText:link, a.IDX-ssLinkText:visited, a.IDX-ssLinkText:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #ffffff;  }');
	document.writeln('#IDX-slideshow { background-color: #E0C2A0; border-width: 1px; border-style: solid; border-color: #905D00; width: 320px; height: 315px;  }');
	document.writeln('.IDX-image { width: 320px; height: 240px;  }');
	document.writeln('</style>');
	var next = 1;
	prev = 7 - 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 >= 7)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 7 - 1;
	} // end genPrev

	var properties = new Array(7);
	properties[0] = new Array('1,075,000','281 PARK AVE ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/281/07955281.jpg','07955281','004','http://www.noahlevyhomes.idxco.com/idx/3740/details.php?listingID=07955281&idxID=004','5','4','ENJOY THE GREAT FLOW &amp; LIGHT FILLED OPEN FLOOR PLAN OF T...');
	properties[1] = new Array('650,000','184 Whistler RD ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/555/07979555.jpg','07979555','004','http://www.noahlevyhomes.idxco.com/idx/3740/details.php?listingID=07979555&idxID=004','3','3','Just completed-Extraordinary renovation of original Mess Hal...');
	properties[2] = new Array('645,000','202 Whistler RD ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/533/07947533.jpg','07947533','004','http://www.noahlevyhomes.idxco.com/idx/3740/details.php?listingID=07947533&idxID=004','3','4','Just completed - Extraordinary renovation of original Mess H...');
	properties[3] = new Array('640,000','486 Beech ST ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/882/07967882.jpg','07967882','004','http://www.noahlevyhomes.idxco.com/idx/3740/details.php?listingID=07967882&idxID=004','3','4','PREPARE TO BE IMPRESSED! GREAT SPACE, STYLE &amp; LOCATION! ...');
	properties[4] = new Array('585,000','194 Whistler RD 301 ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/458/07979458.jpg','07979458','004','http://www.noahlevyhomes.idxco.com/idx/3740/details.php?listingID=07979458&idxID=004','3','3','Just completed-Extraordinary renovation of original Mess Hal...');
	properties[5] = new Array('499,000','194 Whistler RD 302 ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/245/07944245.jpg','07944245','004','http://www.noahlevyhomes.idxco.com/idx/3740/details.php?listingID=07944245&idxID=004','3','3','Just completed-Extraordinary renovation of original Mess Hal...');
	properties[6] = new Array('3,999','396 ORCHARD LN ','HIGHLAND PARK, IL 60035 ','http://www.mredllc.com/photos/property/111/07964111.jpg','07964111','004','http://www.noahlevyhomes.idxco.com/idx/3740/details.php?listingID=07964111&idxID=004','4','2','Prepare to be impressed - this amazing rental is completelyu...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

