in reply to CGI combining javascript

hi,
Can you call your js function at the end of the document?, sense after the '</form>'.hope this will solve your issue.
-kulls