function PSMarkerLabel(point, text, offset) 
{
	var psml = this;
	psml.point = point;
	psml.text = text;
	psml.offset = offset || new GSize(0,0);
} 

PSMarkerLabel.prototype = new GOverlay();

PSMarkerLabel.prototype.initialize = function(map) 
{
	var psml = this;
	psml.map = map;
	psml.div = jQuery('<div class="markerLabel"><div><p class="l"></p><p class="c">'+psml.text+'</p><p class="r"></p></div></div>');
	map.getPane(G_MAP_FLOAT_SHADOW_PANE).appendChild(psml.div.get(0));
}

PSMarkerLabel.prototype.remove = function() 
{
	this.div.remove();
}

PSMarkerLabel.prototype.copy = function() 
{
	var psml = this;
	return new PSMarkerLabel(psml.point, psml.text, psml.offset);
}

PSMarkerLabel.prototype.redraw = function(force) {
	var psml = this;
	var p = psml.map.fromLatLngToDivPixel(psml.point);
	psml.div.css( {left:(p.x + psml.offset.width)+'px', top:(p.y + psml.offset.height)+'px'} );
}

PSMarkerLabel.prototype.getPoint = function() {
  	return this.point;
}


