How can I check the version of IE from a login script? I want to upgrade IE 4 to IE 6 but I want to patch any copies of IE 5.x before upgrading.