if (!document.layers&&!document.all)
event="test";
function showtipfast(current,e,text)
{
if (document.all) // IE 4.x, 5.x, 6.x
{
document.all['tooltipfast'].innerHTML='
';
pixelLeft = event.clientX+5;
if (pixelLeft+document.all['tooltipfast'].style.pixelWidth > document.body.clientWidth)
pixelLeft = document.body.clientWidth - document.all['tooltipfast'].style.pixelWidth;
if (pixelLeft < 0)
pixelLeft = 0;
document.all['tooltipfast'].style.pixelLeft=pixelLeft;
document.all['tooltipfast'].style.pixelTop=event.clientY+5 +document.body.scrollTop;
document.all['tooltipfast'].style.visibility='visible';
}
else
{
if (document.getElementById) // Netscape 6.x, Mozilla
{
var myElement = document.getElementById("tooltipfast");
myElement.innerHTML='';
pixelLeft = e.pageX+5;
if (pixelLeft+parseInt(myElement.style.width) > document.body.offsetWidth)
pixelLeft = document.body.offsetWidth - parseInt(myElement.style.width);
if (pixelLeft < 0)
pixelLeft = 0;
myElement.style.left=pixelLeft;
myElement.style.top=e.pageY+5;
myElement.style.visibility = "visible";
}
else // Netscape 4.x
{
if (document.layers)
{
document.layers["tooltipfast"].document.write(''+text+'');
document.layers["tooltipfast"].document.close();
document.layers["tooltipfast"].left=e.pageX+5;
document.layers["tooltipfast"].top=e.pageY+5;
document.layers["tooltipfast"].visibility="show";
}
}
}
}
function hidetipfast()
{
if (document.layers) // IE 4.x, 5.x, 6.x
{
document.tooltipfast.visibility="hidden";
}
else
{
if (document.getElementById) // Netscape 6.x, Mozilla
{
var myElement = document.getElementById("tooltipfast");
myElement.style.visibility = "hidden";
}
else
if (document.all) // Netscape 4.x
{
document.all['tooltipfast'].style.visibility='hidden';
}
}
}