<font class="small">Code:</font><hr /><pre>
var Page = Sys.Process("iexplore").Window("IEFrame", "*", 1).Window("Shell DocObject View", "", 1).Window("Internet Explorer_Server", "", 1).Page("*");
if (Options.Web.TreeModel == "DOM")
// If you use the DOM model...
Page.document.Script.MyFunc("String parameter", 1234);
// If you use the Tag model...
Page.Browser.Document.Script.MyFunc("String parameter", 1234);
Please see the "Calling Scripts Located on a Web Page From TestComplete Scripts" help topic for more information.
Thanks, that was exactly what I was looking for. And I'm sorry for the slow feedback I've been having a little holiday :-)