Possible Duplicates:
Include javascript file inside javascript file?
How do you dynamically load a javascript file? (Think C's #include)
Is there a way to include a JavaScript file from a .js file? You know: like how I link .css files at the top of a .css file.
xxx.js contains:
Some sort of @import yyy.js
followed by other js commands.