function Showtooltip (elt,txt) {

	var btn = document.getElementById(elt);
	var header = document.getElementById("header");

	var divAll = document.createElement('DIV');
	var divG = document.createElement('DIV');
	var divCtn = document.createElement('DIV');
	var divD = document.createElement('DIV');
	
	divAll.className = "tooltip";
	divG.className = "tooltip-g";
	divCtn.className = "tooltip-ctn";
	divD.className = "tooltip-d";

	divAll.style.width = txt.length*7+3+"px";

	header.appendChild(divAll);	
	divAll.appendChild(divG);
	divAll.appendChild(divCtn);
	divAll.appendChild(divD);

	divCtn.innerHTML = txt;
	
	divAll.style.top = btn.parentNode.offsetTop-divAll.offsetHeight-8+"px";
	divAll.style.left = btn.parentNode.offsetLeft-divAll.offsetWidth+23+"px";
	

	btn.onmouseout = function () {
		Hidetooltip (divAll);
	}

}

function Hidetooltip (elt) {
	elt.parentNode.removeChild(elt);
}
