if (!document.layers&&!document.all&&!document.getElementById('tooltip')) {
  event="test";
}

function showtip(current,e,text) {
  if (document.all) {
    thetitle=text.split('<BR>');
                
    if (thetitle.length>1) {
       thetitles='';
                        
       for (i=0;i<thetitle.length;i++) {
         thetitles+=thetitle[i];
       }
       current.title=thetitles;
    } else {
      current.title=text;
    }

  } else if (document.layers){
      document.tooltip.document.write('<layer bgColor="white" style="border:1px solid black;font-size:12px;">'+text+'</layer>');
      document.tooltip.document.close();
      document.tooltip.left=e.pageX+5;
      document.tooltip.top=e.pageY+5;
      document.tooltip.visibility="show";
      
  } else if (toolTipElement = document.getElementById('tooltip')) {
      toolTipElement.innerHTML = '<DIV CLASS="normal" STYLE="border:1px solid black;font-size:11px; background-color: #FFFFFF;"> &nbsp; ' + text + ' &nbsp; </DIV>';
      toolTipElement.style.left = e.pageX+10;
      toolTipElement.style.top = e.pageY+5;

      toolTipElement.style.visibility = "visible";
  }
  
}

function hidetip(){
  if (document.layers) {
   document.tooltip.visibility="hidden";
  } else if (toolTipElement = document.getElementById('tooltip')) {

      toolTipElement.style.visibility = "hidden";
  }
}

