var BubbleVisible = false;
function showBubble(){
  if(!BubbleVisible)
  {
    if(document.all)e = event;
    var obj = document.getElementById('mmBubble');
	  obj.style.display = 'block';
	      
    var obj2 = document.getElementById('mmBubbleButton');
	  obj.style.left = (getPosX(obj2) - 33) + 'px';
	  obj.style.top = (getPosY(obj2) - 33) + 'px';
    BubbleVisible = true;
  }
}	
function hideBubble()
{
  BubbleVisible = false;
  document.getElementById('mmBubble').style.display = 'none';
}
function getPosX(theObj){
  x = 0;
  while(theObj){
    x += theObj.offsetLeft;
    theObj = theObj.offsetParent;
  }
  return x;
}
function getPosY(theObj){
  y = 0;
  while(theObj){
    y += theObj.offsetTop;
    theObj = theObj.offsetParent;
  }
  return y;
}

