edited so it also works in newer IE to solve object z-index issue

edited so it also works in newer IE as the iframe trick solves the object overlay
z-index issue, iframes are also included because you can't succesfully probe their 
content to test for objects (cross domain issue) think embedded youtube video (iframe 
with an object inside)... take it or leave it, useful for my purposes tested ie7-9 -ck