How would I go about creating a script that checked if a div was set to any other value than display:none. I have an image over an accordion, but when I click on an accordion element I want to hide the image over the top.So say my content was in the form of a class called "accord_content" and my image that is displayed was "image_over". Could i create a script that checked to see if accord_content was shown and if so to hide "image_over"?\[code\]if ('.accord_content.display !== 'none') { image_over.display = 'none') }\[/code\]Just a quick try, not to good at javascript so confused at how to complete thisThanks