function show(obj,msg,id){
document.getElementById(id).style.top=obj.offsetTop
document.getElementById(id).style.left=obj.offsetLeft+obj.offsetWidth+5
//document.getElementById(con).innerHTML=msg+"<p>"+obj.href
document.getElementById(id).style.display="block"
}
function hide(obj,msg,id) {

document.getElementById(id).style.display="none"
}

//To find X or left value of an object
function xstooltip_findPosX(obj) 
{
  var curleft = 0;
  if (obj.offsetParent) 
  {
    while (obj.offsetParent) 
        {
            curleft += obj.offsetLeft
            obj = obj.offsetParent;
        }
    }
    else if (obj.x)
        curleft += obj.x;
    return curleft;
}
 
//To find Y or top value of an object
function xstooltip_findPosY(obj) 
{
    var curtop = 0;
    if (obj.offsetParent) 
    {
        while (obj.offsetParent) 
        {
            curtop += obj.offsetTop
            obj = obj.offsetParent;
        }
    }
    else if (obj.y)
        curtop += obj.y;
    return curtop;
}
 
function show(obj,msg,id){
document.getElementById(id).style.display="block"
document.getElementById('messageBox5').style.top = xstooltip_findPosY(this)+370+'px';
document.getElementById('messageBox5').style.left = xstooltip_findPosX(this)+520+'px';
document.getElementById('messageBox4').style.top = xstooltip_findPosY(this)+380+'px';
document.getElementById('messageBox4').style.left = xstooltip_findPosX(this)+520+'px';
document.getElementById('messageBox3').style.top = xstooltip_findPosY(this)+380+'px';
document.getElementById('messageBox3').style.left = xstooltip_findPosX(this)+470+'px';
document.getElementById('messageBox2').style.top = xstooltip_findPosY(this)+400+'px';
document.getElementById('messageBox2').style.left = xstooltip_findPosX(this)+610+'px';
document.getElementById('messageBox1').style.top = xstooltip_findPosY(this)+410+'px';
document.getElementById('messageBox1').style.left = xstooltip_findPosX(this)+590+'px';
}
function hide(obj,msg,id) {
 
document.getElementById(id).style.display="none"
}
