function Tooltip( HTMLElement){
	var _this = this;
	this.HTMLElement = HTMLElement;
	this.HTMLElement.onmouseover = function(){ 
		_this.holder.style.display = "block";
		document.body.onmousemove = function( event){
			e = event || window.event;
			_this.holder.style.top 		= document.body.scrollTop + e.clientY - 15 - _this.holder.offsetHeight;
			_this.holder.style.left 	= document.body.scrollLeft + e.clientX - 10;
		}
	}
	this.HTMLElement.onmouseout = function(){ 
		_this.holder.style.display	= "none";
		document.body.onmousemove = null;
	}
	this.construct();
}


Tooltip.prototype.construct = function(){
	this.holder = document.createElement( "DIV");
	this.holder.setAttribute("nowrap", "true");
	this.holder.className = "tooltip";
	//this.holder.appendChild( document.createTextNode( this.HTMLElement.getAttribute("desc")));
	this.holder.innerHTML = this.HTMLElement.getAttribute("desc");
	document.body.appendChild( this.holder);
}