function ScoopLabel(latlng, html) {
  this.latlng_ = latlng;
  this.html_ = html;
}
ScoopLabel.prototype = new GOverlay();

ScoopLabel.prototype.initialize = function(map) {
  this.map_ = map;
  
  var div = document.createElement("div");
  div.innerHTML = this.html_;
  div.style.position = "absolute";
	var point = this.map_.fromLatLngToDivPixel(this.latlng_);
  var left = (point.x / 2);
  div.style.left = left + "px";
  div.style.top = point.y - (div.offsetHeight) + "px";
	
  map.getPane(G_MAP_MARKER_PANE).appendChild(div);

  this.div_ = div;
}

ScoopLabel.prototype.remove = function() {
  this.div_.parentNode.removeChild(this.div_);
}

ScoopLabel.prototype.copy = function() {
  return new ScoopLabel(this.latlng_, this.html_);
}

ScoopLabel.prototype.redraw = function(force) {
  if (!force) return;

	var point = this.map_.fromLatLngToDivPixel(this.latlng_);
  this.div_.style.left = point.x - (this.div_.offsetWidth / 2) + "px";
  this.div_.style.top = point.y - (this.div_.offsetHeight) + "px";
}
