hi guys
I have downloaded this template and I am almost done but I ran into a problem with the contact form.
the only kind of contact form i have seen is when you do <form action="script.php">
but this template has this weird thing, I dont understand how it works. Here is a picture:

how does the script send emails when the form has no action?
I am just wondering would I break anything if I change this to:
In other words, put form action at the top, and get rid of the getelementsbyid at the bottom?
I believe there is some javascript interactions here...will my website get messed up if i do the above change? will it maybe not work in some browsers or something?
if you need more information about the template, such as the style.css, reset.css, or the javascript files, the entire template can be downloaded from here:
http://www.sendspace.com/file/agsytv