Use jQuery to detect outdated browser and alert user

Use jQuery to detect outdated browser and alert user

Hi all!  Does anyone know of a relatively simple way to use jQuery to detect what browser/user agent a website visitor is using and notify them that what they are using is outdated/unsupported? 

I did find this, http://www.devslide.com/labs/browser-detection.  The problem is that the popup/alert window that appears if you view the page in say, IE6, is so stretched out and distorted that the user might have trouble actually seeing what they are being warned about and I didn't want to take the time to go through and fix their CSS.

Any ideas or suggestions would be greatly appreciated!

Thanks in advance!