Detect IE Browsers 6-10

Everyone hate IE. Thanks for making our lives hell and halting progress Microsoft.

Here is a simple bit of code which will help to detect an IE browser.