How to call a Java Script in Vaadin 6.8??

Hi all,

I was trying to integrate the ShareThis API with Vaadin. Now, ShareThis gives a set of JavaScripts which can be added to a JSP and the thing works.
I am trying to achieve the same thing in Vaadin. But, it doesnt seem to run. How can we call java Script in Vaadin???

The code goes like this :-






How can we run this code snippet in Vaadin??? Please Help.

Thanks in Advance.