Detection

has anyone got a flash detedction script so if you have flash it will goto say www.kirupa.com but if you aint got the plugin you goto www.macromedia.com ???