function createMarker(point, html) {
	html = '<div class="mappopup" style="width:280px;">' + html + '</div>';
	var marker = new GMarker(point);
	var opts = new Object();
	opts.maxWidth = 280; 
	GEvent.addListener(marker, "click", function() {
		marker.openInfoWindowHtml(html, opts);
	});
	return marker;
}
				
function createBlankMarker(point, html) {
	var marker = new GMarker(point, icon);
	return marker;
}


function createInfo(title, details, img) {
	infohtml = '';
	if(img!='images/policing/lpu/'){
		infohtml = '<img src="' + img + '" width="120px" height="100px" alt="Photograph of '+ title +'" style="float:left; width:120px; height:100px;"/><h2 style="margin: 0 0 5px 130px; font-size: 120%; width: auto;">' + title + '</h2><p style="margin: 0 0 0 130px; font-size: 80%; width: auto;">' + details + '</p>';	
	} else {
		infohtml = '<h2 style="margin: 0 0 5px 0; font-size: 120%; width: auto;">' + title + '</h2><p style="margin: 0 0 0 0; font-size: 80%; width: auto;">' + details + '</p>';
	}

	return infohtml;
}
