Didn't we cover this in your previous post?
In reply to Re: (OT) how to call cgi script from javascript? by marto in thread (OT) how to call cgi script from javascript? by aurora26