@FangJul 08.2007 — #Remove the height/width attributes from the image.
Check if loaded:if(document.getElementById(imgID).height){//it's loaded} //or if(document.getElementById(imgID).complete){//it's loaded, but doesn't work in all browsers} If the user has images disabled, the you could get a false positive.