function verifyLink(url, text)
{
	var confirmed = confirm(text);
	if (confirmed) document.location.href = url;
}

var MouseIsOver = false;
document.onmousemove = GetMouseXY;
var IE = document.all ? true : false;

function HintShow(text)
{
	MouseIsOver = true;
	GetMouseXY();
	var width_wanted = text.length*7;
	if (IE) {
		document.all.hintbox.style.visibility='visible';
		document.all.hintboxtext.innerHTML = text;
		document.all.hintbox.style.width=width_wanted;
	} else {
		document.getElementById('hintbox').style.visibility='visible';
		document.getElementById('hintboxtext').innerHTML = text;
		document.getElementById('hintbox').style.width=width_wanted;
	}
}

function HintHide()
{
	if (IE) {
		document.all.hintbox.style.visibility='hidden';
	} else {
		document.getElementById('hintbox').style.visibility='hidden';
	}
	MouseIsOver = false;
}

function GetMouseXY(e)
{
	if (MouseIsOver)
	{
		if (IE) {
			document.all.hintbox.style.top = event.clientY + document.body.scrollTop+20;
			document.all.hintbox.style.left = event.clientX + document.body.scrollLeft+10;
		} else if (e) {
			document.getElementById('hintbox').style.top = e.clientY + document.body.scrollTop+20;
			document.getElementById('hintbox').style.left = e.clientX + document.body.scrollLeft+10;
		}
	}
}
