I am trying to run a javascript function within a .tpl smarty template file, the template file in question references other javascript functions and they seem to run OK.
A quick grep suggests that the other javascript functions are defined in a file called jslibrary.js, so I've defined mine there as well as putting it within < script > tags within the body of the .tpl file
Firefox's firebug tells me that the function is not defined, but it if I inspect script files it shows jslibrary.js with my function defined there.
Anyone got any helpful suggestions ?
Blu