// JavaScript Document
var to;
var curTT = "";

function showToolTip(e, id){
  clearTimeout(to);
  if (curTT == id)
	return;
  else
    hideTT();	
  
  var tt = document.getElementById("tooltip" + id);
	tt.style.visibility = "hidden"
  if (document.all){
    tt.style.left = window.event.x;
    tt.style.top = window.event.y;
		  tt.style.filter = "BlendTrans(duration=0.35); Alpha( Opacity=100, FinishOpacity=0, Style=0)";
		  tt.filters.BlendTrans.Apply();
		  tt.style.visibility = "visible";
		  tt.filters.BlendTrans.Play();
  }
  else {
		tt.style.visibility = 'visible';
    tt.style.left = e.pageX + 'px';
		tt.style.top = e.pageY + 'px';
  }
  curTT = id;
}

function hideToolTip(){
	to = setTimeout("hideTT();", 100);
}

function keepToolTip(){
	clearTimeout(to);

}
function hideTT(){
  if (curTT == "")
    return;
  var tt = document.getElementById("tooltip" + curTT);
  tt.style.left = '-1000px';
  tt.style.top = '-1000px';
  curTT = "";
}

//