[jQuery] autoimage

[jQuery] autoimage


Hello
I'm using autoimage.js from (http://mjslib.org/doc/jquery/image.html)
and I'm specifically using the following code
<img id=image src="spin1.png">
$('#image').autoimage(
{
images:
[
"spin2.png",
"spin3.png",
"spin4.png",
"spin5.png",
"spin6.png",
"spin7.png",
"spin8.png",
],
speed: 30000,
fade: 10,
loop: 'cycle',
});
this works as expected in any browser except IE6, where I occasionally
get an error about document.getElementById is null or not an object.
Has anyone else seen this or know of a work around?
Thanks