The above source should read:
newImg = new Image()
newImg.src = "image.gif"
While the code in the previous post might work now, it is not fully qualified and the default property for the Image object might change in a future version of javascript. That would cause all your code to stop working and result in many hours of debugging because you wrote it correctly but the object model changed behind your back. The best thing to do is to fully qualify your code so its easier for you to read and easier for others to read. Plus the chances of it "breaking" in the future are less.
------------------
Wayne Luke
Internet Media Provider
Bookmarks