Hi. You know? I was just going to fix your code, and i saw you're making reference (a lot) to some form elements, but you're not including such a form.
In order to help you, please publish the complete code, including all elements, or it will be imposible to help you without deleting those references.
Also, please explain better what is exactly what you need the script to do, besides changing the image on mouse out and over.