var show_timeout, hide_timeout;
var hint_x, hint_y;

function hint_hide()
{
	clearTimeout(show_timeout);
	clearTimeout(hide_timeout);
	document.all['hint'].style.display = 'none';
}

function hint_show()
{
	with (document.all['hint'])
	{
		style.left = hint_x + 'px';
		style.top = hint_y + 'px';
		style.display = 'block';
	}

	hide_timeout = setTimeout('hint_hide()',4000);
}

function hint_place()
{
	hint_x = event.x + 4;
	hint_y = event.y - 24;
}

function hint_trig(obj, text)
{
	document.all['hint'].innerText = text;

	show_timeout = setTimeout('hint_show()', 700);
}

