/* Tooltip (c) Doberman 2007 */

function tt(target, text)
{
	var obj = getObj('tooltip');
	obj.style.zIndex = "1000";
	var content = getObj('content');
	content.innerHTML = text;
	obj.style.display = 'block';
	pos = rect(target);
	obj.style.left = (pos.left - Math.round(obj.offsetWidth / 2) + Math.round(target.offsetWidth / 2)) + 'px';
	obj.style.top = (pos.top - obj.offsetHeight) + 'px';
}

function ht() { var obj = getObj('tooltip'); obj.style.display = 'none'; }
