function createMarkerTabs(point, infoTabs) {
	
	var marker = new GMarker(point);
	var opts = new Object();
	opts.maxWidth = 280; 
	
	GEvent.addListener(marker, "click", function() {
		marker.openInfoWindowTabsHtml(infoTabs, opts);
	});

	return marker;
}

function createMarker(point, info, opts) {
	var marker = new GMarker(point);
	
	GEvent.addListener(marker, "click", function() {
		marker.openInfoWindowHtml(info, 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; border: 1px solid #ccc;"/><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;
}
