<!--

// 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 = 0 // 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
}

var a11 = '0';
var a22 = '0';
var a33 = '0';
var a44 = '0';
function showDetails(sDest,itop,ileft,iWidth,iflag,iflag1,param1) {
  if (document.all!=null) {
    var aaa = eval('menu1')
    var i = aaa
    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 (iflag!=1)
		{
			if (sDest == 'popup1') {
			aPos=102; 
			}

			if (sDest == 'popup2') {
			aPos=102; 
			}

			if (sDest == 'popup3') {
			aPos=-70; 
			}

			if (sDest == 'popup4') {
			aPos=-170; 
			}
			
	        
			dest.style.pixelLeft = getRealPos(i,"Left") + i.offsetWidth - aPos
			var myid=document.getElementById(param1)
			myid.style.backgroundColor = '#9CAEDE';
		}	
		else	
		  	if (iflag1!=1)
		        dest.style.pixelLeft = getRealPos(i,"Left")
			else
		        dest.style.pixelLeft = getRealPos(i,"Left")
      if (itop)
        dest.style.pixelTop = itop
      else
        dest.style.pixelTop = 221
      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
//-->
