sorry Ray, still not getting it.
I found the alerts in the function and removed them.
If I replace the [0] with [1] in the infowindowtext, the submit button doesn't do anything.
I'll admit my javascript knowledge is fairly basic, if I knew what I was trying to do I might get somewhere.
I updated the site, but left the [0] intact for now
Thanks for your help