function ShowPopup(hoveritem,pic,xoffset)
	{
  var cleft = xoffset;
  var ctop = 30;
  var obj = hoveritem;
  var href = hoveritem.href;
  
	hp = document.getElementById(pic);
		
  while (obj.offsetParent) {
    cleft += obj.offsetLeft;
    ctop += obj.offsetTop;
    obj = obj.offsetParent;
  }

	// Set popup to visible
	hp.style.left = cleft + 'px';

  ctop += hoveritem.offsetHeight + 8;
  if (document.body.currentStyle &&
    document.body.currentStyle['marginTop']) {
    	ctop += parseInt(
      document.body.currentStyle['marginTop']);
  	}
  
  hp.style.top = ctop + 'px';

	hp.style.visibility = "Visible";
	}

function HidePopup(hoveritem,pic)
	{
		hp = document.getElementById(pic);

		hp.style.visibility = "Hidden";	
	}

