/*TOOLTIP*/
wmtt = null;
ct = null;
preID = null;
document.onmousemove = updateWMTT;

function updateWMTT(e) {
x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;

if (wmtt != null) {
wmtt.style.left = (x - 20) + "px";
wmtt.style.top = (y - 150) + "px";
}
}

function showWMTT(id) {
wmtt = document.getElementById(id);
wmtt.style.display = "block"
}

function hideWMTT() {
wmtt.style.display = "none";
}

// Clicktip

function showCT(id) {
	if (preID != null) {
		preID.style.display = "none";
		if(document.getElementById("ecdl0")) {document.getElementById("ecdl0").style.display = "none";}
		ct = document.getElementById(id);
		ct.style.display = "block";
		preID = ct;
	}
	else
		{
			ct = document.getElementById(id);
			if(document.getElementById("ecdl0")) {document.getElementById("ecdl0").style.display = "none";}
			ct.style.display = "block";
			preID = ct;
		}
}

