Place the following code where you would like the JavaScript button to appear:
Edit the JavaScript code according to your needs.
<input type="button"
value="Open
Window"
onclick="window.open('http://www.domain.com')">
Edit the JavaScript code according to your needs.