Use the following Javascript code below to check if a layer (div, span, etc) is visible or hidden.

Related Posts Plugin for WordPress, Blogger...