part of includes/notary.inc.php and index