x_goose_x - Thank you!
I got it working with onload on next page.
Than I am trying to set background image right after this fadeout finished.
I got line of code
document.body.style.background="url('image.jpg')" at you script and it works here:
-------------------------------------------------------
function fadeout() {
document.body.style.backgroundColor = bgcol[c];
if (c<bgcol.length) {
c++
setTimeout("fadeout()",t);
}
else {document.body.style.background="url('image.jpg')"}
}
-------------------------------------------------------------
What I am really tried is to make background change N images so I would get some fancy affects, but i was getting errors. Is it possible to make some kind of looping with images?