}elseif(userAgent.indexOf("Microsoft ")>=0// to catch "Microsoft Outlook", "Microsoft Office", "Microsoft Exchange" which are all user agents used by outlook.com
||userAgent.equals("Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)")){// <- this is the user agent of Outlook live
||userAgent.equals("Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)")){// <- this is the user agent of Outlook live