// Creates a marker at the given point with the given number label
function createHouseMarker(p,number,message,image,iconimage,height,width) {
	var i = new GIcon();
	i.image = iconimage;
	i.iconSize = new GSize(height, width);
	i.iconAnchor = new GPoint(9, 20);
	i.infoWindowAnchor = new GPoint(9, 1);
	var it = "<div id='gmapcontent'><img src='/images/"+image+"' align='left' style='margin-right: 5px;'><p>"+message+"</p></div>";
	//var it = "<div id='gmapcontent'><p>"+message+"</p></div>";
	var m = new PdMarker(p,i);
	GEvent.addListener(m, "click", function() {m.openInfoWindowHtml(it);});
	return {m:m,it:it};
}

function createPOIMarker(point, number,message,iconimage,height,width) {
	var i = new GIcon();
	i.image = iconimage;
	i.iconSize = new GSize(height, width);
	i.iconAnchor = new GPoint(9, 20);
	i.infoWindowAnchor = new GPoint(9, 1);
	var m = new PdMarker(point,i);
	m.setTooltip(message);
	return m;
}

// Creates a marker at the given point with the given number label
function createMarker(point, number) {
	var marker = new GMarker(point);
	return marker;
}