hi again
it's just a example, but it does what u want 2 do (at least it includes dfrnt js files randomly)
it is advised 2 place scripts into head section, then it wuld include file just in the process of page generation;
'coz if u wuld make a function with such code & call it whenever after page have been generated - document.write wuld overwrite the hole page, & ur document wuld be gone..
regards, vic