Flash Lite for mobile devices

Greetings,

I have been playing with flash lite in studio 8. I have made some good interactivity that works on a flash enabled phone. If somebody tries to access my swf online without a flash enabled phone what is the best script or detection method to divert them to a wml or xhtml file???

A gazillion thanks…

Josh