function hover(theid, amountleft, amounttop) {
  if (amountleft=='undefined') {
    amountleft = -270;
  }
  if (amounttop=='undefined') {
    amounttop = 45;
  }
    
  document.onmousemove = function (e) {
  	var posx = 0;
  	var posy = 0;
  	if (!e) var e = window.event;
  	if (e.pageX || e.pageY) 	{
  		posx = e.pageX;
  		posy = e.pageY;
  	}
  	else if (e.clientX || e.clientY) 	{
  		posx = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
  		posy = e.clientY + document.body.scrollTop  + document.documentElement.scrollTop;
  	}
  	// posx and posy contain the mouse position relative to the document //--> 
  	$(theid).style.top = posy + amounttop + 'px';
  	$(theid).style.left = posx + amountleft + 'px';
  }
  
  $(theid).style.display = 'block';
}


function hout(theid) {
  $(theid).hide();
  document.onmousemove = null;
}
