First, please, when posting code (especially when posting a lot of code), use the UBB Code tags. There is a button on the page to help with this. Doing so preserves your indenting and makes the code much easier to read.
I think your form is never being submitted. Instead the the clicking of the anchor tag is triggering a GET request. Using the onclick event to call your JS function and returning 'false' from the function will probably take care of this. If you need examples, the guys in HTML/Javascript could probably give you better ones than I could.
If you want to know exactly what your browser is sending, download either Mozilla or Firefox, and install LiveHttpHeaders.
http://livehttpheaders.mozdev.org/ With it, you can watch the request and reponse headers, in real time, as they are being sent back from the browser and server.
<opinion>
It looks like you're relying on a lot of Javascript code to do things that could be done, either on the server or with straight HTML.
Example:
You're always using the POST method in your form.
Why not just hard code the attribute in the form tag instead of setting it in the JS function:
<form method="post" name="frm1"> </opinion>
The less I rely on client side code, the better I sleep at night.
[ February 24, 2005: Message edited by: Ben Souther ]