rem: if (typeof(text) != "undefined" && text != "") 
add: if ((typeof(text) != "undefined" && text != "") || (typeof(top) == "undefined")) 
context: function tt_paint(top, left, text, title){  var tool_box = document.getElementById("ToolBox");  if (tool_box.filters) tool_box.filters[0].Apply();  if (typeof(title) != "undefined" && title != "")  {	document.getElementById("ToolBoxTitle").style.textAlign = this.title_align;	document.getElementById("ToolBoxTitle").style.font = this.title_font;	document.getElementById("ToolBoxTitle").style.background = this.title_bg;	document.getElementById("ToolBoxTitle").style.color = this.title_color;	document.getElementById("ToolBoxTitle").style.padding = "2px";	if (typeof(title) != "undefined") document.getElementById("ToolBoxTitle").innerHTML = unescape(title);  }  else  {	document.getElementById("ToolBoxTitle").style.background = this.normal_bg;	document.getElementById("ToolBoxTitle").style.padding = "0px";	document.getElementById("ToolBoxTitle").innerHTML = "";  }  if (typeof(text) != "undefined" && text != "")  {	document.getElementById("ToolBoxContent").innerHTML = unescape(text);	document.getElementById("ToolBoxContent").style.padding = "2px";	document.getElementById("ToolBoxContent").style.background = this.normal_bg;  }  else  {	document.getElementById("ToolBoxContent").innerHTML = "";	document.getElementById("ToolBoxContent").style.padding = "0px";	document.getElementById("ToolBoxContent").style.background = this.title_bg;  }  if ((typeof(top) != "undefined") && (typeof(left) != "undefined"))  {	var win_width = (window.innerWidth)?window.innerWidth:document.body.offsetWidth;	var win_height = (window.innerHeight)?window.innerHeight:document.body.offsetHeight;	if (tool_box.offsetHeight + top > win_height) top -= (tool_box.offsetHeight + top) - win_height;	if (tool_box.offsetWidth + left > win_width) left -= (tool_box.offsetWidth + left) - win_width;	tool_box.style.top 		= top + "px";	tool_box.style.left		= left + "px";  }  tool_box.bgColor 		= this.background;  tool_box.style.font 		= this.normal_font;  tool_box.style.color 		= this.color;  tool_box.style.border 	= this.border;  tool_box.style.background 	= this.normal_bg;  tool_box.style.visibility 	= "visible";  if (tool_box.filters) tool_box.filters[0].Play();}//end tt_paint()
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/0fd1df2e26d27fd58614e3e200dcdef79305b7c7/tooltip.js/clean/core/lib/js/tooltip.js