How to add a script to the application
To add a user-defined script that you want to be available from any point in your application:
If you prefer, you can also declare application-level scripts by adding an extra <script> tag in the HTML header of the initial document:
1. Copy the "application.html" file from your Publication Directory to the "WebSite" subfolder of the Alternative Template Directory.
2. In the copy, add a <script> tag identifying the location of the user-defined script(s).
Adding a <script> tag in the HTML is perhaps more maintainable if, for some reason, you use different start pages for different publications based on the same repository. It does, however, have a drawback. It could require work at a future time when you upgrade to a different USoft version, since any changes that USoft might make to "application.html" will not automatically come through.