>
>InvokeScript() is not a method of the WebBrowser.Document object.
Not? Oh..I'm using the visual 2005 c# edition and there it is, so sorry i was not aware that you are using another version.
A fast search with google give results that it is possible to run java script with the webbrowser, can you do this? :
WebBrowser.Document.parentWindow.execSript("functionName(param1,param2...)")
If not I would do a search on google, because I think the solution lies in executing the script....and it is possible.
HTH