Thank you. The return false is there because that is what I thought was needed to avoid a possible true value from the eval which I understood would terminate the hook. I do most of this monkey style without really understanding it.
It turns out the consultant provides a cookie cleanup in the authentication server and it needs code like this which I have associated with a button in the header template.
Code:
<a href="http://net.nawcc.org/iParts/Custom/Logout.aspx?ReturnURL=http://mb.nawcc.org/xplr/login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">
Since I don't anticipate this ever being a product I am not worried about the lack of portability, but I would like it to work. The above does not work completely and gives an error from the vBulletin logout on the return.
I was hoping that the vB variables were expanded in that url, but maybe they are not.
I appreciate any suggestions for proper formation of the above. I want it to go to the server and clear the foreign cookies and return with the job of logging off locally.