> Lets say a friend sends me some really useful javascript code in
> useful.js. I want to call some of this code in my own code in
> myproject.js, making source in this file depenent on useful.js. Do I
> need to have <script ..> tags for both files
You better have two `script' _elements_ for both _resources_.
> or can I add something to myproject.js which will manage this
> dependency for me?
There are dirty DOM hacks but as dirty hacks go they are unreliable.
PointedEars

Signature
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16