$('h2.entity').click ( function(){APIDoc($(this).attr('id'))} );
entity=window.location.hash;
if (entity.substring(0, 1) === '#') {
$('h2.entity').click ( function(){APIDoc($(this).attr('id'))} );
entity=window.location.hash;
if (entity.substring(0, 1) === '#') {