function createSummary(props) {

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

	var h = '<table width="570">';

	h += '<th width="200"><a href="javascript:getMapWithSort(\'lp_ListingAddr1\')">Address</a></th><th width="100"><a href="javascript:getMapWithSort(\'lp_ListingCity\')">City</a></th><th width="100"><a href="javascript:getMapWithSort(\'lp_Listing_Price\')">Price</a></th><th width="80"><a href="javascript:getMapWithSort(\'lp_No_Bedrooms\')">Beds</a></th><th width="80"><a href="javascript:getMapWithSort(\'lp_No_Bathrooms\')">Baths</a></th></tr>';

	var queryString = createQueryString();

	var bgcolor = '#ffffff';

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

		h += '<tr id="' + i + '" onMouseOut="this.bgColor=\'\';" onMouseOver="this.bgColor=\'#cecece\'; for (var j = 0; j < 100; j++) { var elm = document.getElementById(\'myLayer\' + j); if (elm != null) { elm.style.visibility = \'hidden\'; } else {  break;  }  }  document.getElementById(\'myLayer\' + this.id).style.visibility = \'visible\';">';


		h += '<td width="200"><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') + '" target="_parent">' + cleanString(props[i].getAttribute('lp_ListingAddr1')) + '</a></td>';

		h += '<td align="center" width="100">' + cleanString(props[i].getAttribute('lp_ListingCity')) + '</td>';

		h += '<td align="center" width="100">$' + cleanString(props[i].getAttribute('lp_Listing_Price_Display')) + '</td>';

		h += '<td align="center" width="100">' + cleanString(props[i].getAttribute('lp_No_Bedrooms')) + '</td>';

		h += '<td align="center" width="100">' + cleanString(props[i].getAttribute('lp_No_Bathrooms')) + '</td>';
	
		h += '</tr>';
}

h += '</table>';

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';

}


