// JavaScript Document
function showcaption(welche){
	document.getElementById(welche).style.visibility = "visible";
}
function hidecaption(welche){
	document.getElementById(welche).style.visibility = "hidden";
}

n4mTT = null;
document.onmousemove = updateN4Mtt;
function updateN4Mtt(e) {
  if(document.all){
    x = document.documentElement.scrollLeft + window.event.clientX;
    y = document.documentElement.scrollTop + window.event.clientY;
    sb = parseInt(document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth);
    sh = parseInt(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight);
  }else{
    x = e.pageX;
    y = e.pageY;
    sb = parseInt(window.innerWidth);
    sh = parseInt(window.innerHeight);
  }
	if (n4mTT != null) {
    eb = n4mTT.offsetWidth;
    eh = n4mTT.offsetHeight;
		n4mTT.style.left = (x+eb > sb) ? (x - eb - 20) + "px" : (x + 20) + "px";
		n4mTT.style.top = (y+eh > sh) ? (y - eh - 20) + "px" : (y + 20) + "px";
	}
}
function TagToTip(id) {
	n4mTT = document.getElementById(id);
	fireTT = setTimeout("n4mTT.style.display = 'block'",1500);
}
function TagToTipLT(id) {
	n4mTTLT = document.getElementById(id);
	fireTTLT = setTimeout("n4mTTLT.style.display = 'block'",1500);
}
function UnTip() {
  clearTimeout(fireTT);
	n4mTT.style.display = "none";
}
function UnTipLT() {
  clearTimeout(fireTTLT);
	n4mTTLT.style.display = "none";
}