I have a small PHP script, about 116 lines, that is used by a mail form. It worked fine on one domain. So I copied it to another domain. The script sends out the email but I get an error "object expected" in IE7. No error occurs on firefox or IE6. The error occurs on two machines, so it is not machine specific. The challenge is to eliminate the error!