Flash Detection script

Hi,

How would I go about modifying Kirupa’s flash detection script http://www.kirupa.com/developer/mx/detection.htm so that I can have an html menu appear instead of just an image?

Thanks for any help.