Here is my HTML (it is parsed by Smarty)

Here is my JS file (externaljs.js):

here is my other JS file (notice.js):

The display functions (declared in externaljs.js) don't work in Safari, nor does the noticebox/loginbox (the noticebox is in notice.js, and the loginbox is in externaljs.js) The noticebox and loginbox are essentially the same...

Anyone have any ideas why this isn't working in Safari?