Мда точно такова търся...
Първо да се адват така
var txt1 = "This is the text of the first tooltip";
И после да се извеждат
<a href="a.htm" onmouseover="Tip(txt1)">Link 1</a>
Обаче еи това за какво служи
function TooltipTxt
{
return "This is the text of the " + n + " tooltip";
}