<!--
var isIE = (document.all ? true : false);
var isDOM = (document.getElementById ? true : false);
var isNS4 = (document.layers && !isDOM)? true : false;
var isNS = (navigator.appName.substring(0,3) == "Net") ? true : false;
var isOPERA = (navigator.appName.substring(0,5) == "Opera") ? true : false;
var tipPopup = null;
var tipPopupX = 0;
var tipPopupY = 0;
var tipPopupHeight = 0;
var tipPopupOffset = 0;
function initTipDeck(){
  if (isDOM){
    if (isNS) {
      document.captureEvents(Event.MOUSEMOVE);
    }
    document.onmousemove = get_mouse;
  }
  else if (isIE){
    document.onmousemove = get_mouse;
  }
  else if (isNS4){
    document.captureEvents(Event.MOUSEMOVE);
    document.onmousemove = get_mouse;
  }
}
function popTip(topDeckTip){
  if (isDOM) {
    tipPopup = document.getElementById(topDeckTip).style;
    tipPopupHeight = document.getElementById(topDeckTip).offsetHeight;
    tipPopupOffset = document.getElementById(topDeckTip).offsetTop;
    tipPopup.left = tipPopupX ;
    tipPopup.top = tipPopupY;
    tipPopup.visibility = "visible";
  }
  else if (isIE){
    tipPopup = document.all[topDeckTip].style;
    tipPopupHeight = document.all[topDeckTip].offsetHeight;
    tipPopupOffset = document.all[topDeckTip].offsetTop;
    tipPopup.left = tipPopupX ;
    tipPopup.top = tipPopupY;
    tipPopup.visibility = "visible";
  }
  else if (isNS4) {
    tipPopup = document.layers[topDeckTip];
    tipPopup.left = tipPopupX ;
    tipPopup.top = tipPopupY;
    tipPopup.visibility = "visible";
  }
}
function openTip(url, winName, features) {
  if ( !(isDOM || isIE || isNS4) || isOPERA ) 
    window.open(url, winName, features);
}
function get_mouse(e){
  e = (e) ? e : event;
  var x = (e.pageX) ? e.pageX : e.x + document.body.scrollLeft;
  var y = (e.pageY) ? e.pageY : e.y + document.body.scrollTop;
  x -= 20;
  y += 20;
  if (isNS && isDOM) {
    tipPopupX = x + "px";
    tipPopupY = y + "px";
  }
  else {
    tipPopupX = x;
    tipPopupY = y;
  }

  if (tipPopupHeight > 0) {
    var delta = document.body.scrollTop + document.body.clientHeight - tipPopupOffset;
    if (delta < tipPopupHeight) {
      tipPopupY = tipPopupY - tipPopupHeight - 30; 
    }
  }

  if(tipPopup != null && tipPopup.visibility == "visible"){
    tipPopup.left = tipPopupX ;
    tipPopup.top = tipPopupY;
  }
}
function killTip(){
  if (isDOM || isIE || isNS4) 
    tipPopup.visibility = "hidden";
  tipPopup = null;
  tipPopupHeight = 0;
  tipPopupOffset = 0;
}
//-->