
if (!document.getElementById) {
  if(!document.all) {
    if(!document.layers) {
      event = "";
    }
  }
}
  
function hideTip() {} // avoid errors until loaded

var tooltip;
function doTooltip(evt,txt) {
if (!tooltip) return;
var cntnt = wrapTip(txt);
goTooltip(evt,cntnt);
}

function wrapTip(txt) {
var cntnt = "";
if (document.layers) {
cntnt = '<table bgcolor="' + tipBorderColor + '" width="' + tipWidth + '" cellspacing="0" cellpadding="' + tipBorderWidth + '" border="0"><tr><td><table bgcolor="' + tipBgColor + '" width="100%" cellspacing="0" cellpadding="' + tipPadding + '" border="0"><tr><td><div style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + tipFontColor + ';">' + txt  + '</div></td></tr></table></td></tr></table>';
} else cntnt = txt;
return cntnt;
}
var tipFollowMouse = true;
var tipWidth = 150;
var tipOffX= 8;
var tipOffY= 12;
var tipFontFamily = "Verdana, arial, helvetica, sans-serif";
var tipFontSize= "9px";// string with pixels or points (px or pt)
var tipLineHeight= 1.2;// number(recommend 1 to 1.3)
var tipFontColor = "#000000";
var tipBgColor = "#F6F6F8";// tooltip background color
var tipBgImg = "";// tooltip background image
var tipPadding = 2;// integer (pixel value)
var tipBorderColor = "#000000"; 
var tipBorderWidth = 1; // integer (pixel value)
var tipBorderStyle = "groove"; 

//-->