Can be redefined to match specifics of your page/application.
Default funtionality:
HATester.prototype.root=function()
{
return $("body");
};
Re-definition example:
hat.root=function() {
if (!pager) return $("body");
if (!pager.objects.length) return $("body");
pager.get_html(pager.objects.length-1).parent();
};