function tableDataAbbrToSummary()
{
  if (!document.getElementsByTagName) return false;
  if (!document.createElement) return false;
  var tableData = document.getElementsByTagName('td');
  for (var i = 0; i < tableData.length; i++)
  {
    if (tableData[i].getAttribute("abbr"))
    {
      var abbr = tableData[i].getAttribute("abbr");
      var popup = tableData[i].innerHTML;
      tableData[i].removeAttribute("abbr");
      addClass(tableData[i], "popupHelp");
      tableData[i].innerHTML = abbr;
      var wrapperDiv = document.createElement("div");
      addClass(wrapperDiv, "tablePopup");
      var popupDiv = document.createElement("div");
      popupDiv.innerHTML = popup;
      wrapperDiv.appendChild(popupDiv);
      tableData[i].appendChild(wrapperDiv);
      tableData[i].onmouseover = function()
        {
          var popup = this.lastChild;
          popup.setAttribute("id", "activePopup");
        }
      tableData[i].onmouseout = function()
        {
          var popup = this.lastChild;
          popup.removeAttribute("id");
        }
    }
  }
}

addLoadEvent(tableDataAbbrToSummary);
