var tooltipYahoo = {
	YahooToolTip:"",
	divId:"",
	textValue:"",
	constructor:function(divId, text){
		this.divId = divId;
		this.textValue = text;
		this.render();
	},
	render:function(){
		if(document.getElementById("titre") != undefined) this.removeElement("titre");
		var titre = document.createElement("div");
		titre.id = "titre";
		titre.style.position = "absolute";
		titre.style.background = "#EDEDED";
		document.body.appendChild(titre);
		this.YahooToolTip = new YAHOO.widget.Tooltip("titre", 
							{context:this.divId,
							text:this.textValue
							}
							);
	},
	removeElement:function(id){
		element = document.getElementById(id);
		element.parentNode.removeChild(element);
	}
}