Looks like there is no include for the Authnet function, you will need to add this to the top of your page:
<?php
require_once("WA_eCart/Adv_CO_Scripts/AuthNet_PHP.php");
?>
Add this in and test it again, you should see some detailed info about the request and response from the API. Please post back with what you discover.