Has anyone out there already written a function module to detect a mobile device and the type of mobile device? I am planning on making my site mobile aware so that it can make the best use of the screen resolution and orientation. Has anyone already written such code? Thanks, Loren