JavaScript img visível
var checkForVisible = img.style.visibility == "visible";
Weary Weevil
var checkForVisible = img.style.visibility == "visible";