Can anyone help me obtain this code? I can't find it anywhere. Someone stated there is a simple Javascript for this. HELP!!!!!!!!!!!!!!

This is what I want it to say on my site:

Portions of my site require the Macromedia Flash plugin. We were unable to detect the plugin {{NEED THE DETECTION CODE FOR THIS}} or your ability to view the site. You will need to install the plugin in order to view some content of this site.

INSTALL PLUGIN {{I NEED THE REDIRECTION CODE}}