function showHint(text)
{
	if (window.EVENT){
          document.captureEvents(Event.MOUSEMOVE);
     }
     document.onmousemove = getCoordsCh;
     var hint = document.getElementById("hint");
     hint.innerHTML = text;
     hint.style.display = 'block';
}

function hideHint()
{
	var hint = document.getElementById("hint");
	hint.innerHTML = '';
    hint.style.display = 'none';
}

function getCoordsCh(e) {
	var hint = document.getElementById("hint");
	if (window.Event)
	{
		hint.style.left = e.pageX - 150;
		hint.style.top = e.pageY + 15;
	} else
	{
		hint.style.left =  event.clientX + document.body.scrollLeft - 150;
		hint.style.top =  event.clientY + document.body.scrollTop + 15;
	}
  }
  