User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
thanks for your help. I just retested my code and even though it didn't
work, I found the reason it wasn't working was because I had an unneeded
space between the "if" and the rest of the if statement.