also, in addition to Dan's advice:
with this:
validateForm(initiateForm)
you are passing some js variable named initiateForm to your
validateForm() function, when i believe you want to pass the
name/id of
the form - if so enclose the form name in ' (single quotes).
better yet, pass the form object to your function:
validateForm(this.form)
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/