I believe you're allowed to customise the form code as much as you like. At least I hope so because I did a total job on our
Te Awamutu site, incorporating the Google search into a Flash movie. It has nothing in common with the original code suggested by Google except the hidden field values.