You are reporting the paste Document.forms 0 .submit is not a function.