function MapThumbtack ( Location )
{
	this.Location = Location;
}

MapThumbtack.prototype = new GOverlay( );

MapThumbtack.prototype.initialize = function(Map)
{
	var Div = document.createElement( "div" );
	Div.style.width = "80px";
	Div.style.height = "80px";
	Div.style.backgroundImage = "url(graphics/Thumbtack.gif)";
	Div.style.position = "absolute";
	Div.style.zIndex = "5000";

	Map.getPane(G_MAP_MAP_PANE).appendChild( Div );
	
	this.Map = Map;
	this.Div = Div;
}

MapThumbtack.prototype.remove = function()
{
	this.Div.parentNode.removeChild( this.Div );
}

MapThumbtack.prototype.redraw = function(Force)
{
	if( !Force )
		return;
		
	var Center = this.Map.fromLatLngToDivPixel( this.Location );
	var L = Center.x - 40;
	var T = Center.y - 40;
	
	this.Div.style.left = L + "px";
	this.Div.style.top  = T + "px";
}

