A: 

you should use, window.myTestFunction()

but this is a very strange error ie is giving you. maybe you should take a look at this

xXx
If `myTestFunction()` gives an *"Object expected"* error, then `window.myTestFunction()` will be no help here. The only situation where it would help is when a local variable overrides the global function - but this would also be true of other browsers like Firefox.
Andy E
ahh, you are right... I was thinking in the wrong direction
xXx