function createSummary(props) {

	var container = document.getElementById('summary_area');

	var h = '<div id="reshold">';

	var div_class = 'resulzmap2';

        var queryString = escape(createQueryString());

	for (var i = 0; i < props.length; i++) {

		if (div_class == 'resulzmap2') {
			div_class = 'resulzmap';
		} else {
			div_class = 'resulzmap2';
		}

		h += '<div id="' + i + '" class="' + div_class + '" onMouseOver="hideAll(); document.getElementById(\'myLayer\' + this.id).style.visibility = \'visible\';">';

		if (pres_agent.length > 0) {
			h += '<a href="' + root_url + '/vp/ListingServlet?cd_MLS=' + props[i].getAttribute('cd_MLS') + '&SITE=' + site + '&ScreenID=AGENT_LISTING_DETAIL&pres_agent=' + pres_agent + '&mapvars=' + queryString + '%26s_layer%3D' + props[i].getAttribute('cd_MLS') + '&pres_agent=' + pres_agent + '" target="_parent"><img src="http://' + cleanString(props[i].getAttribute('lp_Photo_URL')) + props[i].getAttribute('lp_MLS_Number') + 'at.jpg" /></a><b>$' + cleanString(props[i].getAttribute('lp_Listing_Price_Display')) + '</b><br/>MLS: ' + cleanString(props[i].getAttribute('lp_MLS_Number')) + '<br/>' + cleanString(props[i].getAttribute('lp_ListingCity')) + ' ' + cleanString(props[i].getAttribute('lp_ListingState')) + ', ' + cleanString(props[i].getAttribute('lp_ListingZip'));
		} else {
			h += '<a href="' + root_url + '/vp/ListingServlet?cd_MLS=' + props[i].getAttribute('cd_MLS') + '&SITE=' + site + '&ScreenID=LISTING_DETAIL_P&mapvars=' + queryString + '%26s_layer%3D' + props[i].getAttribute('cd_MLS') + '&pres_agent=' + pres_agent + '" target="_parent"><img src="http://' + cleanString(props[i].getAttribute('lp_Photo_URL')) + props[i].getAttribute('lp_MLS_Number') + 'at.jpg" /></a><b>$' + cleanString(props[i].getAttribute('lp_Listing_Price_Display')) + '</b><br/>MLS: ' + cleanString(props[i].getAttribute('lp_MLS_Number')) + '<br/>' + cleanString(props[i].getAttribute('lp_ListingCity')) + ' ' + cleanString(props[i].getAttribute('lp_ListingState')) + ', ' + cleanString(props[i].getAttribute('lp_ListingZip'));
		}

		h += '</div>';
	
	}

h += '</div>';

container.style.overflow = 'scroll';
container.style.visibility = 'visible';
container.innerHTML = h;

}

function clearSummary() {

	var s = document.getElementById('summary_area');

	s.style.overflow = 'hidden';
	s.style.visibility = 'hidden';

}

