<!--
// Copyright 1999 InsideDHTML.com, LLC. All rights reserved
// For more information see www.siteexperts.com
// This script can be reused as long as this copyright notice is maintained
var iDelay = 750 // Delay to hide in milliseconds
var iNSWidth=100 // Default width for netscape
var sDisplayTimer = null, oLastItem

function getRealPos(i,which) {
  iPos = 0
  while (i!=null) {
    iPos += i["offset" + which]
    i = i.offsetParent
  }
  return iPos
}

function showDetails(sDest,itop,ileft,iWidth) {
  if (document.all) {
    var i = window.event.srcElement
    stopTimer()
    dest = document.all[sDest]
    if ((oLastItem!=null) && (oLastItem!=dest))
      hideItem()
    if (dest) {
      // Netscape Hack
      if (i.offsetWidth==0) 
        if (iWidth)
          i.offsetWidth=iWidth
        else
          i.offsetWidth=iNSWidth;
      if (ileft) 
        dest.style.pixelLeft = ileft
      else
        dest.style.pixelLeft = getRealPos(i,"Left") + i.offsetWidth + 5
      if (itop)
        dest.style.pixelTop = itop
      else
        dest.style.pixelTop = getRealPos(i,"Top")
      dest.style.visibility = "visible"
    }
  oLastItem = dest
  }
}

function stopTimer() {
  clearTimeout(sDisplayTimer)
}

function startTimer(el) {
  if (!el.contains(event.toElement)) {
    stopTimer()
    sDisplayTimer = setTimeout("hideItem()",iDelay)
  }
}

function hideItem() {
  if (oLastItem)
    oLastItem.style.visibility="hidden"
}

function checkOver() {
  if ((oLastItem) && (oLastItem.contains(event.srcElement)))
    stopTimer()
}

function checkOut() {
  if (oLastItem==event.srcElement)
    startTimer(event.srcElement)
}

document.onmouseover = checkOver
document.onmouseout = checkOut
//-->