var baseIcon = new GIcon();
baseIcon.shadow = 'http://www.google.com/mapfiles/shadow50.png';
baseIcon.iconSize = new GSize(20, 34);
baseIcon.shadowSize = new GSize(37, 34);
baseIcon.iconAnchor = new GPoint(9, 34);
baseIcon.infoWindowAnchor = new GPoint(9, 2);
baseIcon.infoShadowAnchor = new GPoint(18, 25);

function createMarker(point,html,index)
{
	var letter = String.fromCharCode('A'.charCodeAt(0) + index);
	var icon = new GIcon(baseIcon);
	icon.image = 'http://www.google.com/mapfiles/marker' + letter + '.png';
	var marker = new GMarker(point, icon);
	GEvent.addListener(marker, 'click', function() {
		marker.openInfoWindowHtml('<div style="white-space:nowrap;">'+html+'<\/div>');
	});
	return marker;
}
function clickedMarker(marker,html)
{
	marker.openInfoWindowHtml('<div style="white-space:nowrap;">'+html+'<\/div>');
}
