3
In case you want to load a script inside the theme, like showing flash in the header, you could use the module
Defacer. With Defacer you can use different themes for modules and or pages. You can make a copy of your theme and add the script to this new theme, using defacer you can tell xoops to use this copied theme only on the top page.