$(document).ready(function()
{
  $("dt").each(function()
  {
    var thelink = $('<a class="permalink" href="#' + $(this).attr("id") + '">permalink</a>');
    $(this).append(thelink);
  });
});


