(function() {
  function ellipsis(e) {
	d = e.parentNode;
	t = e.innerHTML;
	while(t.length > 0 && (d.offsetHeight < e.offsetHeight)) {
		t = t.substr(0, t.length - 1);
	    e.innerHTML = t + "&hellip;";
	}
  }
  Event.observe(window, "load", function() {
    $$('.ellipsis').each(ellipsis);
  });
})();
// JavaScript Document
