Execute Javascript Function from external Html page


I wanna do something like this.

I have an embedded Element with an External Resource:

Embedded embedded;
embedded.setSource(new ExternalResource("http://www.page.com/testpage.html"));

In this testpage.html there is a Javascript function called “testfunction()”. Is it possible to execute this function from Vaadin?

I’m Using Vaadin 6.7.6