I glazed over the jQuery stuff, so this might be answered, but rather than document.write a CSS definition, you can call a function to set the CSS style onLoad. Something like (but possibly different if this doesn't work):
javascript code: function setBkgdImg()
{
document.body.style.backgroundImage = '/path/image.jpg';
}
some things never change |