﻿var hintcontainer = null;
function showHint(obj, text) {
    if (hintcontainer == null) {
        hintcontainer = document.createElement("div");
        hintcontainer.className = "hintHartaSite";
        document.body.appendChild(hintcontainer);
    }
    obj.onmouseout = hidehint;  
    obj.onmousemove = movehint;  
    hintcontainer.innerHTML=text;  
    
}

function movehint(e) {  
   if (!e) e = event;
   hintcontainer.style.top =  (e.clientY+document.documentElement.scrollTop+2)+"px";  
   hintcontainer.style.left = (e.clientX+document.documentElement.scrollLeft+10)+"px";
   hintcontainer.style.display = "";
   hintcontainer.style.cursor = "pointer";
   
    
}
function hidehint() {
    hintcontainer.style.display = "none";  
}
