This maybe a simple question, but I've never had to do it before.

How do I automatically submit a form, preferably with JavaScript?

I have a form with an action attribute to where to send data, some hidden fields and some radio buttons with default values, a submit button at the bottom, and a javascript timer that starts on the body onLoad event. The trick is that when the timer runs out, I want the form automatically submitted.