  function ShowMenu(bMenu) 
  {
	document.all.idFinder.style.display = (bMenu) ? "none" : "block" 
	document.all.idMenu.style.display = (bMenu) ? "block" : "none"
	idML.className = (bMenu) ? "cOn" : "cOff"
	idRL.className = (bMenu) ? "cOff" : "cOn"
	return false
  }

  var iDelay = 750 // Delay to hide in milliseconds
  var iNSWidth=130 // Default width for netscape
  var sDisplayTimer = null, oLastItem

  function getRealPos(i,which) 
  {
	iPos = 0
	while (i!=null) {
	 	iPos += i["offset" + which]
		i = i.offsetParent
	}
	iPos= iPos+19
	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
				{
				if ((navigator.appName=="Netscape")) 
					dest.style.pixelLeft = getRealPos(i,"Left") + i.offsetWidth - 150
				else
					dest.style.pixelLeft = getRealPos(i,"Left") + i.offsetWidth - 101
				}
			if (itop)
				dest.style.pixelTop = itop
			else
			   	dest.style.pixelTop = getRealPos(i,"Top")
			if( sDest.substr( 0, 2) == "B2")
				dest.style.pixelTop= dest.style.pixelTop - 87;
			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
