Have you simply tried moving the contents of this function into a none form specific code container (module).. and then simply calling it in place of the form specific version?
[Non-text portions of this message have been removed]
