function ellipsis() {
var len = 100;
var ellipsisVar = document.getElementbyClass('SolutionFinderResultsDescription');
if (ellipsisVar) {

  var trunc = ellipsisVar.innerHTML;
  if (trunc.length > len) {

    /* Truncate the content of the P, then go back to the end of the
       previous word to ensure that we don't truncate in the middle of
       a word */
    trunc = trunc.substring(0, len);
    trunc = trunc.replace(/\w+$/, '');

    /* Add an ellipses to the end and make it a link that expands
       the paragraph back to its original size */
    trunc += '<a href="#" ' +
      'onclick="this.parentNode.innerHTML=' +
      'unescape(\''+escape(ellipsisVar.innerHTML)+'\');return false;">' +
      '...<\/a>';
    ellipsisVar.innerHTML = trunc;
  }
}
  };