Damn I hate it when that happens... You are 100% correct. and so it the code
Now. I have fixed the code above to work correctly. There were 2 things wrong with it.
1. the javascript in the unsubscribe link was incorrect. The name of the form and the document submit needs to be the same.
2. there can be only one javascript
:document.subscribeform.submit() per page otherwise your browser gets confused.
It's all good now. Just copy and paste the code again in your optout.tpl file...
See ya on the flip side,
b.