// JavaScript Document

function createMarker(point, html, type)
{
	if( type == 'nanny' )
	{
		markerOptions = { icon:nannyIcon };
	}
	else if(type == 'ouder')
	{
		markerOptions = { icon:ouderIcon };
	}
	else
	{
		markerOptions = { };
	}
			
	var marker = new GMarker(point, markerOptions);
	
	GEvent.addListener(
		marker, "click", function()
		{
			marker.openInfoWindowHtml(html);
		}
	);
	return marker;
}