function findPos(obj) 
{
	var curleft = curtop = 0;
	if (obj.offsetParent) 
	{
		do 
		{
			curleft += obj.offsetLeft;
			curtop += obj.offsetTop;	
		} while (obj = obj.offsetParent);
	}
	
	return [curleft,curtop];
}
	
function show(bubble, entry)
{
	//Get object position and fall back for firefox mode
	pos = findPos(document.getElementById(bubble));
	
	document.getElementById('comment').style.display = 'block';
	document.getElementById('comment').style.left = pos[0] - 170;
	document.getElementById('comment').style.top  = pos[1] + 20;
	document.getElementById('commenthtml').innerHTML = entry;
}
