I have a JS function that may occasionally get used on some pages. It is dependent on another JS file (swfObject.js), but I\'d like to avoid having to include this file all
If you're using a higher level framework such as JQuery, you could check out the $.getScript(url, callback) function.
$.getScript(url, callback)