function openClose(obj){
  $(obj).parent().next().slideToggle();
  var t=$(obj).attr("title");
  if (t.match("Show")){
    $(obj).attr("title",t.replace("Show","Hide"))
  }else{
    $(obj).attr("title",t.replace("Hide","Show"))
  }
  return false
}

$(document).ready(function(){
  $("dt")
    .each(function(){
      $(this)
        .wrapInner('<a onclick="openClose($(this));return false" title="Show answer" href="#"></a>')
    });
});
