hosefo81,
In addition to what Greg said:
I am not sure if your script is a direct quote, but if it is, you forgot to close the name attribute quotes...
Code:
<form name="myform">
I don't know if this is simply a typo from when you posted the message, but if not, this should help you a great deal.
Snib