Have you ever used the compatMode JavaScript property to determine if a page is in standards-compliant or in quirks mode directly on the client?