ah, ok protoype allora non c'è problema, anzi potresti anche fare così:

var demoTabs;
Event.observe(window, "load", function() {
//Immagini
var images = [
".................img_random/1.jpg",
".................img_random/2.jpg",
".................img_random/3.jpg",

];

new Widget.Fader("defaultDemo", images);

doPopups();
sivamtime();

})

e togli l'altro window.onload