what i'm saying is this is not possible:
FIG.1
<html>
<head>
<script src="abc.js"></script>
</head>
</html>
where "abc.js" is (pseudocode):
// begin file
magicallyInclude(a.js);
magicallyInclude(b.js);
magicallyInclude(c.js);
callFunctionInAdotjs();
callFunctionInBdotjs();
callFunctionInCdotjs();
// end file
the idea being that you could write one html script tag that would include ALL of your .js includes. this is not possible.
THIS is possible:
FIG.2
<html>
<head>
<script src="a.js"></script>
<script src="b.js"></script>
<script src="c.js"></script>
<script>
callFunctionInAdotjs();
callFunctionInBdotjs();
callFunctionInBdotjs();
</script>
</head>
</html>
if i understand your intent correctly, you wish to simply include one file "4.js" and have 4.js pull in the google .js file as well. this cannot be done in real-time - i.e. you CAN do it via document.write, but your data in the "included" file will not be available until that file loads after the page onload event.
e.g.:
FIG.3
// begin 4.js
document.write('<scr'+'ipt type="text/javascript" src="
// ...the rest of 4.js follows...
// end 4.js
while it is perfectly legal syntax to do something like in FIG.3 above, the caveat is that everything within
is UNAVAILABLE until after the page loads, and beyond that after googlesyndication's servers decide to serve it up.
so, it is possible with strings attached. perhaps this will work for you.
=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }