error message

error message

I keep getting the error "table null" when i try to enter data in my form and it trys to send a email confirmation. It sais it is in my on success script but I cant find anything wrong there. Please help.
sary
sjohnson