By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
You might need to hide a form in the opener page. You can also pass attributes with the function call. Then the function sets the values in the opener page and then submits the hidden form.
Option one is what I ended up using. It is cleaner. But it is all up to you on your process flow.
The squeaky wheel gets the grease. Well, that or replaced...