var offsetX=-50 // x offset of tooltip from mouse position
var offsetY=35 // y offset of tooltip from mouse position
var ie=document.all
var ns6=document.getElementById && !document.all
var showTip=false
if (ie||ns6)
var obj=document.all? document.all["toolTip2"] : document.getElementById? document.getElementById("toolTip2") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function toolTip(innerCode){
if (ns6||ie){
obj.innerHTML=innerCode
showTip=true
return false
}
}

function positiontip(e){
if (showTip){
var toolTipH=document.all? document.all["toolTip2"].clientHeight : document.getElementById? document.getElementById("toolTip2").offsetHeight : ""
var curX=(ns6)?e.pageX : event.x + ((document.body.clientWidth-764)/2);
var curY=(ns6)?e.pageY : event.y;
var curY = curY - (toolTipH/2) - 70;
//position the menu where the mouse is positioned
obj.style.left=curX+offsetX+"px"
obj.style.top=curY+offsetY+"px"
obj.style.visibility="visible"
}
}

function hideToolTip(){
if (ns6||ie){
showTip=false
obj.style.visibility="hidden"
obj.style.left="-1000px"
}
}

document.onmousemove=positiontip