I'm using Flash on a webpage. But iPad and iPhone devices can not display Flash and shows blank area. How can I detect if a device visiting my page has Flash or not? If it supports Flash, I want to display Flash. If not, I want to display a static image.