I cannot find a document.form out there. There is a document.forms that will return an array of the forms out there.

Try document.forms[0] , assuming that that form is the first form you have,...