javascript img visible

var checkForVisible = img.style.visibility == "visible";
Weary Weevil