Just for future reference, in case anyobdy searches for this later... the basic ways to access a form are:
document.forms["form_name"]["input_name"]
document.forms[form_index][input_index]
document.forms.form_name.Input_name
You can also do some weird hacks, but that covers the rudiments.