function openDetail(vl_loh_id)
{
	var vsFeatures = 'width=600, height=500, innerwidth=600, innerheight=500, resizable, status, scrollbars';
	var wRef = window.open('http://www.londonopenhouse.org/london/search/detail.asp?ftloh_id='+String(vl_loh_id),'popup',vsFeatures);
}//end openDetail


function openPostcodeMap(vsPostcode)
{
	if(vsPostcode!='')
		{
		var vsBrowseURL = 'http://www.multimap.com/clients/browse.cgi?ftaction=interactivemap&scale=25000&client=loh&db=pc&pc='+ vsPostcode.replace(/\s/,'') +'&client=loh&place='+ escape(vsPostcode);
		window.open(vsBrowseURL, 'popup', 'width=200, height=200, resizable, status');
		}
	else
		{
		window.alert('We don\'t know the postcode for this building so it\'s not possible to display a map.');
		}
}//end openPostcodeMap

