You can put this javascript in the header section of public_common.pl and you will not have to touch the styles which could be a problem if you were to forget to add that when creating a new style.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.