var g_bubble;

function Bubble(div)
{
		this.className="Bubble";
		this.html = div;
		div.objlnk = this;
}

Bubble.prototype.editBubble = function(e,str)
{
	var pos = eventPos(e);
	writeIntoLayer(this.html,str);
	moveLayerTo(this.html,pos[0],pos[1]+18);
	showLayer(this.html,true);
}

Bubble.prototype.hideBubble = function()
{
	showLayer(this.html,false);
}