Have a look at the list of plugin hooks
http://documentation.coppermine-gallery.net/en/dev_plugin_hooks.htm
eg. you can use page_start to add your .js to the list of added files
Depending on what you want to achive use eg. the hooks file_data, page_htm...
http://documentation.coppermine-gallery.net/en/dev_plugin_hooks.htm
eg. you can use page_start to add your .js to the list of added files
Depending on what you want to achive use eg. the hooks file_data, page_htm...