a snippet to detect whether a FlashPlayer is installed in browser.