function ShowInfo(popupInfo,e,position) {
	var x = 0;
  var y = 0;

  if (!e) {
  	if(window.event) {
    	//Internet Explorer
      e = window.event;
    }
  }
  if (typeof(e.pageX)=="number") {
    x = e.pageX;
    y = e.pageY;
  } else if (typeof(e.clientX)=="number") {
  	x = e.clientX;
    y = e.clientY;

    var badOldBrowser = ( window.navigator.userAgent.indexOf( 'Opera' ) + 1 ) ||
                        ( window.ScriptEngine && ScriptEngine().indexOf( 'InScript' ) + 1 ) ||
                        ( navigator.vendor == 'KDE' )
    if( !badOldBrowser ) {
      if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
        //IE 4, 5 & 6 (in non-standards compliant mode)
        x += document.body.scrollLeft;
        y += document.body.scrollTop;
      } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
        //IE 6 (in standards compliant mode)
        x += document.documentElement.scrollLeft;
        y += document.documentElement.scrollTop;
      }
    }
  }

  if(position=="left") {
    popupInfo.style.display="block";
    popupInfo.style.left = x - 210;
    popupInfo.style.top = y - 60;
  }  else if(position=="right") {
    popupInfo.style.display="block";
    popupInfo.style.left = x + 10;
    popupInfo.style.top = y - 60;
  } else if(position=="over") {
    popupInfo.style.display="block";
    popupInfo.style.left = x - 160;
    popupInfo.style.top = y - 170;
  }  else if(position=="under") {
    popupInfo.style.display="block";
    popupInfo.style.left = x - 180;
    popupInfo.style.top = y + 25;
  } else {
    popupInfo.style.display="block";
    popupInfo.style.left = x - 180;
    popupInfo.style.top = y - 180;
  }
}

function HideInfo(popupInfo,e){
  popupInfo.style.display="none";
}
